blob: 25637c57675d1ebbf62001060a1b27e122dab593 [file] [log] [blame]
David S. Millere77227e2006-02-13 20:42:16 -08001/* vdev.h: SUN4V virtual device interfaces and defines.
2 *
3 * Copyright (C) 2006 David S. Miller <davem@davemloft.net>
4 */
5
6#ifndef _SPARC64_VDEV_H
7#define _SPARC64_VDEV_H
8
9#include <linux/types.h>
David S. Miller6760d282006-06-21 22:56:20 -070010#include <asm/prom.h>
David S. Millere77227e2006-02-13 20:42:16 -080011
12extern u32 sun4v_vdev_devhandle;
David S. Miller6760d282006-06-21 22:56:20 -070013extern struct device_node *sun4v_vdev_root;
David S. Miller9d29a3f2006-02-15 19:48:54 -080014
David S. Miller6760d282006-06-21 22:56:20 -070015extern unsigned int sun4v_vdev_device_interrupt(struct device_node *dev_node);
David S. Millere77227e2006-02-13 20:42:16 -080016
17#endif /* !(_SPARC64_VDEV_H) */