[PATCH] cs89x0: make {read,write}word take base_addr
authorLennert Buytenhek <buytenh@wantstofly.org>
Sun, 8 Jan 2006 09:01:06 +0000 (01:01 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 9 Jan 2006 04:12:45 +0000 (20:12 -0800)
commit974dffc2dd72d499a3ff150f61c8025b097a2c34
tree17b4a4890466dd8f67cd5163030c6f9675d3adb7
parent2f659f462d2ab519068d0e2bb677d7a700decb8d
[PATCH] cs89x0: make {read,write}word take base_addr

readword() and writeword() take a 'struct net_device *' and deref its
->base_addr member.  Make them take the base_addr directly instead, so
that we can switch the other occurences of inw/outw in the file over
to readword/writeword as well.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Cc: dmitry pervushin <dpervushin@ru.mvista.com>
Cc: <dsaxena@plexity.net>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/cs89x0.c