diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2008-07-30 07:15:40 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2008-07-30 07:15:40 +0000 |
commit | 2c279d86a8e846c71f5302965d5205367531cccb (patch) | |
tree | 66861ff671cdf2c82023a1984f120d63e46a4d5a /sys/dev/ic/ar5211.c | |
parent | f34f301f42651ae9879010be50d6449bd1044721 (diff) |
Update the RF, RFGAIN, MODE, INI, and BBGAIN initialization tables
with different versions for various ar5212 variants and add an extra
table for PCI-E devices. This fixes support for various newer devices
(like the 1st generation MacBook, T61 variants) but it still does not
work on a number of other devices.
Tested by many
ok deraadt@
Diffstat (limited to 'sys/dev/ic/ar5211.c')
-rw-r--r-- | sys/dev/ic/ar5211.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ar5211.c b/sys/dev/ic/ar5211.c index e50e595c800..7f8ecfbef15 100644 --- a/sys/dev/ic/ar5211.c +++ b/sys/dev/ic/ar5211.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5211.c,v 1.36 2007/11/01 20:32:16 reyk Exp $ */ +/* $OpenBSD: ar5211.c,v 1.37 2008/07/30 07:15:39 reyk Exp $ */ /* * Copyright (c) 2004, 2005, 2006, 2007 Reyk Floeter <reyk@openbsd.org> @@ -507,7 +507,7 @@ ar5k_ar5211_reset(struct ath_hal *hal, HAL_OPMODE op_mode, HAL_CHANNEL *channel, /* * Write initial RF gain settings */ - if (ar5k_rfgain(hal, AR5K_INI_PHY_5111, freq) == AH_FALSE) + if (ar5k_rfgain(hal, freq) == AH_FALSE) return (AH_FALSE); AR5K_DELAY(1000); |