Patch(2.4.2): serial.c timedia oneliner (Resend)

From: Gunther Mayer (Gunther.Mayer@t-online.de)
Date: Fri Mar 16 2001 - 03:47:14 EST


Hi,
please apply this oneliner to fix the Timedia/Sunix series PCI cards.

Regards, Gunther

P.S.
I'm sending this since 3 months to the maintainer (tytso@mit.edu)
and even submitted to serial.sourceforge.net but never got a reaction.
Anybody knows if Ted is still active?

--- linux/drivers/char/serial.c-242-orig Fri Mar 16 09:32:22 2001
+++ linux/drivers/char/serial.c Fri Mar 16 09:34:32 2001
@@ -4175,7 +4175,7 @@
        for (i=0; timedia_data[i].num; i++) {
                ids = timedia_data[i].ids;
                for (j=0; ids[j]; j++) {
- if (pci_get_subvendor(dev) == ids[j]) {
+ if (pci_get_subdevice(dev) == ids[j]) {
                                board->num_ports = timedia_data[i].num;
                                return 0;
                        }


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Mar 23 2001 - 21:00:08 EST