summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ath.c
diff options
context:
space:
mode:
authorReyk Floeter <reyk@cvs.openbsd.org>2006-09-19 17:49:14 +0000
committerReyk Floeter <reyk@cvs.openbsd.org>2006-09-19 17:49:14 +0000
commitc63c5073038ac00d3c350e9fd6dcb1b8a4d07685 (patch)
treeecaecce32ddc0b6be334cdac9e4a602a859e4610 /sys/dev/ic/ath.c
parentd481e84ecd1cd32131e9a1a20472829b804f480c (diff)
attach and enable the newer chipset generations AR2413, AR5413, and
AR5424. unlike the previous chipset generations, these chipsets are single chip solutions. the AR5424 is a PCI Express chipset as found in various intel Macs. support is still incomplete- 11a mode works and 11b mode is rx-only. i need some more test reports, hardware donations (there are several different subrevisions) and time to finish it. thanks for help from kettenis@ "of course!" deraadt@
Diffstat (limited to 'sys/dev/ic/ath.c')
-rw-r--r--sys/dev/ic/ath.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/ath.c b/sys/dev/ic/ath.c
index 0df7c5d0df3..edd7f3d0c42 100644
--- a/sys/dev/ic/ath.c
+++ b/sys/dev/ic/ath.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ath.c,v 1.55 2006/09/19 17:08:01 reyk Exp $ */
+/* $OpenBSD: ath.c,v 1.56 2006/09/19 17:49:13 reyk Exp $ */
/* $NetBSD: ath.c,v 1.37 2004/08/18 21:59:39 dyoung Exp $ */
/*-
@@ -242,6 +242,7 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
/*
* Known single chip solutions
*/
+ ah->ah_single_chip = AH_TRUE;
printf("%s: AR%s %u.%u phy %u.%u rf %u.%u", ifp->if_xname,
ar5k_printver(AR5K_VERSION_DEV, devid),
ah->ah_mac_version, ah->ah_mac_revision,
@@ -253,6 +254,7 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
/*
* Multi chip solutions
*/
+ ah->ah_single_chip = AH_FALSE;
printf("%s: AR%s %u.%u phy %u.%u", ifp->if_xname,
ar5k_printver(AR5K_VERSION_VER, ah->ah_mac_srev),
ah->ah_mac_version, ah->ah_mac_revision,
@@ -271,12 +273,14 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
break;
}
+#if 0
if (ah->ah_radio_5ghz_revision >= AR5K_SREV_RAD_UNSUPP ||
ah->ah_radio_2ghz_revision >= AR5K_SREV_RAD_UNSUPP) {
printf(": RF radio not supported\n");
error = EOPNOTSUPP;
goto bad;
}
+#endif
sc->sc_ah = ah;
sc->sc_invalid = 0; /* ready to go, enable interrupt handling */