patch-2.3.38 linux/include/linux/isapnp.h
Next file: linux/include/linux/major.h
Previous file: linux/include/linux/irda.h
Back to the patch index
Back to the overall index
- Lines: 23
- Date:
Fri Jan 7 15:30:16 2000
- Orig file:
v2.3.37/linux/include/linux/isapnp.h
- Orig date:
Thu Nov 18 20:25:38 1999
diff -u --recursive --new-file v2.3.37/linux/include/linux/isapnp.h linux/include/linux/isapnp.h
@@ -103,6 +103,13 @@
struct isapnp_mem32 *next; /* next 32-bit memory resource */
};
+struct isapnp_fixup {
+ unsigned short vendor; /* matching vendor */
+ unsigned short device; /* matching device */
+ void (*quirk_function)(struct pci_dev *dev); /* fixup function */
+};
+
+
#define ISAPNP_RES_PRIORITY_PREFERRED 0
#define ISAPNP_RES_PRIORITY_ACCEPTABLE 1
#define ISAPNP_RES_PRIORITY_FUNCTIONAL 2
@@ -137,6 +144,8 @@
void isapnp_device(unsigned char device);
void isapnp_activate(unsigned char device);
void isapnp_deactivate(unsigned char device);
+void isapnp_fixup_device(struct pci_dev *dev);
+void *isapnp_alloc(long size);
/* manager */
struct pci_bus *isapnp_find_card(unsigned short vendor,
unsigned short device,
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)