Bug 124664

Summary: Eurotel CardPhone PCMCIA Modem not working with serial_cs
Product: [Fedora] Fedora Reporter: Petr Tuma <petr.tuma>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED NEXTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-16 04:19:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Alternative patch none

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.