orinoco: initiate cfg80211 conversion
commitea60a6aaf55984a13a7150568cc103d006e86ab2
authorDavid Kilroy <kilroyd@googlemail.com>
Thu, 18 Jun 2009 22:21:26 +0000 (18 23:21 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:01:44 +0000 (10 15:01 -0400)
tree1c6b80d7d6a2129fe33591508ac125b65100fa09
parent98e5f404485d5d11b15e8351535a0e064a37647c
orinoco: initiate cfg80211 conversion

Initialise and register a wiphy.

Store the orinoco_private structure in the new wiphy, and use the
net_device private area to store the wireless_dev. This results in a
change to the way we navigate from a net_device to the driver private
orinoco_private, which we encapsulate in the inline function ndev_priv.
Most of the remaining calls to netdev_priv are thus replaced by
ndev_priv.

We can immediately rely on cfg80211 to handle SIOCGIWNAME, so
orinoco_ioctl_getname is removed.

Signed-off-by: David Kilroy <kilroyd@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/orinoco/Kconfig
drivers/net/wireless/orinoco/Makefile
drivers/net/wireless/orinoco/cfg.c [new file with mode: 0644]
drivers/net/wireless/orinoco/cfg.h [new file with mode: 0644]
drivers/net/wireless/orinoco/main.c
drivers/net/wireless/orinoco/orinoco.h
drivers/net/wireless/orinoco/wext.c