On Thu, Apr 27, 2000 at 09:45:07PM -0600, Richard Gooch wrote:
> Greg KH writes:
> > If anyone cares, it looks like the usb ACM driver does this
> > correctly, so I will be changing the usb-serial code based on it.
> 
> So can you please descibe the solution you'll be using?

- Leave the name of the tty driver alone, but add the flag
  TTY_DRIVER_NO_DEVFS to the flag field of the tty_driver. 
- Register the tty_driver at driver initialization, but call
  tty_register_devfs with the minor number of the device when the device
  is plugged in (and tty_unregister_devfs when the device is removed.)

In my testing tonight, this seemed to work just fine.

Do you (or anyone else) see any problems with this?

Thanks,

greg k-h
greg@(kroah|wirex).com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to