summaryrefslogtreecommitdiffstats
path: root/include/asm-sparc64
diff options
context:
space:
mode:
authorDavid S. Miller2006-02-14 05:42:16 +0100
committerDavid S. Miller2006-03-20 10:12:44 +0100
commite77227eb4e17591a6a511b9c0ff6e8ad7350c575 (patch)
treebe8b7f13fd2ff0543879286b04045f6c3587dda3 /include/asm-sparc64
parent[SPARC64]: Kill spurious semicolon in sun4v_pci_init(). (diff)
downloadkernel-qcow2-linux-e77227eb4e17591a6a511b9c0ff6e8ad7350c575.tar.gz
kernel-qcow2-linux-e77227eb4e17591a6a511b9c0ff6e8ad7350c575.tar.xz
kernel-qcow2-linux-e77227eb4e17591a6a511b9c0ff6e8ad7350c575.zip
[SPARC64]: Probe virtual-devices root node on sun4v.
This is where we learn how to get the interrupts for things like the hypervisor console device. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc64')
-rw-r--r--include/asm-sparc64/vdev.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/asm-sparc64/vdev.h b/include/asm-sparc64/vdev.h
new file mode 100644
index 000000000000..ebaac41a6e1a
--- /dev/null
+++ b/include/asm-sparc64/vdev.h
@@ -0,0 +1,18 @@
+/* vdev.h: SUN4V virtual device interfaces and defines.
+ *
+ * Copyright (C) 2006 David S. Miller <davem@davemloft.net>
+ */
+
+#ifndef _SPARC64_VDEV_H
+#define _SPARC64_VDEV_H
+
+#include <linux/types.h>
+#include <asm/oplib.h>
+
+extern u32 sun4v_vdev_devhandle;
+extern int sun4v_vdev_root;
+extern struct linux_prom_pci_intmap *sun4v_vdev_intmap;
+extern int sun4v_vdev_num_intmap;
+extern struct linux_prom_pci_intmap sun4v_vdev_intmask;
+
+#endif /* !(_SPARC64_VDEV_H) */