Bug 124664 - Eurotel CardPhone PCMCIA Modem not working with serial_cs
Summary: Eurotel CardPhone PCMCIA Modem not working with serial_cs
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-05-28 12:36 UTC by Petr Tuma
Modified: 2015-01-04 22:06 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-04-16 04:19:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Alternative patch (2.50 KB, patch)
2004-06-19 13:20 UTC, Alan Cox
no flags Details | Diff

Description Petr Tuma 2004-05-28 12:36:55 UTC
The serial_cs driver in /drivers/serial does not work with the Eurotel
CardPhone PCMCIA Modem. The problem can be traced down to the PCMCIA
card claiming to have an IO window of 16 rather than 8 bytes, which
the driver skips. The fix below works for me, although I do not claim
to understand PCMCIA enough to be sure it does not break other cards ...

# diff serial_cs.c.new serial_cs.c.old
410,412c410
<                       if ((cf->io.nwin > 0) &&
<                           ((cf->io.win[0].len == 8) ||
<                            (cf->io.win[0].len == 16)) &&
---
>                       if ((cf->io.nwin > 0) && (cf->io.win[0].len ==
8) &&


Version-Release number of selected component (if applicable):
kernel-2.6.6-1.377

How reproducible:
Always

Steps to Reproduce:
N/A

Additional info:
N/A

Comment 1 Alan Cox 2004-06-19 13:19:48 UTC
This might be a safer approach - look for 8port entries and then for
16. Let me know if something like this also works

(see attachment)


Comment 2 Alan Cox 2004-06-19 13:20:44 UTC
Created attachment 101258 [details]
Alternative patch

Comment 3 Petr Tuma 2004-06-19 19:55:48 UTC
Tested the patch, works perfect, thanks ! (In fact, using it to write
this log entry :-).

Comment 4 Dave Jones 2005-04-16 04:19:51 UTC
Fedora Core 2 has now reached end of life, and no further updates will be
provided by Red Hat.  The Fedora legacy project will be producing further kernel
updates for security problems only.

If this bug has not been fixed in the latest Fedora Core 2 update kernel, please
try to reproduce it under Fedora Core 3, and reopen if necessary, changing the
product version accordingly.

Thank you.



Note You need to log in before you can comment on or make changes to this bug.