]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Load entire EEPROM contents in device attach time and verify
authoryongari <yongari@FreeBSD.org>
Wed, 28 Mar 2012 01:27:27 +0000 (01:27 +0000)
committeryongari <yongari@FreeBSD.org>
Wed, 28 Mar 2012 01:27:27 +0000 (01:27 +0000)
commit58e81052f33ee5383a25ab4bf3808931829d996a
tree6a2d1ddc994dcd5068c7572701dfebf151d61575
parent26312bd9696baac97096e845c010eb7bc99ee477
Load entire EEPROM contents in device attach time and verify
whether the checksum of EEPROM is valid or not.  Because driver
heavily relies on EEPROM information when it selectively enables
features/workarounds, it would be helpful to know whether driver
sees valid EEPROM.
While I'm here remove all other EEPROM accesses since the entire
EEPROM is loaded at device attach time.

MFC after: 2 weeks
sys/dev/fxp/if_fxp.c
sys/dev/fxp/if_fxpreg.h
sys/dev/fxp/if_fxpvar.h