summaryrefslogtreecommitdiffstats
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 16:52:06 -0700
commitbd7eb1c549188e4f7993e324b1bbe267fc13675c (patch)
tree4a8d5e23524fb02c28a1876f021b24e3b4780898 /drivers/net/3c509.c
parent16989ba6e9c501ffc004ec3c031b1c6065708ccf (diff)
downloadop-kernel-dev-bd7eb1c549188e4f7993e324b1bbe267fc13675c.zip
op-kernel-dev-bd7eb1c549188e4f7993e324b1bbe267fc13675c.tar.gz
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 c576fe7..edda6e1 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__)
OpenPOWER on IntegriCloud