diff options
author | Wolfgang Grandegger <wg@grandegger.com> | 2009-05-30 09:55:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-06-01 11:53:34 +0200 |
commit | 255a9154319d3cf475d527458037758935f6445b (patch) | |
tree | 317fd2edb63cfa222000cbfa4c4bed6da15c5420 /Documentation | |
parent | can: some fixes and cleanups to the initial device driver interface (diff) | |
download | linux-255a9154319d3cf475d527458037758935f6445b.tar.xz linux-255a9154319d3cf475d527458037758935f6445b.zip |
can: sja1000: stop misusing member base_addr of struct net_device
As discussed on the netdev mailing list, the member "base_addr" of
"struct net_device" should not be (mis)used to store the virtual
address to the SJA1000 register area. According to David Miller,
it's only use is to allow ISA and similar primitive bus devices to
have their I/O ports changed via ifconfig. The virtual address is
now stored in the private data structure of the SJA1000 device and
the callback functions use "struct sja1000_priv" instead of the
unneeded "struct net_device".
Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions