patch-2.3.29 linux/include/linux/ioport.h
Next file: linux/include/linux/mm.h
Previous file: linux/include/linux/if_arp.h
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Tue Nov 23 10:10:38 1999
- Orig file:
v2.3.28/linux/include/linux/ioport.h
- Orig date:
Tue Sep 7 12:14:07 1999
diff -u --recursive --new-file v2.3.28/linux/include/linux/ioport.h linux/include/linux/ioport.h
@@ -80,10 +80,11 @@
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);
+ unsigned long align, struct pci_dev *);
/* Convenience shorthand with allocation */
#define request_region(start,n,name) __request_region(&ioport_resource, (start), (n), (name))
@@ -106,5 +107,8 @@
#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)