public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Patch(2.4.2): serial.c timedia oneliner (Resend)
@ 2001-03-16  8:47 Gunther Mayer
  2001-03-16  7:56 ` Theodore Tso
  0 siblings, 1 reply; 2+ messages in thread
From: Gunther Mayer @ 2001-03-16  8:47 UTC (permalink / raw)
  To: alan; +Cc: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 825 bytes --]

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;
                        }

[-- Attachment #2: gmdiff-lx242-serialc-timedia-oneliner --]
[-- Type: application/octet-stream, Size: 397 bytes --]

--- 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;
 			}

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-16  7:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-16  8:47 Patch(2.4.2): serial.c timedia oneliner (Resend) Gunther Mayer
2001-03-16  7:56 ` Theodore Tso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox