]> err.no Git - linux-2.6/blobdiff - drivers/net/via-velocity.h
[netdrvr] via-velocity: remove io_size struct member, it is invariant
[linux-2.6] / drivers / net / via-velocity.h
index f1b2640ebdc660a1ce605ad3796f413339244119..496c3d5974444734f5aa6fa7ee3196e911943336 100644 (file)
@@ -31,6 +31,8 @@
 #define VELOCITY_FULL_DRV_NAM  "VIA Networking Velocity Family Gigabit Ethernet Adapter Driver"
 #define VELOCITY_VERSION       "1.13"
 
+#define VELOCITY_IO_SIZE       256
+
 #define PKT_BUF_SZ          1540
 
 #define MAX_UNITS           8
@@ -1191,7 +1193,6 @@ enum chip_type {
 struct velocity_info_tbl {
        enum chip_type chip_id;
        char *name;
-       int io_size;
        int txqueue;
        u32 flags;
 };
@@ -1751,7 +1752,6 @@ struct velocity_info {
        struct mac_regs __iomem * mac_regs;
        unsigned long memaddr;
        unsigned long ioaddr;
-       u32 io_size;
 
        u8 rev_id;