Re: [PATCH] PCMCIA identification strings for Elan -- second attempt

Dominik Brodowski
2006-11-28T02:05:44Z

On Mon, Nov 20, 2006 at 01:04:39PM +0000, Tony Olech wrote:
> patch against linux kernel 2.6.18 to add PCMCIA identification strings
> From: Tony Olech <tony.olech@elandigitalsystems.com>
>
> In older versions of the linux kernel it was sufficient for the
> 16-bit PCMCIA card manufacturer to distribute or make available
> a text configuration file along with the physical cards. Such a
> file with an extension of ".conf" and placed in the /etc/pcmcia
> very easily enabled new hardware without rebuilding the kernel,
> however with the new scheme of things, having found no userland
> solution to the problem of new 16bit pcmcia card identification
> this patch enumerates Elan Digital Systems strings.
>
> In addition, for the ID strings to result in the correct module
> being loaded, the too wide matching criterion of the PDaudioCF
> card needs to have the MANF_ID/CARD_ID numbers replaced by the
> more specific PROD_ID1 and PROD_ID2 strings. It is unfortunate
> that otherwise the pdaudiocf module is loaded whenever an ELAN
> pcmcia card is inserted, resulting in various random lockups

Applied to pcmcia-2.6, thanks.

Dominik