diff options
Diffstat (limited to 'arch/ia64/hp')
-rw-r--r-- | arch/ia64/hp/sim/simeth.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/ia64/hp/sim/simeth.c b/arch/ia64/hp/sim/simeth.c index b5195be62818..e1a1b11473e2 100644 --- a/arch/ia64/hp/sim/simeth.c +++ b/arch/ia64/hp/sim/simeth.c | |||
@@ -320,7 +320,7 @@ simeth_device_event(struct notifier_block *this,unsigned long event, void *ptr) | |||
320 | } | 320 | } |
321 | 321 | ||
322 | printk(KERN_INFO "simeth_device_event: %s ipaddr=0x%x\n", | 322 | printk(KERN_INFO "simeth_device_event: %s ipaddr=0x%x\n", |
323 | dev->name, htonl(ifa->ifa_local)); | 323 | dev->name, ntohl(ifa->ifa_local)); |
324 | 324 | ||
325 | /* | 325 | /* |
326 | * XXX Fix me | 326 | * XXX Fix me |
@@ -331,7 +331,7 @@ simeth_device_event(struct notifier_block *this,unsigned long event, void *ptr) | |||
331 | local = dev->priv; | 331 | local = dev->priv; |
332 | /* now do it for real */ | 332 | /* now do it for real */ |
333 | r = event == NETDEV_UP ? | 333 | r = event == NETDEV_UP ? |
334 | netdev_attach(local->simfd, dev->irq, htonl(ifa->ifa_local)): | 334 | netdev_attach(local->simfd, dev->irq, ntohl(ifa->ifa_local)): |
335 | netdev_detach(local->simfd); | 335 | netdev_detach(local->simfd); |
336 | 336 | ||
337 | printk(KERN_INFO "simeth: netdev_attach/detach: event=%s ->%d\n", | 337 | printk(KERN_INFO "simeth: netdev_attach/detach: event=%s ->%d\n", |