From: Tony Toole (tony_at_valemount.com)
Date: 2002-05-27 15:24:14 UTC
Linux PCMCIA services has a list of card manufacturer and vendor IDs that it uses to identify the inserted card, and therefor map to a specific driver. Look in /etc/pcmcia for pcmcia information you need to modify to load your own driver, instead of wvlan_cs, hostap_cs or others.
For the latest pcmcia services, and possible help doing this, go to sourceforge.net and do a search for pcmcia, the appropriate project will be the first one on the search list, and should contain some mailing lists that you can partisipate in for firther information on setting up your own drivers with the pcmcia_cs package.
If you are interested soly in the ids of the card you are inserting, type in 'cardctl ident', it'll give you all the information you need.
From: R Selvaraj [mailto:selvarajr_at_www.com] Sent: Sunday, May 26, 2002 11:50 PM
Subject: PCMCIA Client Driver invocation
I've a doubt regarding how the Driver Service(DS) identifies a particular NIC.
1. Supose I have two Client Drivers , say wavelan_cs and prism2_cs. Let the wavelan_cs is to drive for Orinoco card and prism2_cs is to drive Intersil cards. So on inserting Orinoco card the wavelan_cs sould be called and while inserting Intersil Card the prism_cs alone should be called. But, I don't know what info do the wavelan_cs and prism2_cs should pass to DS to map the inserted card with corresponding _cs.
Also, if more than one _cs is installed for the same card, say selva_cs and prism2_cs both for Intersil, then among the two which will be called on inserting Intersill NIC. Because both are ment for the same card.
2. Right now I have the following problem, I developed on Host AP for
Prism2 based Intersil NIC on LINUX Kernel 2.2.12-20. I have seperate
xx.c file for each functionality and compiled them to form a single
Client driver object file selva.o . Then I copied it to the
/lib/modules/2xxx/pcmcia. After that I did 'depmod -e -a' and
I have configured interface with 'selva' as the kernel module for that interface.
Thigs are fine so far. But, if I insert the NIC into the PCMCIA then my attach function is not getting called !?? Insted some other Client Driver(wvlan_cs)is getting called.
Could u pls let me know where I went wrong.