patch-2.4.9 linux/include/linux/i2o.h

Next file: linux/include/linux/ide.h
Previous file: linux/include/linux/fs.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.8/linux/include/linux/i2o.h linux/include/linux/i2o.h
@@ -30,6 +30,7 @@
 #include <asm/semaphore.h> /* Needed for MUTEX init macros */
 #include <linux/config.h>
 #include <linux/notifier.h>
+#include <linux/ioport.h>
 #include <asm/atomic.h>
 
 /*
@@ -78,6 +79,7 @@
  */	 	
 struct i2o_pci
 {
+	struct pci_dev *pdev;	/* PCI device */
 	int irq;
 	int queue_buggy:1;	/* Don't send a lot of messages */
 	int short_req:1;	/* Use small block sizes	*/
@@ -126,6 +128,11 @@
 	u32 mem_phys;				/* MFA physical */
 	
 	int battery:1;				/* Has a battery backup */
+	int io_alloc:1;				/* An I/O resource was allocated */
+	int mem_alloc:1;			/* A memory resource was allocated */
+	
+	struct resource io_resource;		/* I/O resource allocated to the IOP */
+	struct resource mem_resource;		/* Mem resource allocated to the IOP */
 
 	struct proc_dir_entry* proc_entry;	/* /proc dir */
 

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