Diff for /src/sys/bus/usb/usbdi.h between versions 1.3 and 1.4

version 1.3, 2003/12/30 01:01:44 version 1.4, 2004/02/11 15:17:26
Line 91  typedef void (*usbd_callback)(usbd_xfer_ Line 91  typedef void (*usbd_callback)(usbd_xfer_
 #define USBD_NO_TIMEOUT 0  #define USBD_NO_TIMEOUT 0
 #define USBD_DEFAULT_TIMEOUT 5000 /* ms = 5 s */  #define USBD_DEFAULT_TIMEOUT 5000 /* ms = 5 s */
   
#if defined(__FreeBSD__)#if defined(__FreeBSD__) || defined(__DragonFly__)
 #define USB_CDEV_MAJOR 108  #define USB_CDEV_MAJOR 108
 #endif  #endif
   
Line 247  struct usb_attach_arg { Line 247  struct usb_attach_arg {
 /* No match */  /* No match */
 #define UMATCH_NONE                                      0  #define UMATCH_NONE                                      0
   
#elif defined(__FreeBSD__)#elif defined(__FreeBSD__) || defined(__DragonFly__)
 /* FreeBSD needs values less than zero */  /* FreeBSD needs values less than zero */
 #define UMATCH_VENDOR_PRODUCT_REV                       (-10)  #define UMATCH_VENDOR_PRODUCT_REV                       (-10)
 #define UMATCH_VENDOR_PRODUCT                           (-20)  #define UMATCH_VENDOR_PRODUCT                           (-20)
Line 267  struct usb_attach_arg { Line 267  struct usb_attach_arg {
   
 #endif  #endif
   
#if defined(__FreeBSD__)#if defined(__FreeBSD__) || defined(__DragonFly__)
 int usbd_driver_load(module_t mod, int what, void *arg);  int usbd_driver_load(module_t mod, int what, void *arg);
 #endif  #endif
   

Removed from v.1.3  
changed lines
  Added in v.1.4