summaryrefslogtreecommitdiffstats
path: root/drivers/net/8390.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/8390.c')
-rw-r--r--drivers/net/8390.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/8390.c b/drivers/net/8390.c
index a4ec3fb54..da0ffc102 100644
--- a/drivers/net/8390.c
+++ b/drivers/net/8390.c
@@ -1054,7 +1054,9 @@ void NS8390_init(struct net_device *dev, int startp)
long e8390_base = dev->base_addr;
struct ei_device *ei_local = (struct ei_device *) dev->priv;
int i;
- int endcfg = ei_local->word16 ? (0x48 | ENDCFG_WTS) : 0x48;
+ int endcfg = ei_local->word16
+ ? (0x48 | ENDCFG_WTS | (ei_local->bigendian ? ENDCFG_BOS : 0))
+ : 0x48;
if(sizeof(struct e8390_pkt_hdr)!=4)
panic("8390.c: header struct mispacked\n");