Patch(2.4.6):serial unmaintained (bugfix pci timedia/sunix/exsys pci cards)

Patch(2.4.6):serial unmaintained (bugfix pci timedia/sunix/exsys pci cards)

Post by Gunther May » Sat, 14 Jul 2001 01:40:05



Hi,
this  one-liner fixes a longstanding bug in serial
for Timedia/Sunix/Exsys PCI cards !

The fix was sent to Ted several times since 02/2001 and
uploaded to http://sourceforge.net/projects/serial/.
There was no reaction.

By listing a defunct MAINTAINER the progress of linux is stuck
as patches go to /dev/null by
- the maintainer (who got lost for unknown, perhaps even valid reasons)
- Linus, as he waits for approval by the maintainer.

Linus, can you please include this patch?

Regards, Gunther

(Without this patch serial recognizes wrong number of serial ports!)
--- linux/drivers/char/serial.c-246     Thu Jul 12 18:12:08 2001

        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

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Patch(2.4.6):serial unmaintained (bugfix pci timedia/sunix/exsys pci cards)

Post by Linus Torvald » Sat, 14 Jul 2001 01:40:07



> this  one-liner fixes a longstanding bug in serial
> for Timedia/Sunix/Exsys PCI cards !

This should already be fixed in 2.4.7-pre6, can you verify that it works
for you?

                Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

Patch(2.4.6):serial unmaintained (bugfix pci timedia/sunix/exsys pci cards)

Post by Joerg Schmitz-Linnewebe » Sat, 14 Jul 2001 18:20:05


Hi!

Am Donnerstag, 12. Juli 2001 18:31 schrieb Linus Torvalds:

Quote:> This should already be fixed in 2.4.7-pre6, can you verify that it works
> for you?

There are a lot more bugs (and "send-in" patches to Ted) which fix a lot of
problems even in the 2.4.7-x driver.
I know about a guy "Ian Abbott" (abbotti at mev.co.uk) which is active on the
serial.sf.net bug-list and has done a lot good to the serial driver. Perhaps
he should be heard regarding this.

Personally I found a (h/w) timinig problem in the inititalisation code which
hangs the "sunix" chips (and freezes the complete box). But since I couldn't
get my hands on a datasheet of these chips, I've until now only solved this
problem through a hand full of delays after "critical" I/O operations (very
ugly).

Salut, J?rg
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

 
 
 

1. Support Timedia/Sunix/Exsys PCI card problem in Serial 5.0.5 / Kernel 2.4.xx

Hi!

I've found a bug in the serial driver 5.0.5, the problem is
that the Sunix pci 4port serial card wasn't correctly detected.

I'm using the serial 5.0.5 serial driver on a vanilla 2.2.19 kernel.

Searching the web I've found this changes that looks wrong :

http://www.linuxhq.com/kernel/v2.3/patch/patch-2.4.0-test7/linux_driv...

here the obvious patch that made it work again here on 2.2.19 kernel.
Should be applied also on 2.4.x :

--- serial.c.ori        Fri Jun  8 16:12:16 2001

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

ciao,
luca
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Is there a Solaris equivilent xntpd?

3. EXSYS (/Sunix/Timedia) 4055A 4 port PCI serial card

4. partition

5. System hangs with EXSYS 4055A 4 port PCI serial card

6. pixel corruption with XFree86 4.0.3, Intel i810 AGP card, kernel 2.2.19

7. EXSYS PCI Multiport serial card driver ???

8. Linuxconf, loopback not working, access to internet though.

9. PCI serial card with PCI 9052?

10. devfs + PCI serial card = no extra serial ports (probably uns upported card)

11. devfs + PCI serial card = no extra serial ports (probably unsupported card)

12. PCI ethernet card shares irq with PCI scsi card

13. PCI Riser card for Multia and S3 PCI card