[netdrvr] Remove Becker-template 'io_size' member, when invariant
authorJeff Garzik <jeff@garzik.org>
Tue, 27 Jun 2006 12:54:34 +0000 (08:54 -0400)
committerJeff Garzik <jeff@garzik.org>
Wed, 5 Jul 2006 17:40:49 +0000 (13:40 -0400)
commitc3d8e682b7d10f57d13c86ecbb15806781d6e953
treeb3c20aaf5679ad22a91d14de16615f0d31e3e19d
parent03a8c6611aa18f919f8700b18f925e9008b616a8
[netdrvr] Remove Becker-template 'io_size' member, when invariant

Becker-derived drivers often have the 'io_size' member in their chip
info struct, indicating the minimum required size of the I/O resource
(usually a PCI BAR).  For many situations, this number is either
constant or irrelevant (due to pci_iomap convenience behavior).

This change removes the io_size invariant member, and replaces it with a
compile-time constant.

Drivers updated: fealnx, gt96100eth, winbond-840, yellowfin

Additionally,
- gt96100eth: unused 'drv_flags' removed from gt96100eth
- winbond-840: unused struct match_info removed
- winbond-840: mark pci_id_tbl[] const, __devinitdata

Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/fealnx.c
drivers/net/gt96100eth.c
drivers/net/gt96100eth.h
drivers/net/tulip/winbond-840.c
drivers/net/yellowfin.c