Files
linux/drivers
Gertjan van Wingerde e01ae27f8c rt2x00: Allow dynamic addition of PCI/USB IDs.
Both USB and PCI drivers allow a system administrator to dynamically add
USB/PCI IDs to the device table that a driver supports via the
/sys/bus/{usb,pci,pci_express}/drivers/<driver-name>/new_id files.

However, for the rt2x00 drivers using this method currently crashes the
system with a NULL pointer failure.

This is due to the set-up of rt2x00 where the probe functions require a
rt2x00_ops structure in the driver_info field of the probed device. As
this field is empty for the dynamically added devices this fails for
these devices.

Fix this by introducing driver-specific probe wrappers that do nothing
but calling the bus-specific probe functions with the rt2x00_ops structure
as an argument, rather than depending on the driver_info field.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-04-19 15:39:45 -04:00
..
…
2011-03-28 07:42:58 -07:00
…
…
2011-03-29 18:19:06 +02:00
…
2011-03-29 14:50:42 +02:00
2011-03-22 17:43:59 -07:00
2011-03-18 17:15:11 -07:00
…
2011-03-22 17:43:59 -07:00
…
…
2011-03-23 14:55:56 -06:00
2011-03-29 14:48:08 +02:00
2011-03-22 17:44:17 -07:00
…
…
…
2011-03-29 14:48:13 +02:00
…
2011-04-04 16:20:07 -04:00
…
…
…
2011-03-28 19:33:04 +02:00
2011-03-29 10:01:05 -04:00
…
…