original_kernel/drivers/usb/net
Nathan Lynch a083dec0ed [PATCH] USB: zd1201: make sysfs device symlink
Noticed that my zd1201 adapter isn't "seen" by hal and NetworkManager.
The problem seems to be that unlike other network device drivers I
checked, zd1201 does not do a SET_NETDEV_DEV(), which makes it so a
"device" symlink is created under /sys/class/net/wlan0.

With the following patch the device symlink shows up, and now I am
happily using NetworkManager to control the adapter:

$ ls -l /sys/class/net/wlan0
total 0
-r--r--r--  1 root root 4096 Dec 18 13:42 address
-r--r--r--  1 root root 4096 Dec 18 13:42 addr_len
-r--r--r--  1 root root 4096 Dec 18 13:42 broadcast
-r--r--r--  1 root root 4096 Dec 18 13:42 carrier
lrwxrwxrwx  1 root root    0 Dec 18 13:42 device -> ../../../devices/pci0001:10/0001:10:1b.1/usb4/4-1
-r--r--r--  1 root root 4096 Dec 18 13:42 features

Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-01-04 13:51:44 -08:00
..
Kconfig
Makefile
asix.c [PATCH] USB: asix.c - Add Linksys USB200M Rev 2 ids 2006-01-04 13:51:44 -08:00
catc.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
cdc_ether.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
cdc_subset.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
gl620a.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
kaweth.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
kawethfw.h
net1080.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
pegasus.c
pegasus.h
plusb.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
rndis_host.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
rtl8150.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
usbnet.c
usbnet.h
zaurus.c [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
zd1201.c [PATCH] USB: zd1201: make sysfs device symlink 2006-01-04 13:51:44 -08:00
zd1201.h