up (&s->mutex);
dbg ("bound to interface");
- sprintf (name, "%d", s->minor);
+ sprintf (name, "ticables/usb/%d", s->minor);
dbg ("registering to devfs : major = %d, minor = %d, node = %s",
TIUSB_MAJOR, (TIUSB_MINOR + s->minor), name);
- s->devfs =
- devfs_register (devfs_handle, name, DEVFS_FL_DEFAULT, TIUSB_MAJOR,
- TIUSB_MINOR + s->minor, S_IFCHR | S_IRUGO | S_IWUGO,
- &tiglusb_fops, NULL);
+ devfs_register(NULL, name, DEVFS_FL_DEFAULT, TIUSB_MAJOR,
+ TIUSB_MINOR + s->minor, S_IFCHR | S_IRUGO | S_IWUGO,
+ &tiglusb_fops, NULL);
/* Display firmware version */
- info ("link cable version %i.%02x",
+ info ("firmware revision %i.%02x",
dev->descriptor.bcdDevice >> 8,
dev->descriptor.bcdDevice & 0xff);