summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2006-07-19 19:57:03 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2006-07-19 19:57:03 +0000
commit7aba5dfe154649a1cca2ca01418726ef08ac4037 (patch)
tree4687fa9961f01c9fdc88edd06cd15ca307e4f1c3 /sys/dev/usb
parent3d35728d2f2181aede85d2ddd4159987885baca6 (diff)
remove more irrelevant #define
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/if_rumreg.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/sys/dev/usb/if_rumreg.h b/sys/dev/usb/if_rumreg.h
index b1dc5a025d2..8b931e05fb5 100644
--- a/sys/dev/usb/if_rumreg.h
+++ b/sys/dev/usb/if_rumreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_rumreg.h,v 1.7 2006/07/19 19:54:00 damien Exp $ */
+/* $OpenBSD: if_rumreg.h,v 1.8 2006/07/19 19:57:02 damien Exp $ */
/*-
* Copyright (c) 2005, 2006 Damien Bergamini <damien.bergamini@free.fr>
* Copyright (c) 2006 Niall O'Higgins <niallo@openbsd.org>
@@ -43,18 +43,10 @@
#define RT2573_BBP_WRITE (1 << 15)
-#define RT2573_RF1_AUTOTUNE 0x08000
-#define RT2573_RF3_AUTOTUNE 0x00040
-
-#define RT2573_RF_2522 0x00
-#define RT2573_RF_2523 0x01
-#define RT2573_RF_2524 0x02
-#define RT2573_RF_2525 0x03
-#define RT2573_RF_2525E 0x04
-#define RT2573_RF_2526 0x05
+/* single-band RF */
+#define RT2573_RF_2528 0
/* dual-band RF */
-#define RT2573_RF_5222 0x10
-#define RT2573_RF_2528 0x00
+#define RT2573_RF_5222 16
#define RT2573_BBP_VERSION 0