From: Al Viro Date: Thu, 23 Aug 2007 07:03:51 +0000 (-0400) Subject: 3c509: endianness X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=bd7eb1c549188e4f7993e324b1bbe267fc13675c;p=linux-beck.git 3c509: endianness Signed-off-by: Al Viro Signed-off-by: Jeff Garzik --- diff --git a/drivers/net/3c509.c b/drivers/net/3c509.c index c576fe76d54f..edda6e10ebe5 100644 --- a/drivers/net/3c509.c +++ b/drivers/net/3c509.c @@ -299,7 +299,7 @@ static struct isapnp_device_id el3_isapnp_adapters[] __initdata = { { } /* terminate list */ }; -static u16 el3_isapnp_phys_addr[8][3]; +static __be16 el3_isapnp_phys_addr[8][3]; static int nopnp; #endif /* __ISAPNP__ */ @@ -379,7 +379,7 @@ static int __init el3_probe(int card_idx) struct el3_private *lp; short lrs_state = 0xff, i; int ioaddr, irq, if_port; - u16 phys_addr[3]; + __be16 phys_addr[3]; static int current_tag; int err = -ENODEV; #if defined(__ISAPNP__)