Diff for /src/sys/bus/usb/usb.c between versions 1.13 and 1.14

version 1.13, 2004/05/13 23:49:14 version 1.14, 2004/05/19 22:52:39
Line 317  USB_ATTACH(usb) Line 317  USB_ATTACH(usb)
         usb_create_event_thread(sc);          usb_create_event_thread(sc);
         /* The per controller devices (used for usb_discover) */          /* The per controller devices (used for usb_discover) */
         /* XXX This is redundant now, but old usbd's will want it */          /* XXX This is redundant now, but old usbd's will want it */
         make_dev(&usb_cdevsw, device_get_unit(self), UID_ROOT, GID_OPERATOR,  
                 0660, "usb%d", device_get_unit(self));  
         if (!global_init_done) {          if (!global_init_done) {
                 /* The device spitting out events */                  /* The device spitting out events */
                   cdevsw_add(&usb_cdevsw, -1, USB_DEV_MINOR);
                 make_dev(&usb_cdevsw, USB_DEV_MINOR, UID_ROOT, GID_OPERATOR,                  make_dev(&usb_cdevsw, USB_DEV_MINOR, UID_ROOT, GID_OPERATOR,
                         0660, "usb");                          0660, "usb");
                 global_init_done = 1;                  global_init_done = 1;
         }          }
           cdevsw_add(&usb_cdevsw, -1, device_get_unit(self));
           make_dev(&usb_cdevsw, device_get_unit(self), UID_ROOT, GID_OPERATOR,
                   0660, "usb%d", device_get_unit(self));
 #endif  #endif
   
         USB_ATTACH_SUCCESS_RETURN;          USB_ATTACH_SUCCESS_RETURN;

Removed from v.1.13  
changed lines
  Added in v.1.14