David S. Miller | e77227e | 2006-02-13 20:42:16 -0800 | [diff] [blame] | 1 | /* 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. Miller | 6760d28 | 2006-06-21 22:56:20 -0700 | [diff] [blame] | 10 | #include <asm/prom.h> |
David S. Miller | e77227e | 2006-02-13 20:42:16 -0800 | [diff] [blame] | 11 | |
| 12 | extern u32 sun4v_vdev_devhandle; |
David S. Miller | 6760d28 | 2006-06-21 22:56:20 -0700 | [diff] [blame] | 13 | extern struct device_node *sun4v_vdev_root; |
David S. Miller | 9d29a3f | 2006-02-15 19:48:54 -0800 | [diff] [blame] | 14 | |
David S. Miller | 6760d28 | 2006-06-21 22:56:20 -0700 | [diff] [blame] | 15 | extern unsigned int sun4v_vdev_device_interrupt(struct device_node *dev_node); |
David S. Miller | e77227e | 2006-02-13 20:42:16 -0800 | [diff] [blame] | 16 | |
| 17 | #endif /* !(_SPARC64_VDEV_H) */ |