diff options
author | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-05-08 14:55:10 +0000 |
---|---|---|
committer | Reyk Floeter <reyk@cvs.openbsd.org> | 2005-05-08 14:55:10 +0000 |
commit | 7bad083150c252b5a5289bf742c6e0a1e6d96074 (patch) | |
tree | 92f06b16591a55e58905449bb13ce84afc06fe38 /sys | |
parent | 77113f167c741e3eff29b39abdd0cd4270233779 (diff) |
the ar5210 is silicon version 0, not 1.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/ar5210.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/ar5210.c b/sys/dev/ic/ar5210.c index da33748870b..4f8e58a20e2 100644 --- a/sys/dev/ic/ar5210.c +++ b/sys/dev/ic/ar5210.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ar5210.c,v 1.21 2005/05/08 14:46:50 reyk Exp $ */ +/* $OpenBSD: ar5210.c,v 1.22 2005/05/08 14:55:09 reyk Exp $ */ /* * Copyright (c) 2004, 2005 Reyk Floeter <reyk@vantronix.net> @@ -189,7 +189,7 @@ ar5k_ar5210_attach(device, sc, st, sh, status) /* Get MAC, PHY and RADIO revisions */ srev = AR5K_REG_READ(AR5K_AR5210_SREV); - hal->ah_mac_version = 1; + hal->ah_mac_version = AR5K_REG_MS(srev, AR5K_AR5210_SREV_VER); hal->ah_mac_revision = AR5K_REG_MS(srev, AR5K_AR5210_SREV_REV); hal->ah_phy_revision = AR5K_REG_READ(AR5K_AR5210_PHY_CHIP_ID) & 0x00ffffffff; |