summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-07-07 19:11:28 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-07-07 19:11:28 +0000
commit9866ed90cfff90a04c7a70dd75d2118ed6a44f95 (patch)
tree38ba62698bc0516e977b80561f6cf3e1417f0182
parenteb2a21fc5bceef91d2326a6f6615b3f547b6b9b5 (diff)
Check for ATW_C_BBPTYPE_RFMD in switch statement (not currently supported).
From NetBSD (dyoung)
-rw-r--r--sys/dev/ic/atw.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/sys/dev/ic/atw.c b/sys/dev/ic/atw.c
index a3b72c67867..d9666960549 100644
--- a/sys/dev/ic/atw.c
+++ b/sys/dev/ic/atw.c
@@ -1,5 +1,5 @@
-/* $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 $ */
+/* $OpenBSD: atw.c,v 1.3 2004/07/07 19:11:27 millert Exp $ */
+/* $NetBSD: atw.c,v 1.35 2004/06/23 09:05:50 dyoung Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000, 2002, 2003, 2004 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
#include <sys/cdefs.h>
#if defined(__NetBSD__)
-__KERNEL_RCSID(0, "$NetBSD: atw.c,v 1.32 2004/06/06 04:38:33 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atw.c,v 1.35 2004/06/23 09:05:50 dyoung Exp $");
#endif
#include "bpfilter.h"
@@ -645,6 +645,10 @@ atw_attach(struct atw_softc *sc)
break;
case ATW_BBPTYPE_MARVEL:
break;
+ case ATW_C_BBPTYPE_RFMD:
+ printf("%s: ADM8211C MAC/RFMD BBP not supported yet.\n",
+ sc->sc_dev.dv_xname);
+ break;
}
sc->sc_bbpctl_wr = reg | ATW_BBPCTL_WR;