patch-2.2.15 linux/include/asm-alpha/pci.h
Next file: linux/include/asm-alpha/pgtable.h
Previous file: linux/include/asm-alpha/hwrpb.h
Back to the patch index
Back to the overall index
-  Lines: 28
-  Date:
Fri Apr 21 12:46:47 2000
-  Orig file: 
v2.2.14/include/asm-alpha/pci.h
-  Orig date: 
Thu Jan  7 17:25:02 1999
diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/include/asm-alpha/pci.h linux/include/asm-alpha/pci.h
@@ -15,10 +15,11 @@
 struct linux_hose_info {
         struct pci_bus                  pci_bus;
 	struct linux_hose_info         *next;
-	unsigned long                   pci_io_space;
-	unsigned long                   pci_mem_space;
+	unsigned long                   pci_sparse_io_space;
+	unsigned long                   pci_sparse_mem_space;
+	unsigned long                   pci_dense_io_space;
+	unsigned long                   pci_dense_mem_space;
 	unsigned long                   pci_config_space;
-	unsigned long                   pci_sparse_space;
         unsigned int                    pci_first_busno;
         unsigned int                    pci_last_busno;
 	unsigned int                    pci_hose_index;
@@ -44,5 +45,12 @@
 #define DEV_IS_ON_PRIMARY(dev)  ((dev)->bus->number == 0)
 
 #endif /* Multiple busses */
+
+/* Values for the `which' argument to sys_pciconfig_iobase.  */
+#define IOBASE_HOSE             0
+#define IOBASE_SPARSE_MEM       1
+#define IOBASE_DENSE_MEM        2
+#define IOBASE_SPARSE_IO        3
+#define IOBASE_DENSE_IO         4
 
 #endif /* __ALPHA_PCI_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)