From: Al Viro Date: Thu, 23 Aug 2007 07:03:51 +0000 (-0400) Subject: 3c509: endianness X-Git-Tag: v2.6.24-rc1~1454^2~413 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd7eb1c549188e4f7993e324b1bbe267fc13675c;p=linux-2.6 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 c576fe76d5..edda6e10eb 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__)