mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 20:07:09 +00:00
979123d534
In this driver, netdev's private data is wlandevice_t. And the wlandev(type of wlandevice_t) is exist before netdev be allocated. So use netdev->ml_priv to point to the private data. I am not sure whether I should consider the kernel version older than 2.3.38. Because in those kernels, netdevice_t is "structure dev" instead of "structure net_device" and of course "dev->ml_priv" will cause compile error. But before my patch, in function wlan_setup(), there is a ether_setup(net_device) which already broke kernels which older than 2.3.38. Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com> Acked-by: Greg Kroah-Hartman <gregkh@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
hfa384x_usb.c | ||
hfa384x.c | ||
hfa384x.h | ||
Kconfig | ||
Makefile | ||
p80211conv.c | ||
p80211conv.h | ||
p80211hdr.h | ||
p80211ioctl.h | ||
p80211meta.h | ||
p80211metadef.h | ||
p80211metamib.h | ||
p80211metamsg.h | ||
p80211metastruct.h | ||
p80211mgmt.h | ||
p80211mod.c | ||
p80211msg.h | ||
p80211netdev.c | ||
p80211netdev.h | ||
p80211req.c | ||
p80211req.h | ||
p80211types.h | ||
p80211wep.c | ||
p80211wext.c | ||
prism2_cs.c | ||
prism2_pci.c | ||
prism2_plx.c | ||
prism2_usb.c | ||
prism2mgmt.c | ||
prism2mgmt.h | ||
prism2mib.c | ||
prism2sta.c | ||
README | ||
version.h | ||
wlan_compat.h |
TODO: - checkpatch.pl cleanups - sparse warnings - Lindent cleanups - move to use the in-kernel wireless stack - possible enable the pcmcia and pci portions of the driver Please send all patches to Greg Kroah-Hartman <greg@kroah.com>