diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2008-03-16 18:21:54 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-03-26 00:18:43 -0400 |
commit | eca1ad82bda0293339e1f8439dc9c8dba25ff088 (patch) | |
tree | d1c44284a6ad57dd8ae141644011a903f01fccd8 /drivers/net/atp.c | |
parent | 05bd831fcdf4ce08ae5b832cfe03a303245fb135 (diff) |
misc drivers/net annotations
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/atp.c')
-rw-r--r-- | drivers/net/atp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/atp.c b/drivers/net/atp.c index 62f09e59d9c4..3d4433358a36 100644 --- a/drivers/net/atp.c +++ b/drivers/net/atp.c | |||
@@ -378,8 +378,8 @@ static void __init get_node_ID(struct net_device *dev) | |||
378 | sa_offset = 15; | 378 | sa_offset = 15; |
379 | 379 | ||
380 | for (i = 0; i < 3; i++) | 380 | for (i = 0; i < 3; i++) |
381 | ((u16 *)dev->dev_addr)[i] = | 381 | ((__be16 *)dev->dev_addr)[i] = |
382 | be16_to_cpu(eeprom_op(ioaddr, EE_READ(sa_offset + i))); | 382 | cpu_to_be16(eeprom_op(ioaddr, EE_READ(sa_offset + i))); |
383 | 383 | ||
384 | write_reg(ioaddr, CMR2, CMR2_NULL); | 384 | write_reg(ioaddr, CMR2, CMR2_NULL); |
385 | } | 385 | } |