[U-Boot-Users] [PATCH] drivers/usb : move usb drivers to drivers/usb

Jean-Christophe PLAGNIOL-VILLARD
2007-10-11T08:32:19Z

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
drivers/Makefile | 11 -----------
drivers/usb/Makefile | 8 +++++++-
drivers/{ => usb}/isp116x-hcd.c | 0
drivers/{ => usb}/isp116x.h | 0
drivers/{ => usb}/sl811.h | 0
drivers/{ => usb}/sl811_usb.c | 0
drivers/{ => usb}/usb_ohci.c | 0
drivers/{ => usb}/usb_ohci.h | 0
drivers/{ => usb}/usbdcore.c | 0
drivers/{ => usb}/usbdcore_ep0.c | 0
drivers/{ => usb}/usbdcore_mpc8xx.c | 0
drivers/{ => usb}/usbdcore_omap1510.c | 0
12 files changed, 7 insertions(+), 12 deletions(-)
rename drivers/{ => usb}/isp116x-hcd.c (100%)
rename drivers/{ => usb}/isp116x.h (100%)
rename drivers/{ => usb}/sl811.h (100%)
rename drivers/{ => usb}/sl811_usb.c (100%)
rename drivers/{ => usb}/usb_ohci.c (100%)
rename drivers/{ => usb}/usb_ohci.h (100%)
rename drivers/{ => usb}/usbdcore.c (100%)
rename drivers/{ => usb}/usbdcore_ep0.c (100%)
rename drivers/{ => usb}/usbdcore_mpc8xx.c (100%)
rename drivers/{ => usb}/usbdcore_omap1510.c (100%)

diff --git a/drivers/Makefile b/drivers/Makefile
index c9eebcb..a1f3221 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -81,17 +81,6 @@ COBJS-y += tsec.o
COBJS-y += tsi108_eth.o

#
-# USB Drivers
-#
-COBJS-y += isp116x-hcd.o
-COBJS-y += sl811_usb.o
-COBJS-y += usb_ohci.o
-COBJS-y += usbdcore.o
-COBJS-y += usbdcore_ep0.o
-COBJS-y += usbdcore_mpc8xx.o
-COBJS-y += usbdcore_omap1510.o
-
-#
# Miscellaneous Drivers
#
COBJS-y += ali512x.o
diff --git a/drivers/usb/Makefile b/drivers/usb/Makefile
index e151fe5..ccf7055 100644
--- a/drivers/usb/Makefile
+++ b/drivers/usb/Makefile
@@ -25,7 +25,13 @@ include $(TOPDIR)/config.mk

LIB := $(obj)libusb.a

-COBJS-y +=
+COBJS-y += isp116x-hcd.o
+COBJS-y += sl811_usb.o
+COBJS-y += usb_ohci.o
+COBJS-y += usbdcore.o
+COBJS-y += usbdcore_ep0.o
+COBJS-y += usbdcore_mpc8xx.o
+COBJS-y += usbdcore_omap1510.o

COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
diff --git a/drivers/isp116x-hcd.c b/drivers/usb/isp116x-hcd.c
similarity index 100%
rename from drivers/isp116x-hcd.c
rename to drivers/usb/isp116x-hcd.c
diff --git a/drivers/isp116x.h b/drivers/usb/isp116x.h
similarity index 100%
rename from drivers/isp116x.h
rename to drivers/usb/isp116x.h
diff --git a/drivers/sl811.h b/drivers/usb/sl811.h
similarity index 100%
rename from drivers/sl811.h
rename to drivers/usb/sl811.h
diff --git a/drivers/sl811_usb.c b/drivers/usb/sl811_usb.c
similarity index 100%
rename from drivers/sl811_usb.c
rename to drivers/usb/sl811_usb.c
diff --git a/drivers/usb_ohci.c b/drivers/usb/usb_ohci.c
similarity index 100%
rename from drivers/usb_ohci.c
rename to drivers/usb/usb_ohci.c
diff --git a/drivers/usb_ohci.h b/drivers/usb/usb_ohci.h
similarity index 100%
rename from drivers/usb_ohci.h
rename to drivers/usb/usb_ohci.h
diff --git a/drivers/usbdcore.c b/drivers/usb/usbdcore.c
similarity index 100%
rename from drivers/usbdcore.c
rename to drivers/usb/usbdcore.c
diff --git a/drivers/usbdcore_ep0.c b/drivers/usb/usbdcore_ep0.c
similarity index 100%
rename from drivers/usbdcore_ep0.c
rename to drivers/usb/usbdcore_ep0.c
diff --git a/drivers/usbdcore_mpc8xx.c b/drivers/usb/usbdcore_mpc8xx.c
similarity index 100%
rename from drivers/usbdcore_mpc8xx.c
rename to drivers/usb/usbdcore_mpc8xx.c
diff --git a/drivers/usbdcore_omap1510.c b/drivers/usb/usbdcore_omap1510.c
similarity index 100%
rename from drivers/usbdcore_omap1510.c
rename to drivers/usb/usbdcore_omap1510.c
--
1.5.3.2