aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/3c509.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2007-08-23 03:03:51 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:52:06 -0400
commitbd7eb1c549188e4f7993e324b1bbe267fc13675c (patch)
tree4a8d5e23524fb02c28a1876f021b24e3b4780898 /drivers/net/3c509.c
parent16989ba6e9c501ffc004ec3c031b1c6065708ccf (diff)
3c509: endianness
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/3c509.c')
-rw-r--r--drivers/net/3c509.c4
1 files changed, 2 insertions, 2 deletions
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 = {
299 { } /* terminate list */ 299 { } /* terminate list */
300}; 300};
301 301
302static u16 el3_isapnp_phys_addr[8][3]; 302static __be16 el3_isapnp_phys_addr[8][3];
303static int nopnp; 303static int nopnp;
304#endif /* __ISAPNP__ */ 304#endif /* __ISAPNP__ */
305 305
@@ -379,7 +379,7 @@ static int __init el3_probe(int card_idx)
379 struct el3_private *lp; 379 struct el3_private *lp;
380 short lrs_state = 0xff, i; 380 short lrs_state = 0xff, i;
381 int ioaddr, irq, if_port; 381 int ioaddr, irq, if_port;
382 u16 phys_addr[3]; 382 __be16 phys_addr[3];
383 static int current_tag; 383 static int current_tag;
384 int err = -ENODEV; 384 int err = -ENODEV;
385#if defined(__ISAPNP__) 385#if defined(__ISAPNP__)