patch-2.3.35 linux/include/asm-sparc/openpromio.h
Next file: linux/include/asm-sparc/pbm.h
Previous file: linux/include/asm-sparc/mmu_context.h
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon Dec 20 22:05:52 1999
- Orig file:
v2.3.34/linux/include/asm-sparc/openpromio.h
- Orig date:
Sat Nov 9 11:55:01 1996
diff -u --recursive --new-file v2.3.34/linux/include/asm-sparc/openpromio.h linux/include/asm-sparc/openpromio.h
@@ -29,6 +29,10 @@
#define OPROMGETCONS 0x20004F0A
#define OPROMGETFBNAME 0x20004F0B
#define OPROMGETBOOTARGS 0x20004F0C
+/* Linux extensions */ /* Arguments in oprom_array: */
+#define OPROMSETCUR 0x20004FF0 /* int node - Sets current node */
+#define OPROMPCI2NODE 0x20004FF1 /* int pci_bus, pci_devfn - Sets current node to PCI device's node */
+#define OPROMPATH2NODE 0x20004FF2 /* char path[] - Set current node from fully qualified PROM path */
/*
* Return values from OPROMGETCONS:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)