Module Name: src Committed By: snj Date: Sat Jun 3 17:03:02 UTC 2017
Modified Files: src/sys/dev/usb [netbsd-7]: files.usb Log Message: Pull up following revision(s) (requested by pgoyette in ticket #1421): sys/dev/usb/files.usb: revision 1.144 Fix the USBVERBOSE stuff so it does not get included in the build if there are no USB devices or controllers. Without this change, a kernel with no USB devices but with USBVERBOSE defined in the configuration file will include the usb_verbose.c file, but will fail to link due to undefined symbols. To generate a diff of this commit: cvs rdiff -u -r1.132.2.2 -r1.132.2.3 src/sys/dev/usb/files.usb Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/usb/files.usb diff -u src/sys/dev/usb/files.usb:1.132.2.2 src/sys/dev/usb/files.usb:1.132.2.3 --- src/sys/dev/usb/files.usb:1.132.2.2 Wed Apr 5 19:54:19 2017 +++ src/sys/dev/usb/files.usb Sat Jun 3 17:03:02 2017 @@ -1,4 +1,4 @@ -# $NetBSD: files.usb,v 1.132.2.2 2017/04/05 19:54:19 snj Exp $ +# $NetBSD: files.usb,v 1.132.2.3 2017/06/03 17:03:02 snj Exp $ # # Config file and device description for machine-independent USB code. # Included by ports that need it. Ports that use it must provide @@ -103,8 +103,7 @@ file dev/usb/usb_quirks.c usb define usb_dma: usb file dev/usb/usb_mem.c usb_dma needs-flag -define usbverbose: usb -file dev/usb/usb_verbose.c usbverbose +file dev/usb/usb_verbose.c usbverbose & usb # Hub driver device uhub: usbdevif, usbifif