Guide to porting old (usb) driver to new (usb2) framework?

Lev Serebryakov lev at FreeBSD.org
Sun Feb 8 14:05:36 PST 2009


Hello, Hans.
You wrote 8 февраля 2009 г., 23:38:38:

> The only guide is to look at exisiting USB serial port drivers. With regard to
> MosChip there already exits a umoscom2.c
  Great! Old stack doesn't have such driver. Maybe, my work is useless
for -CURRENT, I need to try this driver with my device.

> Is your device multi port or single port?
 4 ports.

> It should be quite trivial to make a device driver for a serial port device.
 Yep, cleanup of existing "driver" (it was ugly) was
straightforward. This provided  "driver" can't even send BREAK signal :)

-- 
// Black Lion AKA Lev Serebryakov <lev at FreeBSD.org>



More information about the freebsd-usb mailing list