netdev
[Top] [All Lists]

[no subject]

To: netdev@xxxxxxxxxxx
Subject:
From: Linda Xie <lxie@xxxxxxxxxx>
Date: Sat, 27 Sep 2003 22:59:19 -0500
Cc: Linda Xie <lxie@xxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx



Hi,

Can anyone explain why base_addr member of net_device struct in
include/linux/netdevice.h is defined as
unsigned long, while base_addr member of ifmap struct in include/linux/if.h
is defined as unsigned short?

I have a test case where netdev->base_addr is 0x230000. When dev_ifsioc()
processes a "SIOCGIFMAP"
request, it put 0x0000 into ifr->ifr_map.base_addr instead of 0x230000.

Should base_addr member of ifmap struct be defined as unsigned long and
ifconfig command be modified accordingly?

Any thoughts?

Linda


<Prev in Thread] Current Thread [Next in Thread>
  • [no subject], Linda Xie <=