[U-Boot-Users] [PATCH 11/24] drivers/pci : move pci drivers to drivers/pci

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Thu Oct 11 19:26:23 CEST 2007


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>

diff --git a/drivers/Makefile b/drivers/Makefile
index 58388fb..6175c2a 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -89,17 +89,11 @@ COBJS-y += tsi108_eth.o
 #
 # PCI/PCMCIA device drivers
 #
-COBJS-y += fsl_pci_init.o
 COBJS-y += mpc8xx_pcmcia.o
-COBJS-y += pci.o
-COBJS-y += pci_auto.o
-COBJS-y += pci_indirect.o
 COBJS-y += pxa_pcmcia.o
 COBJS-y += rpx_pcmcia.o
 COBJS-y += ti_pci1410a.o
-COBJS-y += tsi108_pci.o
 COBJS-y += tqm8xx_pcmcia.o
-COBJS-y += w83c553f.o
 
 #
 # USB Drivers
diff --git a/drivers/pci/Makefile b/drivers/pci/Makefile
index 73af31f..bd5b9a9 100644
--- a/drivers/pci/Makefile
+++ b/drivers/pci/Makefile
@@ -25,7 +25,12 @@ include $(TOPDIR)/config.mk
 
 LIB 	:= $(obj)libpci.a
 
-COBJS-y +=
+COBJS-y += fsl_pci_init.o
+COBJS-y += pci.o
+COBJS-y += pci_auto.o
+COBJS-y += pci_indirect.o
+COBJS-y += tsi108_pci.o
+COBJS-y += w83c553f.o
 
 COBJS	:= $(COBJS-y)
 SRCS 	:= $(COBJS:.o=.c)
diff --git a/drivers/fsl_pci_init.c b/drivers/pci/fsl_pci_init.c
similarity index 100%
rename from drivers/fsl_pci_init.c
rename to drivers/pci/fsl_pci_init.c
diff --git a/drivers/pci.c b/drivers/pci/pci.c
similarity index 100%
rename from drivers/pci.c
rename to drivers/pci/pci.c
diff --git a/drivers/pci_auto.c b/drivers/pci/pci_auto.c
similarity index 100%
rename from drivers/pci_auto.c
rename to drivers/pci/pci_auto.c
diff --git a/drivers/pci_indirect.c b/drivers/pci/pci_indirect.c
similarity index 100%
rename from drivers/pci_indirect.c
rename to drivers/pci/pci_indirect.c
diff --git a/drivers/tsi108_pci.c b/drivers/pci/tsi108_pci.c
similarity index 100%
rename from drivers/tsi108_pci.c
rename to drivers/pci/tsi108_pci.c
diff --git a/drivers/w83c553f.c b/drivers/pci/w83c553f.c
similarity index 100%
rename from drivers/w83c553f.c
rename to drivers/pci/w83c553f.c
-- 
1.5.3.2





More information about the U-Boot mailing list