summaryrefslogtreecommitdiff
path: root/sys/dev/usb/if_runvar.h
diff options
context:
space:
mode:
authorDamien Bergamini <damien@cvs.openbsd.org>2010-02-07 10:25:22 +0000
committerDamien Bergamini <damien@cvs.openbsd.org>2010-02-07 10:25:22 +0000
commit1301ea1efce46db8ca72f5cbc9387f2bc60e81b5 (patch)
treea35eb9dd36da58a9fa4bfb27b2fd1f027c39c69f /sys/dev/usb/if_runvar.h
parent9687c4b4852e1ab8e69b9a522f6f7f4b2236cdb2 (diff)
split 32-bit mac_rev into 16-bit mac_ver and mac_rev to avoid
annoying shifts and masks.
Diffstat (limited to 'sys/dev/usb/if_runvar.h')
-rw-r--r--sys/dev/usb/if_runvar.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/usb/if_runvar.h b/sys/dev/usb/if_runvar.h
index 584ffe0df8f..b24571ae77d 100644
--- a/sys/dev/usb/if_runvar.h
+++ b/sys/dev/usb/if_runvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_runvar.h,v 1.4 2010/02/07 09:14:55 damien Exp $ */
+/* $OpenBSD: if_runvar.h,v 1.5 2010/02/07 10:25:21 damien Exp $ */
/*-
* Copyright (c) 2008,2009 Damien Bergamini <damien.bergamini@free.fr>
@@ -142,7 +142,8 @@ struct run_softc {
usbd_device_handle sc_udev;
usbd_interface_handle sc_iface;
- uint32_t mac_rev;
+ uint16_t mac_ver;
+ uint16_t mac_rev;
uint8_t rf_rev;
uint8_t freq;
uint8_t ntxchains;