summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-07-07 19:07:24 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-07-07 19:07:24 +0000
commit16955b380d5efb513b5ec9273a4b41325f80b256 (patch)
treedd7fcc7f23ce5b1cf42e02d0bb1aa21a1ee422b5 /sys
parent1bb186ca50e911a65e7cb2b6156c1d8bc6e09af5 (diff)
Fix typo: change ATW_RFTYPE_RFMD and family to ATW_BBPTYPE_RFMD.
This does not make any functional difference: each manufacturer's RF type-number is the same as its BBP type-number. From NetBSD (dyoung)
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/atw.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/ic/atw.c b/sys/dev/ic/atw.c
index f5f8f20210d..a3b72c67867 100644
--- a/sys/dev/ic/atw.c
+++ b/sys/dev/ic/atw.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: atw.c,v 1.1 2004/06/22 23:55:24 millert Exp $ */
-/* $NetBSD: atw.c,v 1.32 2004/06/06 04:38:33 dyoung Exp $ */
+/* $OpenBSD: atw.c,v 1.2 2004/07/07 19:07:23 millert Exp $ */
+/* $NetBSD: atw.c,v 1.33 2004/06/23 08:05:01 dyoung Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2002, 2003, 2004 The NetBSD Foundation, Inc.
@@ -636,14 +636,14 @@ atw_attach(struct atw_softc *sc)
reg = LSHIFT(sc->sc_bbptype, ATW_BBPCTL_TYPE_MASK);
switch (sc->sc_bbptype) {
- case ATW_RFTYPE_INTERSIL:
+ case ATW_BBPTYPE_INTERSIL:
reg |= ATW_BBPCTL_TWI;
break;
- case ATW_RFTYPE_RFMD:
+ case ATW_BBPTYPE_RFMD:
reg |= ATW_BBPCTL_RF3KADDR_ADDR | ATW_BBPCTL_NEGEDGE_DO |
ATW_BBPCTL_CCA_ACTLO;
break;
- case ATW_RFTYPE_MARVEL:
+ case ATW_BBPTYPE_MARVEL:
break;
}