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

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

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
---
drivers/Makefile | 6 ------
drivers/scsi/Makefile | 3 ++-
drivers/{ => scsi}/ahci.c | 0
drivers/{ => scsi}/sym53c8xx.c | 0
4 files changed, 2 insertions(+), 7 deletions(-)
rename drivers/{ => scsi}/ahci.c (100%)
rename drivers/{ => scsi}/sym53c8xx.c (100%)

diff --git a/drivers/Makefile b/drivers/Makefile
index e33022c..c9eebcb 100755
--- a/drivers/Makefile
+++ b/drivers/Makefile
@@ -28,12 +28,6 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libdrivers.a

#
-# Block and Flash Drivers
-#
-COBJS-y += ahci.o
-COBJS-y += sym53c8xx.o
-
-#
# Console Drivers
#
COBJS-y += ati_radeon_fb.o
diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile
index b6db6d3..7d17dc4 100644
--- a/drivers/scsi/Makefile
+++ b/drivers/scsi/Makefile
@@ -25,7 +25,8 @@ include $(TOPDIR)/config.mk

LIB := $(obj)libscsi.a

-COBJS-y +=
+COBJS-y += ahci.o
+COBJS-y += sym53c8xx.o

COBJS := $(COBJS-y)
SRCS := $(COBJS:.o=.c)
diff --git a/drivers/ahci.c b/drivers/scsi/ahci.c
similarity index 100%
rename from drivers/ahci.c
rename to drivers/scsi/ahci.c
diff --git a/drivers/sym53c8xx.c b/drivers/scsi/sym53c8xx.c
similarity index 100%
rename from drivers/sym53c8xx.c
rename to drivers/scsi/sym53c8xx.c
--
1.5.3.2