orinoco: allow driver to specify netdev_ops
commit5d75d2873489d47de31a29fb8793d5e61826e66a
authorDavid Kilroy <kilroyd@googlemail.com>
Sat, 23 Oct 2010 15:58:12 +0000 (23 16:58 +0100)
committerDavid Kilroy <kilroyd@googlemail.com>
Sat, 23 Oct 2010 16:09:01 +0000 (23 17:09 +0100)
tree52025fa0a67000bb72596905826457db5471e333
parent1b6d0bab37fdc0871c7035ef5a30c9464300f9c5
orinoco: allow driver to specify netdev_ops

Allow the main drivers to specify a custom version of the net_device_ops
structure. This is required by orinoco_usb to supply a separate transmit
function.

Export existing net_device_ops callbacks so that the drivers can reuse
some of the existing code.

Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco/airport.c
drivers/net/wireless/orinoco/main.c
drivers/net/wireless/orinoco/orinoco.h
drivers/net/wireless/orinoco/orinoco_cs.c
drivers/net/wireless/orinoco/orinoco_nortel.c
drivers/net/wireless/orinoco/orinoco_pci.c
drivers/net/wireless/orinoco/orinoco_plx.c
drivers/net/wireless/orinoco/orinoco_tmd.c
drivers/net/wireless/orinoco/spectrum_cs.c