patch-2.4.21 linux-2.4.21/include/asm-ia64/sn/pci/pci_bus_cvlink.h

Next file: linux-2.4.21/include/asm-ia64/sn/pci/pci_defs.h
Previous file: linux-2.4.21/include/asm-ia64/sn/pci/bridge.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/include/asm-ia64/sn/pci/pci_bus_cvlink.h linux-2.4.21/include/asm-ia64/sn/pci/pci_bus_cvlink.h
@@ -41,6 +41,8 @@
 #define IS_PCI32G(dev)	((dev)->dma_mask >= 0xffffffff)
 #define IS_PCI32L(dev)	((dev)->dma_mask < 0xffffffff)
 
+#define IS_PIC_DEVICE(dev) ((struct sn_device_sysdata *)dev->sysdata)->isPIC
+
 #define PCIDEV_VERTEX(pci_dev) \
 	(((struct sn_device_sysdata *)((pci_dev)->sysdata))->vhdl)
 
@@ -54,6 +56,7 @@
 struct sn_device_sysdata {
         devfs_handle_t  vhdl;
 	int		isa64;
+	int		isPIC;
 	volatile unsigned int *dma_buf_sync;
 	volatile unsigned int *xbow_buf_sync;
 };

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)