diff options
author | thompsa <thompsa@FreeBSD.org> | 2009-05-21 00:04:17 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2009-05-21 00:04:17 +0000 |
commit | 6493599dffcf59452030c317e21e1777f4087498 (patch) | |
tree | 3eff09d6b64c2439f2bb8e9d4a3aad08d336b07d /sys/dev/usb/net/if_rue.c | |
parent | b9afde5728c1d132c1a6fcaf299551d590daed53 (diff) | |
download | FreeBSD-src-6493599dffcf59452030c317e21e1777f4087498.zip FreeBSD-src-6493599dffcf59452030c317e21e1777f4087498.tar.gz |
- rename usb2_mode to usb_mode [1]
- change variable types to use the enum
Submitted by: Hans Petter Selasky [1]
Diffstat (limited to 'sys/dev/usb/net/if_rue.c')
-rw-r--r-- | sys/dev/usb/net/if_rue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/net/if_rue.c b/sys/dev/usb/net/if_rue.c index 5783943..176ff1d 100644 --- a/sys/dev/usb/net/if_rue.c +++ b/sys/dev/usb/net/if_rue.c @@ -546,7 +546,7 @@ rue_probe(device_t dev) { struct usb2_attach_arg *uaa = device_get_ivars(dev); - if (uaa->usb2_mode != USB_MODE_HOST) + if (uaa->usb_mode != USB_MODE_HOST) return (ENXIO); if (uaa->info.bConfigIndex != RUE_CONFIG_IDX) return (ENXIO); |