Skip to contentSkip to conversation

Adding PCMCIA support to the kernel tree -- developers needed.

DISCUSSION Miles Lane 3 participants 5 messages Feb 3, 2001 – Feb 5, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Miles Lane

author
#1 lore raw

Hi,

I asked David Hinds to write up an outline of the things that will be needed to get PCMCIA support cleanly and completely integrated into the kernel tree.

David has expressed that he'll not be able to participate in this work. He has his hands full with his day job and his role as maintainer/developer of the pcmcia-cs package.

David, I would appreciate one additional layer of information that is not present in your list. Would add the names of a few representative devices for each of your bullet points? For example, for the last list item, what are the names of the major (non-CardBus) PCI-to-PCMCIA bridges?

Here is David's list:

Quoted 30 lines

To include 16-bit PCMCIA cards in the hot plug framework would require few driver changes; the only mandatory changes would be in how drivers register themselves and are hooked up with appropriate devices:

-- Make up pcmcia_device_id and pcmcia_driver types, and write new
register/unregister calls to parallel PCI and USB drivers. This would eventually take over for the "ds" module and cardmgr.

-- Rewrite all PCMCIA client drivers to have MODULE_DEVICE_TABLE
entries and use the new driver services. This can all be done incrementally, with ds/cardmgr handling old-style drivers.

-- The CIS override functionality in the PCMCIA package is unpleasant
to support in a completely in-kernel framework.

Missing functionality in the hot plug framework:

-- Only new network devices generate /sbin/hotplug events now. Modify
all other device types to also do so: the ones currently handled by PCMCIA include serial, parallel, SCSI (all types), and IDE.

-- There is no mechanism to request a card eject in the new framework.
This is required for clean shutdown of SCSI and IDE adapters.

-- The PCMCIA device configuration scripts have a lot of capabilities
that the hotplug scripts do not have yet. At the moment, the extent of device-specific hotplug configuration is running "ifup".

Missing functionality in the 2.4 PCMCIA drivers:

Quoted 7 lines

-- The yenta driver can't handle CardBus adapter cards for desktop
systems. Many require explicit overrides for the default interrupt delivery settings, and a few require other special bridge settings.

-- The i82365 driver can't handle (non-CardBus) PCI-to-PCMCIA bridges
any more. Some of the PCI code in the old i82365 driver needs to be put back.

This list does seem to break out the work into chunks that can be tackled more or less independently.

Anyone willing to sign up for some of this effort?

Miles
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#2 lore raw
Quoted 7 lines · Miles Lane

I asked David Hinds to write up an outline of the things that will be needed to get PCMCIA support cleanly and completely integrated into the kernel tree.

David has expressed that he'll not be able to participate in this work. He has his hands full with his day job and his role as maintainer/developer of the pcmcia-cs package.

[...]

Quoted 1 line

Anyone willing to sign up for some of this effort?

I'll convert all the network drivers once a design is agreed upon.

Jeff

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

author
#3 lore raw
Quoted 6 lines · Jeff Garzik
Quoted 4 lines · Miles Lane

I asked David Hinds to write up an outline of the things that will be needed to get PCMCIA support cleanly and completely integrated into the kernel tree.

Quoted 7 lines
Quoted 3 lines

David has expressed that he'll not be able to participate in this work. He has his hands full with his day job and his role as maintainer/developer of the pcmcia-cs package.

[...]

Quoted 1 line

Anyone willing to sign up for some of this effort?

I'll convert all the network drivers once a design is agreed upon.

Would you write up a proposal for this design that we could work from to come to a agreed design? You are probably the best person to start this process.

Thanks!
Miles
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/

#4 lore raw
In reply to Jeff Garzik
Quoted 11 lines · Miles Lane
Quoted 9 lines · Jeff Garzik
Quoted 7 lines · Miles Lane

I asked David Hinds to write up an outline of the things that will be needed to get PCMCIA support cleanly and completely integrated into the kernel tree.

David has expressed that he'll not be able to participate in this work. He has his hands full with his day job and his role as maintainer/developer of the pcmcia-cs package.

Quoted 8 lines
Quoted 4 lines

[...]

Quoted 1 line

Anyone willing to sign up for some of this effort?

I'll convert all the network drivers once a design is agreed upon.

Would you write up a proposal for this design that we could work from to come to a agreed design? You are probably the best person to start this process.

I'm going to finish my current projects first :)

Signature · 7 lines
Jeff Garzik       | "You see, in this world there's two kinds of
Building 1024     |  people, my friend: Those with loaded guns
MandrakeSoft      |  and those who dig. You dig."  --Blondie
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/
author
#5 lore raw
In reply to Jeff Garzik

As we look into developing PCMCIA support in the 2.4/2.5 kernel trees, in addition to reading the pcmcia-cs code to learn about problems with specific devices that need to be handled, David Hinds also a reference page that lists some a bunch of issues that are in varying degrees of resolution:

http://pcmcia-cs.sourceforge.net/ftp/BUGS

This may be a useful resource. I'll see whether David has time to update this page with a bit more detailed explanations of the problems. Some of the items are pretty vague. For example,

the Asix AX88190 chipset, which has several serious bugs and incompatibilities that render the regular pcnet_cs driver unusable

It would be nice to know exactly what those bugs and incompatibilities are. :-)

Anyhow, I hope this helps,

Miles

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/