diff options
| author | Josef Karthauser <joe@FreeBSD.org> | 2002-01-28 01:03:19 +0000 |
|---|---|---|
| committer | Josef Karthauser <joe@FreeBSD.org> | 2002-01-28 01:03:19 +0000 |
| commit | a07e9d4af3f47a6d2a75a7aa903add70886b863c (patch) | |
| tree | c7820152b3d171d7820a328b8adc34c87a71de86 /sys/dev/usb/usb.h | |
| parent | a31999ca51d72a54f719da540a4d13c5ca72cdd2 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/usb.h')
| -rw-r--r-- | sys/dev/usb/usb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/usb.h b/sys/dev/usb/usb.h index 21c733f33831..8d5a3da94d1e 100644 --- a/sys/dev/usb/usb.h +++ b/sys/dev/usb/usb.h @@ -627,6 +627,7 @@ struct usb_event { #define USB_EVENT_DRIVER_ATTACH 5 #define USB_EVENT_DRIVER_DETACH 6 #define USB_EVENT_IS_ATTACH(n) ((n) == USB_EVENT_CTRLR_ATTACH || (n) == USB_EVENT_DEVICE_ATTACH || (n) == USB_EVENT_DRIVER_ATTACH) +#define USB_EVENT_IS_DETACH(n) ((n) == USB_EVENT_CTRLR_DETACH || (n) == USB_EVENT_DEVICE_DETACH || (n) == USB_EVENT_DRIVER_DETACH) struct timespec ue_time; union { struct { |
