X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=drivers%2Fnet%2Fne2000.c;h=abf910c54f80bc2603d767037a5dc978cf61a9a7;hb=6a8a5dc4759867c45aa95580deb8bf26669a5d97;hp=36ea35b2c217df51d85406f692c15e80782f9497;hpb=e0a6140dd381e1eed1ada2291166ef2616d8822b;p=u-boot diff --git a/drivers/net/ne2000.c b/drivers/net/ne2000.c index 36ea35b2c2..abf910c54f 100644 --- a/drivers/net/ne2000.c +++ b/drivers/net/ne2000.c @@ -112,8 +112,13 @@ void uboot_push_tx_done(int key, int val); /* NE2000 base header file */ #include "ne2000_base.h" +#if defined(CONFIG_DRIVER_AX88796L) +/* AX88796L support */ +#include "ax88796.h" +#else /* Basic NE2000 chip support */ #include "ne2000.h" +#endif static dp83902a_priv_data_t nic; /* just one instance of the card supported */ @@ -131,6 +136,7 @@ dp83902a_init(void) DEBUG_LINE(); #if defined(NE2000_BASIC_INIT) + /* AX88796L doesn't need */ /* Prepare ESA */ DP_OUT(base, DP_CR, DP_CR_NODMA | DP_CR_PAGE1); /* Select page 1 */ /* Use the address from the serial EEPROM */