patch-2.3.30 linux/include/linux/ioport.h

Next file: linux/include/linux/ipc.h
Previous file: linux/include/linux/highmem.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.29/linux/include/linux/ioport.h linux/include/linux/ioport.h
@@ -80,11 +80,12 @@
 
 extern int request_resource(struct resource *root, struct resource *new);
 extern int release_resource(struct resource *new);
-struct pci_dev;
 extern int allocate_resource(struct resource *root, struct resource *new,
 			     unsigned long size,
 			     unsigned long min, unsigned long max,
-			     unsigned long align, struct pci_dev *);
+			     unsigned long align,
+			     void (*alignf)(void *, struct resource *, unsigned long),
+			     void *alignf_data);
 
 /* Convenience shorthand with allocation */
 #define request_region(start,n,name)	__request_region(&ioport_resource, (start), (n), (name))
@@ -107,8 +108,5 @@
 #define HAVE_AUTOIRQ
 extern void autoirq_setup(int waittime);
 extern int autoirq_report(int waittime);
-
-extern unsigned long resource_fixup(struct pci_dev *, struct resource *,
-				    unsigned long, unsigned long);
 
 #endif	/* _LINUX_IOPORT_H */

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