Gentoo Archives: gentoo-dev

From: Eric Noack <eric.noack@×××.de>
To: gentoo-dev@g.o
Subject: [gentoo-dev] which contribution prefered - to gentoo or to project itself?
Date: Sun, 11 May 2003 18:36:25
Hi there. i have a question about a to-be patch to pcmcia-cs.

while providing almost any pcmcia driver as well as 
patched orinoco drivers, for example, i think most gentoo people choose
pcmcia-cs drivers over kernel pcmcia support.

however unfortunately i needed support for an isdn pcmcia card, and
pcmcia-cs has no isdn support or drivers at all.

on the other side, adding the support to pcmcia_cs is as easy as copying a single driver file
(something_cs.c) from linux/drivers/isdn/hisax/ into the pcmcia-cs source tree
and add it to the make file, if only the kernel hisax driver has been compiled with support
for the pcmcia chip

(which is possible without enabling kernel pcmcia, only the carddriver itself
cant be compiled without)

so it would be easy to write a patch to pcmcia_cs that would check whether the kernel has
isdn and hisax support, and which pcmcia-chip-protocols have been compiled into the hisax driver,
and copy & compile the needed *_cs.c from the hisax dir

however this "patch" could be completely provided by a modified ebuild, maybe with support for an
"isdn" USEflag or such, too, eventually more easily than modifying the pcmcia_cs configure script

so before writing this modification as either a patch to pcmcia_cs or the ebuild or both (ebuild that adds the patch)

what do you think would be prefered?


gentoo-dev@g.o mailing list