Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 140116 - get rid of pcmcia functions and IUSE=pcmcia in linux-mod
Summary: get rid of pcmcia functions and IUSE=pcmcia in linux-mod
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 122868
  Show dependency tree
 
Reported: 2006-07-12 07:15 UTC by Stefan Schweizer (RETIRED)
Modified: 2006-07-24 13:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
hostap-pcmcia.diff (hostap-pcmcia.diff,1.57 KB, patch)
2006-07-12 15:54 UTC, Stefan Schweizer (RETIRED)
Details | Diff
linux-mod.diff (linux-mod.diff,2.07 KB, patch)
2006-07-12 16:01 UTC, Stefan Schweizer (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Schweizer (RETIRED) gentoo-dev 2006-07-12 07:15:29 UTC
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 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-12 15:54:19 UTC
Created attachment 91603 [details, diff]
hostap-pcmcia.diff

patch to make hostap-driver work even without the linux-mod pcmcia functionality
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-12 16:01:23 UTC
Created attachment 91604 [details, diff]
linux-mod.diff

Patch for linux-mod to remove pcmcia specific functions
Comment 3 Daniel Drake (RETIRED) gentoo-dev 2006-07-14 08:13:33 UTC
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 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-14 09:34:47 UTC
the code is obsolete and only usefull for 2.4 kernels. Not likely that any new ebuild will use it in future.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-18 05:51:42 UTC
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 Stefan Schweizer (RETIRED) gentoo-dev 2006-07-24 13:18:46 UTC
thanks to johnm I have committed this now.