Selaa lähdekoodia

Merge commit '87ddedd'

Wolfgang Denk 17 vuotta sitten
vanhempi
commit
fe08fb6580
100 muutettua tiedostoa jossa 316 lisäystä ja 182 poistoa
  1. 29 9
      Makefile
  2. 1 1
      board/cds/mpc8541cds/u-boot.lds
  3. 1 1
      board/cds/mpc8548cds/u-boot.lds
  4. 1 1
      board/cds/mpc8555cds/u-boot.lds
  5. 1 1
      board/mpl/vcma9/cmd_vcma9.c
  6. 1 1
      board/netstar/eeprom.c
  7. 1 1
      board/voiceblue/eeprom.c
  8. 0 162
      drivers/Makefile
  9. 50 0
      drivers/block/Makefile
  10. 0 0
      drivers/block/ahci.c
  11. 0 0
      drivers/block/ata_piix.c
  12. 0 0
      drivers/block/sil680.c
  13. 0 0
      drivers/block/sym53c8xx.c
  14. 0 0
      drivers/block/systemace.c
  15. 5 4
      drivers/hwmon/Makefile
  16. 0 0
      drivers/hwmon/adm1021.c
  17. 0 0
      drivers/hwmon/ds1621.c
  18. 0 0
      drivers/hwmon/ds1722.c
  19. 0 0
      drivers/hwmon/ds1775.c
  20. 0 0
      drivers/hwmon/lm75.c
  21. 0 0
      drivers/hwmon/lm81.c
  22. 49 0
      drivers/i2c/Makefile
  23. 0 0
      drivers/i2c/fsl_i2c.c
  24. 0 0
      drivers/i2c/omap1510_i2c.c
  25. 0 0
      drivers/i2c/omap24xx_i2c.c
  26. 0 0
      drivers/i2c/tsi108_i2c.c
  27. 48 0
      drivers/input/Makefile
  28. 0 0
      drivers/input/i8042.c
  29. 0 0
      drivers/input/keyboard.c
  30. 0 0
      drivers/input/pc_keyb.c
  31. 0 0
      drivers/input/ps2mult.c
  32. 0 0
      drivers/input/ps2ser.c
  33. 48 0
      drivers/misc/Makefile
  34. 0 0
      drivers/misc/ali512x.c
  35. 0 0
      drivers/misc/ns87308.c
  36. 0 0
      drivers/misc/status_led.c
  37. 49 0
      drivers/mtd/Makefile
  38. 0 0
      drivers/mtd/at45.c
  39. 0 0
      drivers/mtd/cfi_flash.c
  40. 0 0
      drivers/mtd/dataflash.c
  41. 0 0
      drivers/mtd/mw_eeprom.c
  42. 0 0
      drivers/mtd/nand/Makefile
  43. 0 0
      drivers/mtd/nand/diskonchip.c
  44. 0 0
      drivers/mtd/nand/nand.c
  45. 0 0
      drivers/mtd/nand/nand_base.c
  46. 0 0
      drivers/mtd/nand/nand_bbt.c
  47. 0 0
      drivers/mtd/nand/nand_ecc.c
  48. 0 0
      drivers/mtd/nand/nand_ids.c
  49. 0 0
      drivers/mtd/nand/nand_util.c
  50. 0 0
      drivers/mtd/nand_legacy/Makefile
  51. 0 0
      drivers/mtd/nand_legacy/nand_legacy.c
  52. 0 0
      drivers/mtd/onenand/Makefile
  53. 0 0
      drivers/mtd/onenand/onenand_base.c
  54. 0 0
      drivers/mtd/onenand/onenand_bbt.c
  55. 0 0
      drivers/net/3c589.c
  56. 0 0
      drivers/net/3c589.h
  57. 0 0
      drivers/net/5701rls.c
  58. 0 0
      drivers/net/5701rls.h
  59. 0 0
      drivers/net/8390.h
  60. 32 1
      drivers/net/Makefile
  61. 0 0
      drivers/net/bcm570x.c
  62. 0 0
      drivers/net/bcm570x_autoneg.c
  63. 0 0
      drivers/net/bcm570x_autoneg.h
  64. 0 0
      drivers/net/bcm570x_bits.h
  65. 0 0
      drivers/net/bcm570x_debug.h
  66. 0 0
      drivers/net/bcm570x_lm.h
  67. 0 0
      drivers/net/bcm570x_mm.h
  68. 0 0
      drivers/net/bcm570x_queue.h
  69. 0 0
      drivers/net/cs8900.c
  70. 0 0
      drivers/net/cs8900.h
  71. 0 0
      drivers/net/dc2114x.c
  72. 0 0
      drivers/net/dm9000x.c
  73. 0 0
      drivers/net/dm9000x.h
  74. 0 0
      drivers/net/e1000.c
  75. 0 0
      drivers/net/e1000.h
  76. 0 0
      drivers/net/eepro100.c
  77. 0 0
      drivers/net/enc28j60.c
  78. 0 0
      drivers/net/inca-ip_sw.c
  79. 0 0
      drivers/net/ks8695eth.c
  80. 0 0
      drivers/net/lan91c96.c
  81. 0 0
      drivers/net/lan91c96.h
  82. 0 0
      drivers/net/macb.c
  83. 0 0
      drivers/net/macb.h
  84. 0 0
      drivers/net/natsemi.c
  85. 0 0
      drivers/net/ne2000.c
  86. 0 0
      drivers/net/ne2000.h
  87. 0 0
      drivers/net/netarm_eth.c
  88. 0 0
      drivers/net/netarm_eth.h
  89. 0 0
      drivers/net/netconsole.c
  90. 0 0
      drivers/net/nicext.h
  91. 0 0
      drivers/net/ns7520_eth.c
  92. 0 0
      drivers/net/ns8382x.c
  93. 0 0
      drivers/net/ns9750_eth.c
  94. 0 0
      drivers/net/pcnet.c
  95. 0 0
      drivers/net/plb2800_eth.c
  96. 0 0
      drivers/net/rtl8019.c
  97. 0 0
      drivers/net/rtl8019.h
  98. 0 0
      drivers/net/rtl8139.c
  99. 0 0
      drivers/net/rtl8169.c
  100. 0 0
      drivers/net/s3c4510b_eth.c

+ 29 - 9
Makefile

@@ -205,22 +205,30 @@ LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs
 	fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
 LIBS += net/libnet.a
 LIBS += disk/libdisk.a
-LIBS += rtc/librtc.a
-LIBS += dtt/libdtt.a
-LIBS += drivers/libdrivers.a
 LIBS += drivers/bios_emulator/libatibiosemu.a
-LIBS += drivers/nand/libnand.a
-LIBS += drivers/nand_legacy/libnand_legacy.a
-LIBS += drivers/onenand/libonenand.a
+LIBS += drivers/block/libblock.a
+LIBS += drivers/hwmon/libhwmon.a
+LIBS += drivers/i2c/libi2c.a
+LIBS += drivers/input/libinput.a
+LIBS += drivers/misc/libmisc.a
+LIBS += drivers/mtd/libmtd.a
+LIBS += drivers/mtd/nand/libnand.a
+LIBS += drivers/mtd/nand_legacy/libnand_legacy.a
+LIBS += drivers/mtd/onenand/libonenand.a
 LIBS += drivers/net/libnet.a
+LIBS += drivers/net/sk98lin/libsk98lin.a
+LIBS += drivers/pci/libpci.a
+LIBS += drivers/pcmcia/libpcmcia.a
 ifeq ($(CPU),mpc83xx)
 LIBS += drivers/qe/qe.a
 endif
 ifeq ($(CPU),mpc85xx)
 LIBS += drivers/qe/qe.a
 endif
+LIBS += drivers/rtc/librtc.a
 LIBS += drivers/serial/libserial.a
-LIBS += drivers/sk98lin/libsk98lin.a
+LIBS += drivers/usb/libusb.a
+LIBS += drivers/video/libvideo.a
 LIBS += post/libpost.a post/drivers/libpostdrivers.a
 LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \
 	"post/lib_$(ARCH)/libpost$(ARCH).a"; fi)
@@ -327,14 +335,26 @@ tags ctags:
 		ctags -w -o $(OBJTREE)/ctags `find $(SUBDIRS) include \
 				lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
 				fs/cramfs fs/fat fs/fdos fs/jffs2 \
-				net disk rtc dtt drivers drivers/sk98lin common \
+				net disk common drivers/bios_emulator \
+				drivers/block drivers/hwmon drivers/i2c \
+				drivers/input drivers/misc drivers/mtd \
+				drivers/mtd/nand drivers/mtd/nand_legacy \
+				drivers/mtd/onenand drivers/net drivers/net/sk98lin \
+				drivers/pci drivers/pcmcia drivers/qe drivers/rtc \
+				drivers/serial drivers/usb drivers/video \
 			\( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
 
 etags:
 		etags -a -o $(OBJTREE)/etags `find $(SUBDIRS) include \
 				lib_generic board/$(BOARDDIR) cpu/$(CPU) lib_$(ARCH) \
 				fs/cramfs fs/fat fs/fdos fs/jffs2 \
-				net disk rtc dtt drivers drivers/sk98lin common \
+				net disk common drivers/bios_emulator \
+				drivers/block drivers/hwmon drivers/i2c \
+				drivers/input drivers/misc drivers/mtd \
+				drivers/mtd/nand drivers/mtd/nand_legacy \
+				drivers/mtd/onenand drivers/net drivers/net/sk98lin \
+				drivers/pci drivers/pcmcia drivers/qe drivers/rtc \
+				drivers/serial drivers/usb drivers/video \
 			\( -name CVS -prune \) -o \( -name '*.[ch]' -print \)`
 
 $(obj)System.map:	$(obj)u-boot

+ 1 - 1
board/cds/mpc8541cds/u-boot.lds

@@ -69,7 +69,7 @@ SECTIONS
     cpu/mpc85xx/interrupts.o (.text)
     cpu/mpc85xx/cpu_init.o (.text)
     cpu/mpc85xx/cpu.o (.text)
-    drivers/tsec.o (.text)
+    drivers/net/tsec.o (.text)
     cpu/mpc85xx/speed.o (.text)
     cpu/mpc85xx/pci.o (.text)
     common/dlmalloc.o (.text)

+ 1 - 1
board/cds/mpc8548cds/u-boot.lds

@@ -69,7 +69,7 @@ SECTIONS
     cpu/mpc85xx/interrupts.o (.text)
     cpu/mpc85xx/cpu_init.o (.text)
     cpu/mpc85xx/cpu.o (.text)
-    drivers/tsec.o (.text)
+    drivers/net/tsec.o (.text)
     cpu/mpc85xx/speed.o (.text)
     common/dlmalloc.o (.text)
     lib_generic/crc32.o (.text)

+ 1 - 1
board/cds/mpc8555cds/u-boot.lds

@@ -69,7 +69,7 @@ SECTIONS
     cpu/mpc85xx/interrupts.o (.text)
     cpu/mpc85xx/cpu_init.o (.text)
     cpu/mpc85xx/cpu.o (.text)
-    drivers/tsec.o (.text)
+    drivers/net/tsec.o (.text)
     cpu/mpc85xx/speed.o (.text)
     cpu/mpc85xx/pci.o (.text)
     common/dlmalloc.o (.text)

+ 1 - 1
board/mpl/vcma9/cmd_vcma9.c

@@ -31,7 +31,7 @@
 #include "../common/common_util.h"
 
 #if defined(CONFIG_DRIVER_CS8900)
-#include <../drivers/cs8900.h>
+#include <../drivers/net/cs8900.h>
 
 static uchar cs8900_chksum(ushort data)
 {

+ 1 - 1
board/netstar/eeprom.c

@@ -26,7 +26,7 @@
 
 #include <common.h>
 #include <exports.h>
-#include "../drivers/smc91111.h"
+#include "../drivers/net/smc91111.h"
 
 #define SMC_BASE_ADDRESS CONFIG_SMC91111_BASE
 

+ 1 - 1
board/voiceblue/eeprom.c

@@ -26,7 +26,7 @@
 
 #include <common.h>
 #include <exports.h>
-#include "../drivers/smc91111.h"
+#include "../drivers/net/smc91111.h"
 
 #define SMC_BASE_ADDRESS CONFIG_SMC91111_BASE
 

+ 0 - 162
drivers/Makefile

@@ -1,162 +0,0 @@
-#
-# (C) Copyright 2000-2007
-# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
-#
-# See file CREDITS for list of people who contributed to this
-# project.
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation; either version 2 of
-# the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
-# MA 02111-1307 USA
-#
-
-include $(TOPDIR)/config.mk
-
-# CFLAGS += -DET_DEBUG -DDEBUG
-
-LIB	= $(obj)libdrivers.a
-
-COBJS-y += ali512x.o
-COBJS-y += ds1722.o
-COBJS-y += ns87308.o
-COBJS-y += status_led.o
-
-#
-# Block and Flash Drivers
-#
-COBJS-y += ahci.o
-COBJS-y += at45.o
-COBJS-y += ata_piix.o
-COBJS-y += cfi_flash.o
-COBJS-y += dataflash.o
-COBJS-y += mw_eeprom.o
-COBJS-y += sil680.o
-COBJS-y += sym53c8xx.o
-COBJS-y += systemace.o
-
-#
-# Console Drivers
-#
-COBJS-y += ati_radeon_fb.o
-COBJS-y += atmel_usart.o
-COBJS-y += cfb_console.o
-COBJS-y += ct69000.o
-COBJS-y += i8042.o
-COBJS-y += keyboard.o
-COBJS-y += netconsole.o
-COBJS-y += ns16550.o
-COBJS-y += pc_keyb.o
-COBJS-y += ps2ser.o
-COBJS-y += ps2mult.o
-COBJS-y += s3c4510b_uart.o
-COBJS-y += sed13806.o
-COBJS-y += sed156x.o
-COBJS-y += serial.o
-COBJS-y += serial_max3100.o
-COBJS-y += serial_xuartlite.o
-COBJS-y += sm501.o
-COBJS-y += smiLynxEM.o
-COBJS-y += usbtty.o
-COBJS-y += videomodes.o
-
-#
-# I2C Drivers
-#
-COBJS-y += omap1510_i2c.o
-COBJS-y += omap24xx_i2c.o
-COBJS-y += tsi108_i2c.o
-COBJS-y += fsl_i2c.o
-
-#
-# Network Drivers
-#
-COBJS-y += 3c589.o
-COBJS-y += bcm570x.o bcm570x_autoneg.o 5701rls.o
-COBJS-y += cs8900.o
-COBJS-y += dc2114x.o
-COBJS-y += dm9000x.o
-COBJS-y += e1000.o
-COBJS-y += eepro100.o
-COBJS-y += enc28j60.o
-COBJS-y += inca-ip_sw.o
-COBJS-y += ks8695eth.o
-COBJS-y += lan91c96.o
-COBJS-y += macb.o
-COBJS-y += natsemi.o
-COBJS-y += ne2000.o
-COBJS-y += netarm_eth.o
-COBJS-y += ns7520_eth.o
-COBJS-y += ns8382x.o
-COBJS-y += pcnet.o
-COBJS-y += plb2800_eth.o
-COBJS-y += rtl8019.o
-COBJS-y += rtl8139.o
-COBJS-y += rtl8169.o
-COBJS-y += s3c4510b_eth.o
-COBJS-y += smc91111.o
-COBJS-y += tigon3.o
-COBJS-y += tsec.o
-COBJS-y += tsi108_eth.o
-COBJS-y += uli526x.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 += tqm8xx_pcmcia.o
-COBJS-y += tsi108_pci.o
-COBJS-y += w83c553f.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
-COBJS-y += ns87308.o
-COBJS-y += status_led.o
-
-COBJS	:= $(COBJS-y)
-SRCS	:= $(COBJS:.o=.c)
-OBJS	:= $(addprefix $(obj),$(COBJS))
-
-all:	$(LIB)
-
-$(LIB): $(obj).depend $(OBJS)
-	$(AR) $(ARFLAGS) $@ $(OBJS)
-
-#########################################################################
-
-# defines $(obj).depend target
-include $(SRCTREE)/rules.mk
-
-sinclude $(obj).depend
-
-#########################################################################

+ 50 - 0
drivers/block/Makefile

@@ -0,0 +1,50 @@
+#
+# (C) Copyright 2000-2007
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB 	:= $(obj)libblock.a
+
+COBJS-y += ahci.o
+COBJS-y += ata_piix.o
+COBJS-y += sil680.o
+COBJS-y += sym53c8xx.o
+COBJS-y += systemace.o
+
+COBJS	:= $(COBJS-y)
+SRCS 	:= $(COBJS:.o=.c)
+OBJS 	:= $(addprefix $(obj),$(COBJS))
+
+all:	$(LIB)
+
+$(LIB):	$(obj).depend $(OBJS)
+	$(AR) $(ARFLAGS) $@ $(OBJS)
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################

+ 0 - 0
drivers/ahci.c → drivers/block/ahci.c


+ 0 - 0
drivers/ata_piix.c → drivers/block/ata_piix.c


+ 0 - 0
drivers/sil680.c → drivers/block/sil680.c


+ 0 - 0
drivers/sym53c8xx.c → drivers/block/sym53c8xx.c


+ 0 - 0
drivers/systemace.c → drivers/block/systemace.c


+ 5 - 4
dtt/Makefile → drivers/hwmon/Makefile

@@ -28,13 +28,14 @@ include $(TOPDIR)/config.mk
 
 #CFLAGS += -DDEBUG
 
-LIB	= $(obj)libdtt.a
+LIB	= $(obj)libhwmon.a
 
-COBJS-y += lm75.o
-COBJS-y += ds1621.o
 COBJS-y += adm1021.o
-COBJS-y += lm81.o
+COBJS-y += ds1621.o
+COBJS-y += ds1722.o
 COBJS-y += ds1775.o
+COBJS-y += lm75.o
+COBJS-y += lm81.o
 
 COBJS	:= $(COBJS-y)
 SRCS	:= $(COBJS:.o=.c)

+ 0 - 0
dtt/adm1021.c → drivers/hwmon/adm1021.c


+ 0 - 0
dtt/ds1621.c → drivers/hwmon/ds1621.c


+ 0 - 0
drivers/ds1722.c → drivers/hwmon/ds1722.c


+ 0 - 0
dtt/ds1775.c → drivers/hwmon/ds1775.c


+ 0 - 0
dtt/lm75.c → drivers/hwmon/lm75.c


+ 0 - 0
dtt/lm81.c → drivers/hwmon/lm81.c


+ 49 - 0
drivers/i2c/Makefile

@@ -0,0 +1,49 @@
+#
+# (C) Copyright 2000-2007
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB 	:= $(obj)libi2c.a
+
+COBJS-y += fsl_i2c.o
+COBJS-y += omap1510_i2c.o
+COBJS-y += omap24xx_i2c.o
+COBJS-y += tsi108_i2c.o
+
+COBJS	:= $(COBJS-y)
+SRCS 	:= $(COBJS:.o=.c)
+OBJS 	:= $(addprefix $(obj),$(COBJS))
+
+all:	$(LIB)
+
+$(LIB):	$(obj).depend $(OBJS)
+	$(AR) $(ARFLAGS) $@ $(OBJS)
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################

+ 0 - 0
drivers/fsl_i2c.c → drivers/i2c/fsl_i2c.c


+ 0 - 0
drivers/omap1510_i2c.c → drivers/i2c/omap1510_i2c.c


+ 0 - 0
drivers/omap24xx_i2c.c → drivers/i2c/omap24xx_i2c.c


+ 0 - 0
drivers/tsi108_i2c.c → drivers/i2c/tsi108_i2c.c


+ 48 - 0
drivers/input/Makefile

@@ -0,0 +1,48 @@
+#
+# (C) Copyright 2000-2007
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB 	:= $(obj)libinput.a
+
+COBJS-y += i8042.o
+COBJS-y += keyboard.o
+COBJS-y += pc_keyb.o ps2ser.o ps2mult.o
+
+COBJS	:= $(COBJS-y)
+SRCS 	:= $(COBJS:.o=.c)
+OBJS 	:= $(addprefix $(obj),$(COBJS))
+
+all:	$(LIB)
+
+$(LIB):	$(obj).depend $(OBJS)
+	$(AR) $(ARFLAGS) $@ $(OBJS)
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################

+ 0 - 0
drivers/i8042.c → drivers/input/i8042.c


+ 0 - 0
drivers/keyboard.c → drivers/input/keyboard.c


+ 0 - 0
drivers/pc_keyb.c → drivers/input/pc_keyb.c


+ 0 - 0
drivers/ps2mult.c → drivers/input/ps2mult.c


+ 0 - 0
drivers/ps2ser.c → drivers/input/ps2ser.c


+ 48 - 0
drivers/misc/Makefile

@@ -0,0 +1,48 @@
+#
+# (C) Copyright 2000-2007
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB 	:= $(obj)libmisc.a
+
+COBJS-y += ali512x.o
+COBJS-y += ns87308.o
+COBJS-y += status_led.o
+
+COBJS	:= $(COBJS-y)
+SRCS 	:= $(COBJS:.o=.c)
+OBJS 	:= $(addprefix $(obj),$(COBJS))
+
+all:	$(LIB)
+
+$(LIB):	$(obj).depend $(OBJS)
+	$(AR) $(ARFLAGS) $@ $(OBJS)
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################

+ 0 - 0
drivers/ali512x.c → drivers/misc/ali512x.c


+ 0 - 0
drivers/ns87308.c → drivers/misc/ns87308.c


+ 0 - 0
drivers/status_led.c → drivers/misc/status_led.c


+ 49 - 0
drivers/mtd/Makefile

@@ -0,0 +1,49 @@
+#
+# (C) Copyright 2000-2007
+# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
+#
+# See file CREDITS for list of people who contributed to this
+# project.
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2 of
+# the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+# MA 02111-1307 USA
+#
+
+include $(TOPDIR)/config.mk
+
+LIB 	:= $(obj)libmtd.a
+
+COBJS-y += at45.o
+COBJS-y += cfi_flash.o
+COBJS-y += dataflash.o
+COBJS-y += mw_eeprom.o
+
+COBJS	:= $(COBJS-y)
+SRCS 	:= $(COBJS:.o=.c)
+OBJS 	:= $(addprefix $(obj),$(COBJS))
+
+all:	$(LIB)
+
+$(LIB):	$(obj).depend $(OBJS)
+	$(AR) $(ARFLAGS) $@ $(OBJS)
+
+#########################################################################
+
+# defines $(obj).depend target
+include $(SRCTREE)/rules.mk
+
+sinclude $(obj).depend
+
+#########################################################################

+ 0 - 0
drivers/at45.c → drivers/mtd/at45.c


+ 0 - 0
drivers/cfi_flash.c → drivers/mtd/cfi_flash.c


+ 0 - 0
drivers/dataflash.c → drivers/mtd/dataflash.c


+ 0 - 0
drivers/mw_eeprom.c → drivers/mtd/mw_eeprom.c


+ 0 - 0
drivers/nand/Makefile → drivers/mtd/nand/Makefile


+ 0 - 0
drivers/nand/diskonchip.c → drivers/mtd/nand/diskonchip.c


+ 0 - 0
drivers/nand/nand.c → drivers/mtd/nand/nand.c


+ 0 - 0
drivers/nand/nand_base.c → drivers/mtd/nand/nand_base.c


+ 0 - 0
drivers/nand/nand_bbt.c → drivers/mtd/nand/nand_bbt.c


+ 0 - 0
drivers/nand/nand_ecc.c → drivers/mtd/nand/nand_ecc.c


+ 0 - 0
drivers/nand/nand_ids.c → drivers/mtd/nand/nand_ids.c


+ 0 - 0
drivers/nand/nand_util.c → drivers/mtd/nand/nand_util.c


+ 0 - 0
drivers/nand_legacy/Makefile → drivers/mtd/nand_legacy/Makefile


+ 0 - 0
drivers/nand_legacy/nand_legacy.c → drivers/mtd/nand_legacy/nand_legacy.c


+ 0 - 0
drivers/onenand/Makefile → drivers/mtd/onenand/Makefile


+ 0 - 0
drivers/onenand/onenand_base.c → drivers/mtd/onenand/onenand_base.c


+ 0 - 0
drivers/onenand/onenand_bbt.c → drivers/mtd/onenand/onenand_bbt.c


+ 0 - 0
drivers/3c589.c → drivers/net/3c589.c


+ 0 - 0
drivers/3c589.h → drivers/net/3c589.h


+ 0 - 0
drivers/5701rls.c → drivers/net/5701rls.c


+ 0 - 0
drivers/5701rls.h → drivers/net/5701rls.h


+ 0 - 0
drivers/8390.h → drivers/net/8390.h


+ 32 - 1
drivers/net/Makefile

@@ -25,8 +25,39 @@ include $(TOPDIR)/config.mk
 
 LIB 	:= $(obj)libnet.a
 
-COBJS 	:= mcffec.o
+COBJS-y += 3c589.o
+COBJS-y += bcm570x.o bcm570x_autoneg.o 5701rls.o
+COBJS-y += cs8900.o
+COBJS-y += dc2114x.o
+COBJS-y += dm9000x.o
+COBJS-y += e1000.o
+COBJS-y += eepro100.o
+COBJS-y += enc28j60.o
+COBJS-y += inca-ip_sw.o
+COBJS-y += ks8695eth.o
+COBJS-y += lan91c96.o
+COBJS-y += macb.o
+COBJS-y += mcffec.o
+COBJS-y += natsemi.o
+COBJS-y += ne2000.o
+COBJS-y += netarm_eth.o
+COBJS-y += netconsole.o
+COBJS-y += ns7520_eth.o
+COBJS-y += ns8382x.o
+COBJS-y += ns9750_eth.o
+COBJS-y += pcnet.o
+COBJS-y += plb2800_eth.o
+COBJS-y += rtl8019.o
+COBJS-y += rtl8139.o
+COBJS-y += rtl8169.o
+COBJS-y += s3c4510b_eth.o
+COBJS-y += smc91111.o
+COBJS-y += tigon3.o
+COBJS-y += tsec.o
+COBJS-y += tsi108_eth.o
+COBJS-y += uli526x.o
 
+COBJS	:= $(COBJS-y)
 SRCS 	:= $(COBJS:.o=.c)
 OBJS 	:= $(addprefix $(obj),$(COBJS))
 

+ 0 - 0
drivers/bcm570x.c → drivers/net/bcm570x.c


+ 0 - 0
drivers/bcm570x_autoneg.c → drivers/net/bcm570x_autoneg.c


+ 0 - 0
drivers/bcm570x_autoneg.h → drivers/net/bcm570x_autoneg.h


+ 0 - 0
drivers/bcm570x_bits.h → drivers/net/bcm570x_bits.h


+ 0 - 0
drivers/bcm570x_debug.h → drivers/net/bcm570x_debug.h


+ 0 - 0
drivers/bcm570x_lm.h → drivers/net/bcm570x_lm.h


+ 0 - 0
drivers/bcm570x_mm.h → drivers/net/bcm570x_mm.h


+ 0 - 0
drivers/bcm570x_queue.h → drivers/net/bcm570x_queue.h


+ 0 - 0
drivers/cs8900.c → drivers/net/cs8900.c


+ 0 - 0
drivers/cs8900.h → drivers/net/cs8900.h


+ 0 - 0
drivers/dc2114x.c → drivers/net/dc2114x.c


+ 0 - 0
drivers/dm9000x.c → drivers/net/dm9000x.c


+ 0 - 0
drivers/dm9000x.h → drivers/net/dm9000x.h


+ 0 - 0
drivers/e1000.c → drivers/net/e1000.c


+ 0 - 0
drivers/e1000.h → drivers/net/e1000.h


+ 0 - 0
drivers/eepro100.c → drivers/net/eepro100.c


+ 0 - 0
drivers/enc28j60.c → drivers/net/enc28j60.c


+ 0 - 0
drivers/inca-ip_sw.c → drivers/net/inca-ip_sw.c


+ 0 - 0
drivers/ks8695eth.c → drivers/net/ks8695eth.c


+ 0 - 0
drivers/lan91c96.c → drivers/net/lan91c96.c


+ 0 - 0
drivers/lan91c96.h → drivers/net/lan91c96.h


+ 0 - 0
drivers/macb.c → drivers/net/macb.c


+ 0 - 0
drivers/macb.h → drivers/net/macb.h


+ 0 - 0
drivers/natsemi.c → drivers/net/natsemi.c


+ 0 - 0
drivers/ne2000.c → drivers/net/ne2000.c


+ 0 - 0
drivers/ne2000.h → drivers/net/ne2000.h


+ 0 - 0
drivers/netarm_eth.c → drivers/net/netarm_eth.c


+ 0 - 0
drivers/netarm_eth.h → drivers/net/netarm_eth.h


+ 0 - 0
drivers/netconsole.c → drivers/net/netconsole.c


+ 0 - 0
drivers/nicext.h → drivers/net/nicext.h


+ 0 - 0
drivers/ns7520_eth.c → drivers/net/ns7520_eth.c


+ 0 - 0
drivers/ns8382x.c → drivers/net/ns8382x.c


+ 0 - 0
drivers/ns9750_eth.c → drivers/net/ns9750_eth.c


+ 0 - 0
drivers/pcnet.c → drivers/net/pcnet.c


+ 0 - 0
drivers/plb2800_eth.c → drivers/net/plb2800_eth.c


+ 0 - 0
drivers/rtl8019.c → drivers/net/rtl8019.c


+ 0 - 0
drivers/rtl8019.h → drivers/net/rtl8019.h


+ 0 - 0
drivers/rtl8139.c → drivers/net/rtl8139.c


+ 0 - 0
drivers/rtl8169.c → drivers/net/rtl8169.c


+ 0 - 0
drivers/s3c4510b_eth.c → drivers/net/s3c4510b_eth.c


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä