Hi, I have looked at http://gentoo-portage.com/Search?search=&use=pcmcia and it seems that the hostapdriver ebuild is the only one using pcmcia specific linux-mod functions. I am suggesting to move the pcmcia specific code to the hostap driver so that we eliminate the pcmcia occurances in linux-mod. Any problems with that? ANy more ebuilds using the specific functions?
Created attachment 91603 [details, diff] hostap-pcmcia.diff patch to make hostap-driver work even without the linux-mod pcmcia functionality
Created attachment 91604 [details, diff] linux-mod.diff Patch for linux-mod to remove pcmcia specific functions
Given that we have the library code already in place, and it is semi-likely that another ebuild in the future will want to use the same code at some point, I'm not too sure about this. What are your thoughts on the method suggested in bug 122868?
the code is obsolete and only usefull for 2.4 kernels. Not likely that any new ebuild will use it in future.
I committed the change to hostap-driver. Removed the linux-wlan-ng bug from depend because those versions inherit the obsolete "pcmcia" eclass for the functions. I mailed johnm if I can commit the linux-mod eclass changes, waiting for an answer currently.
thanks to johnm I have committed this now.