--- zzzz-none-000/linux-2.4.17/drivers/net/8390.h 2001-11-22 19:48:14.000000000 +0000 +++ sangam-fb-322/linux-2.4.17/drivers/net/8390.h 2004-11-24 13:23:32.000000000 +0000 @@ -33,11 +33,16 @@ unsigned short count; /* header + packet length in bytes */ }; + #ifdef notdef extern int ei_debug; #else +#ifdef CONFIG_REDWOOD_4 +#define ei_debug 0 +#else #define ei_debug 1 #endif +#endif #ifndef HAVE_AUTOIRQ /* From auto_irq.c */ @@ -119,6 +124,8 @@ defined(CONFIG_HYDRA) || defined(CONFIG_HYDRA_MODULE) || \ defined(CONFIG_ARM_ETHERH) || defined(CONFIG_ARM_ETHERH_MODULE) #define EI_SHIFT(x) (ei_local->reg_offset[x]) +#elif CONFIG_STB03xxx +#define EI_SHIFT(x) (2 * (x)) #else #define EI_SHIFT(x) (x) #endif