[PATCH] Prevent trident driver from grabbing pcnet32 hardware
authorJon Mason <jdmason@us.ibm.com>
Thu, 19 Jan 2006 01:42:25 +0000 (17:42 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 19 Jan 2006 03:20:16 +0000 (19:20 -0800)
commitc2aeacd48ca2418fbac985a58d2200c263444d65
tree3a0087d607c16ad91fe908daa38fe985156539d0
parent35fbd397f0ce2addd5ab889bf0bcd95f45837e3e
[PATCH] Prevent trident driver from grabbing pcnet32 hardware

Some pcnet32 hardware erroneously has the Vendor ID for Trident.  The
pcnet32 driver looks for the PCI ethernet class before grabbing the
hardware, but the current trident driver does not check against the PCI
audio class.  This allows the trident driver to claim the pcnet32 hardware.
 This patch prevents that.

This revised version of the OSS Trident patch includes PCI_DEVICE Macro
usage.

Signed-off-by: Jon Mason <jdmason@us.ibm.com>
Signed-off-by: Muli Ben-Yehuda <mulix@mulix.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
sound/oss/trident.c