]> git.baikalelectronics.ru Git - kernel.git/commit
DM9000: Remove barely used SROM array read.
authorBen Dooks <ben-linux@fluff.org>
Tue, 5 Feb 2008 00:02:09 +0000 (00:02 +0000)
committerJeff Garzik <jeff@garzik.org>
Mon, 11 Feb 2008 16:06:28 +0000 (11:06 -0500)
commit724b12d034599f5108b8628a2608b71e0c5d49aa
treee7fa174e6e825d62722618b9d1f197d177b40e6c
parenta684dda2f573db3b149296dbb7368e40ce812495
DM9000: Remove barely used SROM array read.

The srom array in the board data is only being used in the device probe
routines. The probe also only uses the first 6 bytes of an array
we spend 512ms reading 128 bytes from. Change to reading the
MAC area directly to the MAC address structure.

As a side product, we rename the read_srom_word to dm9000_read_eeprom
to bring it into line with the rest of the driver. No change is made
to the delay in this function, which will be dealt with in a later
patch.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/dm9000.c