Date: Wed, 11 Feb 2009 19:30:15 +0300 From: Lev Serebryakov <lev@FreeBSD.org> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re[2]: Guide to porting old (usb) driver to new (usb2) framework? Message-ID: <1812245731.20090211193015@serebryakov.spb.ru> In-Reply-To: <200902082138.39688.hselasky@c2i.net> References: <1371503468.20090208222452@serebryakov.spb.ru> <200902082138.39688.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Hans. You wrote 8 =F4=E5=E2=F0=E0=EB=FF 2009 =E3., 23:38:38: > The only guide is to look at exisiting USB serial port drivers. With rega= rd to > MosChip there already exits a umoscom2.c Yep, it is old, single-port chip, with different registers layout. BTW, datasheets on 7820/7840 chips are not complete, and some registers are left in driver as `magic' numbers. I don't like it, but Moschip doesn't answer on e-mails :( > Is your device multi port or single port? 4 ports. > It should be quite trivial to make a device driver for a serial port devi= ce. Yep, cleanup of existing "driver" (it was ugly) was straightforward. This provided "driver" can't even send BREAK signal :) --=20 // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1812245731.20090211193015>