From 1301ea1efce46db8ca72f5cbc9387f2bc60e81b5 Mon Sep 17 00:00:00 2001 From: Damien Bergamini Date: Sun, 7 Feb 2010 10:25:22 +0000 Subject: split 32-bit mac_rev into 16-bit mac_ver and mac_rev to avoid annoying shifts and masks. --- sys/dev/usb/if_runvar.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sys/dev/usb/if_runvar.h') 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 @@ -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; -- cgit v1.2.3