[patch] Allow devices with no sysdevices
david at fubar.dk
Tue May 25 11:31:48 PDT 2004
On Tue, 2004-05-25 at 14:26 -0400, Joe Shaw wrote:
> On Tue, 2004-05-25 at 19:47 +0200, David Zeuthen wrote:
> > Hmm, I'm a bit reluctant to do this, I'd rather see the PCMCIA 16-bit
> > drivers publish their information in sysfs under /sys/devices. That will
> > also solve a lot of other problems like making the PCMCIA CF card reader
> > I bought usable with HAL. Oh well :-)
> Me too, but from talking it over with Robert it seems like this simply
> won't happen until 2.7 at the earliest.
Really? I googled a bit for it some weeks ago and found this patch
that looked pretty simple. Haven't applied though, because I rarely use
the one box I have with PCMCIA sockets and I don't know enough kernel
Waiting for 2.7 for this would really really suck. One thing we should
then is to try to do what cardmgr and cardctl does and build our tree
this way if at all possible (I've would have no clue on how to map class
devices to such bus devices though).
> > OTOH, this seems like a very usable thing though I'd like one fakeroot
> > device per class device instance this applies to since I may have more
> > than one 16-bit PCMCIA networking devices. It would also be nice to
> > enclose the code for doing this in #ifdef/#endif pairs so we can disable
> > it at compile time.
> We should be able to use the same fakeroot for all devices, not just
> PCMCIA networking devices (and not just one instance). As the fakeroot
> device has no useful information itself, I'm not sure it makes sense to
> have more than one? Maybe I am missing something.
But in the, unlikely, event that I have two 16-bit PCMCIA networking
cards they will both merge net.* stuff on the same fakeroot device and
one will overwrite the other, right?
hal mailing list
hal at freedesktop.org
More information about the Hal