]> Pileus Git - ~andy/linux/blobdiff - include/linux/isapnp.h
Merge commit 'kumar/next' into next
[~andy/linux] / include / linux / isapnp.h
index 1e8728a9ee8a0bce0e05e1fa41cb47a09876d053..e2d28b026a8ca3fb362341decd8f1a6f64904ea5 100644 (file)
 #include <linux/errno.h>
 #include <linux/pnp.h>
 
-/*
- *  Configuration registers (TODO: change by specification)
- */ 
-
-#define ISAPNP_CFG_ACTIVATE            0x30    /* byte */
-#define ISAPNP_CFG_MEM                 0x40    /* 4 * dword */
-#define ISAPNP_CFG_PORT                        0x60    /* 8 * word */
-#define ISAPNP_CFG_IRQ                 0x70    /* 2 * word */
-#define ISAPNP_CFG_DMA                 0x74    /* 2 * byte */
-
 /*
  *
  */
  */
 
 #ifdef __KERNEL__
+#include <linux/mod_devicetable.h>
 
 #define DEVICE_COUNT_COMPATIBLE 4
 
-#define ISAPNP_ANY_ID          0xffff
 #define ISAPNP_CARD_DEVS       8
 
 #define ISAPNP_CARD_ID(_va, _vb, _vc, _device) \
@@ -84,12 +74,6 @@ struct isapnp_card_id {
 #define ISAPNP_DEVICE_SINGLE_END \
                .card_vendor = 0, .card_device = 0
 
-struct isapnp_device_id {
-       unsigned short card_vendor, card_device;
-       unsigned short vendor, function;
-       unsigned long driver_data;      /* data private to the driver */
-};
-
 #if defined(CONFIG_ISAPNP) || (defined(CONFIG_ISAPNP_MODULE) && defined(MODULE))
 
 #define __ISAPNP__