On Tuesday 01 March 2011 09:33:38 Hans Petter Selasky wrote:
> On Tuesday 01 March 2011 07:31:00 Daniel O'Connor wrote:
> > On 01/03/2011, at 15:52, Carl wrote:
> > > /usr/src/sys/conf/files causes the ucom driver to be compiled into the
> > > kernel if ulpt is specified for inclusion. Why? ucom provides support
> > > for USB tty.
> > 
> > Looks like a bug, specifically the second to last line of
> > /usr/src/sys/dev/usb/serial/ulpt.c
> 
> You are right.
> 
> > Also, I'm not really sure why ulpt.c is in the serial directory but that
> > isn't a big issue.

Please try the attached patch and report back.

--HPS
=== sys/dev/usb/serial/ulpt.c
==================================================================
--- sys/dev/usb/serial/ulpt.c	(revision 219105)
+++ sys/dev/usb/serial/ulpt.c	(local)
@@ -743,5 +743,4 @@
 
 DRIVER_MODULE(ulpt, uhub, ulpt_driver, ulpt_devclass, NULL, 0);
 MODULE_DEPEND(ulpt, usb, 1, 1, 1);
-MODULE_DEPEND(ulpt, ucom, 1, 1, 1);
 MODULE_VERSION(ulpt, 1);
=== sys/conf/files
==================================================================
--- sys/conf/files	(revision 219105)
+++ sys/conf/files	(local)
@@ -1874,7 +1874,7 @@
 dev/usb/serial/uvscom.c		optional uvscom
 dev/usb/serial/usb_serial.c 	optional ucom | u3g | uark | ubsa | ubser | \
 					 uchcom | ucycom | ufoma | uftdi | \
-					 ugensa | uipaq | ulpt | umct | \
+					 ugensa | uipaq | umct | \
 					 umodem | umoscom | uplcom | uslcom | \
 					 uvisor | uvscom
 #
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to