]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Include the initial support for external EEPROMs.
authoradrian <adrian@FreeBSD.org>
Thu, 20 Jan 2011 07:56:09 +0000 (07:56 +0000)
committeradrian <adrian@FreeBSD.org>
Thu, 20 Jan 2011 07:56:09 +0000 (07:56 +0000)
commit0779b4e7dcc4918effdaef380edfb4b027b29053
tree112576b32ab2aa1731cf5348a7d1bd63ac7d8f37
parentfed6f77bf78af69feb600f919513451758b8abfb
Include the initial support for external EEPROMs.

The AR9100 at least doesn't have an external serial EEPROM
attached to the MAC; it instead stores the calibration data
in the normal system flash.

I believe earlier parts can do something similar but I haven't
experienced it first-hand.

This commit introduces an eepromdata pointer into the API but
doesn't at all commit to using it. A future commit will
include the glue needed to allow the AR9100 support code
to use this data pointer as the EEPROM.
13 files changed:
sys/dev/ath/ath_hal/ah.c
sys/dev/ath/ath_hal/ah.h
sys/dev/ath/ath_hal/ah_internal.h
sys/dev/ath/ath_hal/ar5210/ar5210_attach.c
sys/dev/ath/ath_hal/ar5211/ar5211_attach.c
sys/dev/ath/ath_hal/ar5212/ar5212_attach.c
sys/dev/ath/ath_hal/ar5312/ar5312_attach.c
sys/dev/ath/ath_hal/ar5416/ar5416_attach.c
sys/dev/ath/ath_hal/ar5416/ar9160_attach.c
sys/dev/ath/ath_hal/ar5416/ar9280_attach.c
sys/dev/ath/ath_hal/ar5416/ar9285_attach.c
sys/dev/ath/if_ath.c
sys/dev/ath/if_athvar.h