summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2005-01-09 21:39:05 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2005-01-09 21:39:05 +0000
commitb580916aac014e9c1f019a741a68ad22cffd969c (patch)
tree654491746281d47dc34165fdf95b7db64905a1ae /sys
parenta9485e98671ddd2a2c82f6887e19dd4ff25e95be (diff)
Use the macwrite instead of the hostwrite radio programming method
for rev F devices which lets us get responses from access points. Driver is still not fully working as yet. From a discussion with David Young.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/rtw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/rtw.c b/sys/dev/ic/rtw.c
index 76ba70036f4..ecb32fd54eb 100644
--- a/sys/dev/ic/rtw.c
+++ b/sys/dev/ic/rtw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtw.c,v 1.3 2005/01/04 04:54:56 jsg Exp $ */
+/* $OpenBSD: rtw.c,v 1.4 2005/01/09 21:39:04 jsg Exp $ */
/* $NetBSD: rtw.c,v 1.29 2004/12/27 19:49:16 dyoung Exp $ */
/*-
* Copyright (c) 2004, 2005 David Young. All rights reserved.
@@ -3353,7 +3353,7 @@ rtw_attach(struct rtw_softc *sc)
switch (RTW_READ(&sc->sc_regs, RTW_TCR) & RTW_TCR_HWVERID_MASK) {
case RTW_TCR_HWVERID_F:
vers = 'F';
- rf_write = rtw_rf_hostwrite;
+ rf_write = rtw_rf_macwrite;
break;
case RTW_TCR_HWVERID_D:
vers = 'D';