summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/ath_hal/ar5210
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2011-01-20 07:56:09 +0000
committeradrian <adrian@FreeBSD.org>2011-01-20 07:56:09 +0000
commit0779b4e7dcc4918effdaef380edfb4b027b29053 (patch)
tree112576b32ab2aa1731cf5348a7d1bd63ac7d8f37 /sys/dev/ath/ath_hal/ar5210
parentfed6f77bf78af69feb600f919513451758b8abfb (diff)
downloadFreeBSD-src-0779b4e7dcc4918effdaef380edfb4b027b29053.zip
FreeBSD-src-0779b4e7dcc4918effdaef380edfb4b027b29053.tar.gz
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.
Diffstat (limited to 'sys/dev/ath/ath_hal/ar5210')
-rw-r--r--sys/dev/ath/ath_hal/ar5210/ar5210_attach.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/ath_hal/ar5210/ar5210_attach.c b/sys/dev/ath/ath_hal/ar5210/ar5210_attach.c
index d1b0067..f71ff0d 100644
--- a/sys/dev/ath/ath_hal/ar5210/ar5210_attach.c
+++ b/sys/dev/ath/ath_hal/ar5210/ar5210_attach.c
@@ -170,7 +170,7 @@ static HAL_BOOL ar5210FillCapabilityInfo(struct ath_hal *ah);
*/
static struct ath_hal *
ar5210Attach(uint16_t devid, HAL_SOFTC sc, HAL_BUS_TAG st, HAL_BUS_HANDLE sh,
- HAL_STATUS *status)
+ uint16_t *eepromdata, HAL_STATUS *status)
{
#define N(a) (sizeof(a)/sizeof(a[0]))
struct ath_hal_5210 *ahp;
OpenPOWER on IntegriCloud