Bug 140116 - get rid of pcmcia functions and IUSE=pcmcia in linux-mod
Bug#: 140116 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Other Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: mobile@gentoo.org Reported By: genstef@gentoo.org
Component: Ebuilds
URL: 
Summary: get rid of pcmcia functions and IUSE=pcmcia in linux-mod
Keywords:  
Status Whiteboard: 
Opened: 2006-07-12 07:15 0000
Description:   Opened: 2006-07-12 07:15 0000
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?

------- Comment #1 From Stefan Schweizer 2006-07-12 15:54:19 0000 -------
Created an attachment (id=91603) [details]
hostap-pcmcia.diff

patch to make hostap-driver work even without the linux-mod pcmcia
functionality

------- Comment #2 From Stefan Schweizer 2006-07-12 16:01:23 0000 -------
Created an attachment (id=91604) [details]
linux-mod.diff

Patch for linux-mod to remove pcmcia specific functions

------- Comment #3 From Daniel Drake 2006-07-14 08:13:33 0000 -------
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?

------- Comment #4 From Stefan Schweizer 2006-07-14 09:34:47 0000 -------
the code is obsolete and only usefull for 2.4 kernels. Not likely that any new
ebuild will use it in future.

------- Comment #5 From Stefan Schweizer 2006-07-18 05:51:42 0000 -------
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.

------- Comment #6 From Stefan Schweizer 2006-07-24 13:18:46 0000 -------
thanks to johnm I have committed this now.