Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/rump/dev/lib/libusb Rename usb_at_ugenhc.c to the more g...
details: https://anonhg.NetBSD.org/src/rev/848d32699e31
branches: trunk
changeset: 338376:848d32699e31
user: pooka <pooka%NetBSD.org@localhost>
date: Wed May 20 11:53:08 2015 +0000
description:
Rename usb_at_ugenhc.c to the more generic usb_at_hc.c now that
host controllers beyond ugenhc are attached.
diffstat:
sys/rump/dev/lib/libusb/Makefile | 4 ++--
sys/rump/dev/lib/libusb/usb_at_hc.c | 20 ++++++++++++++++++++
sys/rump/dev/lib/libusb/usb_at_ugenhc.c | 22 ----------------------
3 files changed, 22 insertions(+), 24 deletions(-)
diffs (68 lines):
diff -r d3ddad694faf -r 848d32699e31 sys/rump/dev/lib/libusb/Makefile
--- a/sys/rump/dev/lib/libusb/Makefile Wed May 20 11:51:32 2015 +0000
+++ b/sys/rump/dev/lib/libusb/Makefile Wed May 20 11:53:08 2015 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2011/01/31 00:10:06 christos Exp $
+# $NetBSD: Makefile,v 1.7 2015/05/20 11:53:08 pooka Exp $
#
.PATH: ${.CURDIR}/../../../../dev/usb
@@ -10,7 +10,7 @@
SRCS= usb.c usbdi.c usbdi_util.c usb_mem.c usb_subr.c usb_quirks.c \
uhub.c usbroothub_subr.c usb_verbose.c
-SRCS+= usb_at_ugenhc.c
+SRCS+= usb_at_hc.c
.else
SRCS= dummy.c
.endif
diff -r d3ddad694faf -r 848d32699e31 sys/rump/dev/lib/libusb/usb_at_hc.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/rump/dev/lib/libusb/usb_at_hc.c Wed May 20 11:53:08 2015 +0000
@@ -0,0 +1,20 @@
+/* $NetBSD: usb_at_hc.c,v 1.1 2015/05/20 11:53:08 pooka Exp $ */
+
+#include <sys/param.h>
+#include <sys/types.h>
+#include <sys/conf.h>
+#include <sys/device.h>
+#include <sys/kmem.h>
+#include <sys/stat.h>
+
+#include "ioconf.c"
+
+#include "rump_private.h"
+#include "rump_dev_private.h"
+
+RUMP_COMPONENT(RUMP_COMPONENT_DEV)
+{
+
+ config_init_component(cfdriver_ioconf_usb,
+ cfattach_ioconf_usb, cfdata_ioconf_usb);
+}
diff -r d3ddad694faf -r 848d32699e31 sys/rump/dev/lib/libusb/usb_at_ugenhc.c
--- a/sys/rump/dev/lib/libusb/usb_at_ugenhc.c Wed May 20 11:51:32 2015 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-/* $NetBSD: usb_at_ugenhc.c,v 1.3 2010/03/26 15:51:55 pooka Exp $ */
-
-#include <sys/param.h>
-#include <sys/types.h>
-#include <sys/conf.h>
-#include <sys/device.h>
-#include <sys/kmem.h>
-#include <sys/stat.h>
-
-#include "ioconf.c"
-
-#include "rump_private.h"
-#include "rump_dev_private.h"
-
-void tty_init(void);
-
-RUMP_COMPONENT(RUMP_COMPONENT_DEV)
-{
-
- config_init_component(cfdriver_ioconf_usb,
- cfattach_ioconf_usb, cfdata_ioconf_usb);
-}
Home |
Main Index |
Thread Index |
Old Index