010-enet-ag71xx.patch 1.0 KB

12345678910111213141516171819202122
  1. diff -ur u-boot-2010.03/drivers/net/Makefile u-boot-nbg/drivers/net/Makefile
  2. --- u-boot-2010.03/drivers/net/Makefile 2010-03-31 23:54:39.000000000 +0200
  3. +++ u-boot-nbg/drivers/net/Makefile 2010-04-19 23:30:01.000000000 +0200
  4. @@ -27,6 +27,7 @@
  5. COBJS-$(CONFIG_DRIVER_3C589) += 3c589.o
  6. COBJS-$(CONFIG_PPC4xx_EMAC) += 4xx_enet.o
  7. +COBJS-$(CONFIG_AG71XX) += ag71xx.o
  8. COBJS-$(CONFIG_DRIVER_AT91EMAC) += at91_emac.o
  9. COBJS-$(CONFIG_DRIVER_AX88180) += ax88180.o
  10. COBJS-$(CONFIG_BCM570x) += bcm570x.o bcm570x_autoneg.o 5701rls.o
  11. diff -ur u-boot-2010.03/include/netdev.h u-boot-nbg/include/netdev.h
  12. --- u-boot-2010.03/include/netdev.h 2010-03-31 23:54:39.000000000 +0200
  13. +++ u-boot-nbg/include/netdev.h 2010-05-02 11:30:58.000000000 +0200
  14. @@ -42,6 +42,7 @@
  15. /* Driver initialization prototypes */
  16. int au1x00_enet_initialize(bd_t*);
  17. +int ag71xx_register(bd_t * bis, char *phyname[], u16 phyid[], u16 phyfixed[]);
  18. int at91emac_register(bd_t *bis, unsigned long iobase);
  19. int bfin_EMAC_initialize(bd_t *bis);
  20. int cs8900_initialize(u8 dev_num, int base_addr);