]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
e1000e: store EEPROM version number to prevent unnecessary NVM reads
authorBruce Allan <bruce.w.allan@intel.com>
Sat, 22 Nov 2008 01:00:22 +0000 (17:00 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Nov 2008 01:00:22 +0000 (17:00 -0800)
commit8452759060ad46fc071a7d5bbf1647df5ea2ceab
treed6dc357a82e32e1c021773dfe9163e053fbdd711
parent0285c8dcaeaa73ddadc4f38383e5bbc03c394a29
e1000e: store EEPROM version number to prevent unnecessary NVM reads

Rather than reading the NVM to get the EEPROM version number everytime the
ethool get_drvinfo function is called, read it once during probe and save
it for future reference.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/e1000.h
drivers/net/e1000e/ethtool.c
drivers/net/e1000e/netdev.c