diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-12-22 12:52:52 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:07:58 -0500 |
commit | 904584018e9ba30a3e562d86ee7dfb6239105664 (patch) | |
tree | 4ca6856a732c4d8e98f0537ddf196a98e9058250 /drivers/net/wan/sbni.c | |
parent | a3edb08311fc559652ffc959e93eb5be9294443f (diff) |
annotate the rest of drivers/net/wan
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/wan/sbni.c')
-rw-r--r-- | drivers/net/wan/sbni.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c index 2e8b5c2de887..15d5c58e57bc 100644 --- a/drivers/net/wan/sbni.c +++ b/drivers/net/wan/sbni.c | |||
@@ -391,8 +391,8 @@ sbni_probe1( struct net_device *dev, unsigned long ioaddr, int irq ) | |||
391 | spin_lock_init( &nl->lock ); | 391 | spin_lock_init( &nl->lock ); |
392 | 392 | ||
393 | /* store MAC address (generate if that isn't known) */ | 393 | /* store MAC address (generate if that isn't known) */ |
394 | *(u16 *)dev->dev_addr = htons( 0x00ff ); | 394 | *(__be16 *)dev->dev_addr = htons( 0x00ff ); |
395 | *(u32 *)(dev->dev_addr + 2) = htonl( 0x01000000 | | 395 | *(__be32 *)(dev->dev_addr + 2) = htonl( 0x01000000 | |
396 | ( (mac[num] ? mac[num] : (u32)((long)dev->priv)) & 0x00ffffff) ); | 396 | ( (mac[num] ? mac[num] : (u32)((long)dev->priv)) & 0x00ffffff) ); |
397 | 397 | ||
398 | /* store link settings (speed, receive level ) */ | 398 | /* store link settings (speed, receive level ) */ |