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

Grant Likely grant.likely at secretlab.ca
Thu Oct 11 22:16:03 CEST 2007


On 10/11/07, Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com> wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
>  Makefile                                  |    2 +-
>  drivers/Makefile                          |   36 -----------------------------
>  drivers/{ => net}/3c589.c                 |    0
>  drivers/{ => net}/3c589.h                 |    0
>  drivers/{ => net}/5701rls.c               |    0
>  drivers/{ => net}/5701rls.h               |    0
>  drivers/{ => net}/8390.h                  |    0
>  drivers/net/Makefile                      |   29 +++++++++++++++++++++++
>  drivers/{ => net}/bcm570x.c               |    0
>  drivers/{ => net}/bcm570x_autoneg.c       |    0
>  drivers/{ => net}/bcm570x_autoneg.h       |    0
>  drivers/{ => net}/bcm570x_bits.h          |    0
>  drivers/{ => net}/bcm570x_debug.h         |    0
>  drivers/{ => net}/bcm570x_lm.h            |    0
>  drivers/{ => net}/bcm570x_mm.h            |    0
>  drivers/{ => net}/bcm570x_queue.h         |    0
>  drivers/{ => net}/cs8900.c                |    0
>  drivers/{ => net}/cs8900.h                |    0
>  drivers/{ => net}/dc2114x.c               |    0
>  drivers/{ => net}/dm9000x.c               |    0
>  drivers/{ => net}/dm9000x.h               |    0
>  drivers/{ => net}/e1000.c                 |    0
>  drivers/{ => net}/e1000.h                 |    0
>  drivers/{ => net}/eepro100.c              |    0
>  drivers/{ => net}/enc28j60.c              |    0
>  drivers/{ => net}/inca-ip_sw.c            |    0
>  drivers/{ => net}/ks8695eth.c             |    0
>  drivers/{ => net}/lan91c96.c              |    0
>  drivers/{ => net}/lan91c96.h              |    0
>  drivers/{ => net}/macb.c                  |    0
>  drivers/{ => net}/macb.h                  |    0
>  drivers/{ => net}/natsemi.c               |    0
>  drivers/{ => net}/ne2000.c                |    0
>  drivers/{ => net}/ne2000.h                |    0
>  drivers/{ => net}/netarm_eth.c            |    0
>  drivers/{ => net}/netarm_eth.h            |    0
>  drivers/{ => net}/netconsole.c            |    0
>  drivers/{ => net}/nicext.h                |    0
>  drivers/{ => net}/ns7520_eth.c            |    0
>  drivers/{ => net}/ns8382x.c               |    0
>  drivers/{ => net}/ns9750_eth.c            |    0
>  drivers/{ => net}/pcnet.c                 |    0
>  drivers/{ => net}/plb2800_eth.c           |    0
>  drivers/{ => net}/rtl8019.c               |    0
>  drivers/{ => net}/rtl8019.h               |    0
>  drivers/{ => net}/rtl8139.c               |    0
>  drivers/{ => net}/rtl8169.c               |    0
>  drivers/{ => net}/s3c4510b_eth.c          |    0
>  drivers/{ => net}/s3c4510b_eth.h          |    0
>  drivers/{ => net}/sk98lin/Makefile        |    0
>  drivers/{ => net}/sk98lin/h/lm80.h        |    0
>  drivers/{ => net}/sk98lin/h/skaddr.h      |    0
>  drivers/{ => net}/sk98lin/h/skcsum.h      |    0
>  drivers/{ => net}/sk98lin/h/skdebug.h     |    0
>  drivers/{ => net}/sk98lin/h/skdrv1st.h    |    0
>  drivers/{ => net}/sk98lin/h/skdrv2nd.h    |    0
>  drivers/{ => net}/sk98lin/h/skerror.h     |    0
>  drivers/{ => net}/sk98lin/h/skgedrv.h     |    0
>  drivers/{ => net}/sk98lin/h/skgehw.h      |    0
>  drivers/{ => net}/sk98lin/h/skgehwt.h     |    0
>  drivers/{ => net}/sk98lin/h/skgei2c.h     |    0
>  drivers/{ => net}/sk98lin/h/skgeinit.h    |    0
>  drivers/{ => net}/sk98lin/h/skgepnm2.h    |    0
>  drivers/{ => net}/sk98lin/h/skgepnmi.h    |    0
>  drivers/{ => net}/sk98lin/h/skgesirq.h    |    0
>  drivers/{ => net}/sk98lin/h/ski2c.h       |    0
>  drivers/{ => net}/sk98lin/h/skqueue.h     |    0
>  drivers/{ => net}/sk98lin/h/skrlmt.h      |    0
>  drivers/{ => net}/sk98lin/h/sktimer.h     |    0
>  drivers/{ => net}/sk98lin/h/sktypes.h     |    0
>  drivers/{ => net}/sk98lin/h/skversion.h   |    0
>  drivers/{ => net}/sk98lin/h/skvpd.h       |    0
>  drivers/{ => net}/sk98lin/h/xmac_ii.h     |    0
>  drivers/{ => net}/sk98lin/skaddr.c        |    0
>  drivers/{ => net}/sk98lin/skcsum.c        |    0
>  drivers/{ => net}/sk98lin/skge.c          |    0
>  drivers/{ => net}/sk98lin/skgehwt.c       |    0
>  drivers/{ => net}/sk98lin/skgeinit.c      |    0
>  drivers/{ => net}/sk98lin/skgemib.c       |    0
>  drivers/{ => net}/sk98lin/skgepnmi.c      |    0
>  drivers/{ => net}/sk98lin/skgesirq.c      |    0
>  drivers/{ => net}/sk98lin/ski2c.c         |    0
>  drivers/{ => net}/sk98lin/sklm80.c        |    0
>  drivers/{ => net}/sk98lin/skproc.c        |    0
>  drivers/{ => net}/sk98lin/skqueue.c       |    0
>  drivers/{ => net}/sk98lin/skrlmt.c        |    0
>  drivers/{ => net}/sk98lin/sktimer.c       |    0
>  drivers/{ => net}/sk98lin/skvpd.c         |    0
>  drivers/{ => net}/sk98lin/skxmac2.c       |    0
>  drivers/{ => net}/sk98lin/u-boot_compat.h |    0
>  drivers/{ => net}/sk98lin/uboot_drv.c     |    0
>  drivers/{ => net}/sk98lin/uboot_skb.c     |    0
>  drivers/{ => net}/smc91111.c              |    0
>  drivers/{ => net}/smc91111.h              |    0
>  drivers/{ => net}/tigon3.c                |    0
>  drivers/{ => net}/tigon3.h                |    0
>  drivers/{ => net}/tsec.c                  |    0
>  drivers/{ => net}/tsec.h                  |    0
>  drivers/{ => net}/tsi108_eth.c            |    0
>  99 files changed, 30 insertions(+), 37 deletions(-)
>  rename drivers/{ => net}/3c589.c (100%)
>  rename drivers/{ => net}/3c589.h (100%)
>  rename drivers/{ => net}/5701rls.c (100%)
>  rename drivers/{ => net}/5701rls.h (100%)
>  rename drivers/{ => net}/8390.h (100%)
>  rename drivers/{ => net}/bcm570x.c (100%)
>  rename drivers/{ => net}/bcm570x_autoneg.c (100%)
>  rename drivers/{ => net}/bcm570x_autoneg.h (100%)
>  rename drivers/{ => net}/bcm570x_bits.h (100%)
>  rename drivers/{ => net}/bcm570x_debug.h (100%)
>  rename drivers/{ => net}/bcm570x_lm.h (100%)
>  rename drivers/{ => net}/bcm570x_mm.h (100%)
>  rename drivers/{ => net}/bcm570x_queue.h (100%)
>  rename drivers/{ => net}/cs8900.c (100%)
>  rename drivers/{ => net}/cs8900.h (100%)
>  rename drivers/{ => net}/dc2114x.c (100%)
>  rename drivers/{ => net}/dm9000x.c (100%)
>  rename drivers/{ => net}/dm9000x.h (100%)
>  rename drivers/{ => net}/e1000.c (100%)
>  rename drivers/{ => net}/e1000.h (100%)
>  rename drivers/{ => net}/eepro100.c (100%)
>  rename drivers/{ => net}/enc28j60.c (100%)
>  rename drivers/{ => net}/inca-ip_sw.c (100%)
>  rename drivers/{ => net}/ks8695eth.c (100%)
>  rename drivers/{ => net}/lan91c96.c (100%)
>  rename drivers/{ => net}/lan91c96.h (100%)
>  rename drivers/{ => net}/macb.c (100%)
>  rename drivers/{ => net}/macb.h (100%)
>  rename drivers/{ => net}/natsemi.c (100%)
>  rename drivers/{ => net}/ne2000.c (100%)
>  rename drivers/{ => net}/ne2000.h (100%)
>  rename drivers/{ => net}/netarm_eth.c (100%)
>  rename drivers/{ => net}/netarm_eth.h (100%)
>  rename drivers/{ => net}/netconsole.c (100%)
>  rename drivers/{ => net}/nicext.h (100%)
>  rename drivers/{ => net}/ns7520_eth.c (100%)
>  rename drivers/{ => net}/ns8382x.c (100%)
>  rename drivers/{ => net}/ns9750_eth.c (100%)
>  rename drivers/{ => net}/pcnet.c (100%)
>  rename drivers/{ => net}/plb2800_eth.c (100%)
>  rename drivers/{ => net}/rtl8019.c (100%)
>  rename drivers/{ => net}/rtl8019.h (100%)
>  rename drivers/{ => net}/rtl8139.c (100%)
>  rename drivers/{ => net}/rtl8169.c (100%)
>  rename drivers/{ => net}/s3c4510b_eth.c (100%)
>  rename drivers/{ => net}/s3c4510b_eth.h (100%)
>  rename drivers/{ => net}/sk98lin/Makefile (100%)
>  rename drivers/{ => net}/sk98lin/h/lm80.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skaddr.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skcsum.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skdebug.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skdrv1st.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skdrv2nd.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skerror.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skgedrv.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skgehw.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skgehwt.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skgei2c.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skgeinit.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skgepnm2.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skgepnmi.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skgesirq.h (100%)
>  rename drivers/{ => net}/sk98lin/h/ski2c.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skqueue.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skrlmt.h (100%)
>  rename drivers/{ => net}/sk98lin/h/sktimer.h (100%)
>  rename drivers/{ => net}/sk98lin/h/sktypes.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skversion.h (100%)
>  rename drivers/{ => net}/sk98lin/h/skvpd.h (100%)
>  rename drivers/{ => net}/sk98lin/h/xmac_ii.h (100%)
>  rename drivers/{ => net}/sk98lin/skaddr.c (100%)
>  rename drivers/{ => net}/sk98lin/skcsum.c (100%)
>  rename drivers/{ => net}/sk98lin/skge.c (100%)
>  rename drivers/{ => net}/sk98lin/skgehwt.c (100%)
>  rename drivers/{ => net}/sk98lin/skgeinit.c (100%)
>  rename drivers/{ => net}/sk98lin/skgemib.c (100%)
>  rename drivers/{ => net}/sk98lin/skgepnmi.c (100%)
>  rename drivers/{ => net}/sk98lin/skgesirq.c (100%)
>  rename drivers/{ => net}/sk98lin/ski2c.c (100%)
>  rename drivers/{ => net}/sk98lin/sklm80.c (100%)
>  rename drivers/{ => net}/sk98lin/skproc.c (100%)
>  rename drivers/{ => net}/sk98lin/skqueue.c (100%)
>  rename drivers/{ => net}/sk98lin/skrlmt.c (100%)
>  rename drivers/{ => net}/sk98lin/sktimer.c (100%)
>  rename drivers/{ => net}/sk98lin/skvpd.c (100%)
>  rename drivers/{ => net}/sk98lin/skxmac2.c (100%)
>  rename drivers/{ => net}/sk98lin/u-boot_compat.h (100%)
>  rename drivers/{ => net}/sk98lin/uboot_drv.c (100%)
>  rename drivers/{ => net}/sk98lin/uboot_skb.c (100%)
>  rename drivers/{ => net}/smc91111.c (100%)
>  rename drivers/{ => net}/smc91111.h (100%)
>  rename drivers/{ => net}/tigon3.c (100%)
>  rename drivers/{ => net}/tigon3.h (100%)
>  rename drivers/{ => net}/tsec.c (100%)
>  rename drivers/{ => net}/tsec.h (100%)
>  rename drivers/{ => net}/tsi108_eth.c (100%)
>
> diff --git a/Makefile b/Makefile
> index 57038e7..1e07a9d 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -223,6 +223,7 @@ LIBS += drivers/mtd/libmtd.a
>  LIBS += drivers/nand/libnand.a
>  LIBS += drivers/nand_legacy/libnand_legacy.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)
> @@ -234,7 +235,6 @@ endif
>  LIBS += drivers/sata/libsata.a
>  LIBS += drivers/scsi/libscsi.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
> diff --git a/drivers/Makefile b/drivers/Makefile
> index 5386313..6cd8ed6 100755
> --- a/drivers/Makefile
> +++ b/drivers/Makefile
> @@ -28,42 +28,6 @@ include $(TOPDIR)/config.mk
>  LIB    = $(obj)libdrivers.a
>
>  #
> -# Console Drivers
> -#
> -COBJS-y += netconsole.o

I'm not sure on this one.  Leave it out for the time being.

g.

-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
grant.likely at secretlab.ca
(403) 399-0195




More information about the U-Boot mailing list