Re: [PATCH] Prevent trident driver from grabbing pcnet32 hardware



Jon Mason napsal(a):
> 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 patch is untested on Trident 4DWAVE_DX hardware, but has been
> tested on pcnet32 hardware.
>
> Thanks,
> Jon
>
> Signed-off-by: Jon Mason <jdmason@xxxxxxxxxx>
>
> diff -r 4a7597b41d25 sound/oss/trident.c
> --- a/sound/oss/trident.c Wed Jan 11 19:14:08 2006
> +++ b/sound/oss/trident.c Thu Jan 12 11:32:26 2006
You should change alsa driver (sound/pci/trident/trident.c), rather than this,
which will be removed soon, I guess. And, additionally, could you change that
lines to use PCI_DEVICE macro?

regards,
--
Jiri Slaby www.fi.muni.cz/~xslaby
~\-/~ jirislaby@xxxxxxxxx ~\-/~
B67499670407CE62ACC8 22A032CC55C339D47A7E
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: [PATCH] Prevent ALSA trident driver from grabbing pcnet32 hardware
    ... > Some pcnet32 hardware erroneously has the Vendor ID for Trident. ... > pcnet32 driver looks for the PCI ethernet class before grabbing the ...
    (Linux-Kernel)
  • [PATCH] Prevent ALSA trident driver from grabbing pcnet32 hardware
    ... Some pcnet32 hardware erroneously has the Vendor ID for Trident. ... pcnet32 driver looks for the PCI ethernet class before grabbing the ...
    (Linux-Kernel)
  • [PATCH] Prevent trident driver from grabbing pcnet32 hardware
    ... Some pcnet32 hardware erroneously has the Vendor ID for Trident. ... pcnet32 driver looks for the PCI ethernet class before grabbing the ...
    (Linux-Kernel)
  • [opensuse] openSUSE 10.3 not detecting SATA HD
    ... the sata_sis driver. ... I've tried turning off ACPI in bios and acpi=off which ... openSUSE 10.2 and all my hardware is working fine. ... info.product = 'USB Raw Device Access' ...
    (SuSE)
  • Re: 2008 SBS no longer boots
    ... driver issue initially, the fact that it seems to happen randomly now ... weird with a hardware problem that consistently doesn't get through boot ... other customer, even a 2 week old one, the problem immediately returned. ... There was a time when a server was fired up with a specialized OS and had a battery of tests run against each component to purposefully stress it. ...
    (microsoft.public.windows.server.sbs)