android_kernel_xiaomi_sm8350/drivers
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
..
acorn
acpi Pull bug3410 into release branch 2005-12-22 22:26:10 -05:00
atm [PATCH] drivers/atm/adummy.c NULL noise removal 2005-12-15 10:04:31 -08:00
base [PATCH] drivers/base/memory.c: unexport the static (sic) memory_sysdev_class 2005-12-15 14:22:45 -08:00
block [PATCH] USB: ub 02 Removed unused variable 2006-01-04 13:51:44 -08:00
bluetooth [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
cdrom
char [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
connector [PATCH] Add timestamp field to process events 2005-12-12 08:57:42 -08:00
cpufreq
crypto
dio
eisa
fc4 [SPARC]: introduce a SPARC Kconfig symbol 2005-12-22 23:09:54 -08:00
firmware [PATCH] dell_rbu: NULL noise removal 2005-12-15 10:04:30 -08:00
hwmon
i2c [PATCH] i2c: Fix i2c-mv64xxx compilation error 2005-12-16 11:25:25 -08:00
ide [PATCH] ide-cd: remove write-only cmd field from struct cdrom_info 2005-12-15 02:20:49 +01:00
ieee1394 ieee1394: write broadcast_channel only to select nodes (fixes device recognition) 2005-12-12 23:21:12 -05:00
infiniband
input [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
isdn [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
macintosh [PATCH] powerpc: more g5 overtemp problem fix 2006-01-02 08:38:37 -08:00
mca
md [PATCH] md: Change case of raid level reported in sys/mdX/md/level 2005-12-19 16:47:50 -08:00
media [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
message [PATCH] i2o: Do not disable pci device when it's in use 2005-12-18 11:19:43 -08:00
mfd [PATCH] input: fix ucb1x00-ts breakage after conversion to dynamic input_dev allocation 2005-12-12 08:57:45 -08:00
misc
mmc [MMC] Set correct capacity for 1024-byte block cards 2005-12-22 23:21:38 +00:00
mtd [SPARC]: introduce a SPARC Kconfig symbol 2005-12-22 23:09:54 -08:00
net [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
nubus
oprofile
parisc
parport
pci [PATCH] PCI express must be initialized before PCI hotplug 2005-12-16 11:25:25 -08:00
pcmcia
pnp
rapidio
s390 [PATCH] s390: remove redundant and useless code in qeth 2005-12-24 10:05:52 -05:00
sbus [PATCH] sbus/char/uctrl: missing prototypes and NULL noise removal 2005-12-15 10:01:28 -08:00
scsi [PATCH] Fix Fibre Channel boot oops 2005-12-26 10:17:43 -08:00
serial [ARM] 3216/1: indent and typo in drivers/serial/pxa.c 2005-12-30 15:57:35 +00:00
sh
sn
tc
telephony
usb [PATCH] USB: zd1201: make sysfs device symlink 2006-01-04 13:51:44 -08:00
video [VIDEO] sbuslib: Disallow private mmaps. 2005-12-24 12:06:10 -08:00
w1 [PATCH] USB: remove .owner field from struct usb_driver 2006-01-04 13:48:34 -08:00
zorro
Kconfig
Makefile Link USB drivers later in the kernel 2005-12-03 20:50:51 -08:00