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

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

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
drivers/Makefile | 6 ------
drivers/pci/Makefile | 7 ++++++-
drivers/{ => pci}/fsl_pci_init.c | 0
drivers/{ => pci}/pci.c | 0
drivers/{ => pci}/pci_auto.c | 0
drivers/{ => pci}/pci_indirect.c | 0
drivers/{ => pci}/tsi108_pci.c | 0
drivers/{ => pci}/w83c553f.c | 0
8 files changed, 6 insertions(+), 7 deletions(-)
rename drivers/{ => pci}/fsl_pci_init.c (100%)
rename drivers/{ => pci}/pci.c (100%)
rename drivers/{ => pci}/pci_auto.c (100%)
rename drivers/{ => pci}/pci_indirect.c (100%)
rename drivers/{ => pci}/tsi108_pci.c (100%)
rename drivers/{ => pci}/w83c553f.c (100%)

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