p54: move eeprom code into common library
authorChristian Lamparter <chunkeey@web.de>
Mon, 1 Sep 2008 20:48:51 +0000 (22:48 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 5 Sep 2008 20:17:48 +0000 (16:17 -0400)
commit7cb770729ba895f73253dfcd46c3fcba45d896f9
tree8a970a683779490b478b9737154cb5d2e792c0a5
parent4e416a6f49b710bfe162f0cb24bc68c74493d2a0
p54: move eeprom code into common library

Both p54pci and p54usb uses a good chunk of device specific code to
get the data from the device's eeprom into the drivers memory.

So, this patch reduces the code size and will it make life easier if
someone wants to implement ethtool eeprom dumping features.

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54.h
drivers/net/wireless/p54/p54common.c
drivers/net/wireless/p54/p54pci.c
drivers/net/wireless/p54/p54usb.c