Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-7]: src/sys/dev/usb Pull up following revision(s) (requested by p...



details:   https://anonhg.NetBSD.org/src/rev/987c3801df19
branches:  netbsd-7
changeset: 800225:987c3801df19
user:      snj <snj%NetBSD.org@localhost>
date:      Sat Jun 03 17:03:02 2017 +0000

description:
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.

diffstat:

 sys/dev/usb/files.usb |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (19 lines):

diff -r af9054646616 -r 987c3801df19 sys/dev/usb/files.usb
--- a/sys/dev/usb/files.usb     Sat Jun 03 17:01:30 2017 +0000
+++ b/sys/dev/usb/files.usb     Sat Jun 03 17:03:02 2017 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index