[PATCH] Platform bus support
Pierre Ossman
drzeus-list at drzeus.cx
Tue Aug 23 14:06:51 PDT 2005
David Zeuthen wrote:
>
>If everything else goes wrong I can test... We probably can't commit
>this patch before 2.6.13 is out though (since we'd need to depend on
>features not in 2.6.12 and earlier).
>
>
>
Huh? Platform has been in the kernel for ages. At least since 2.6.9,
probably since 2.6.0.
I've found a machine to fiddle with. I has a floppy controller, but no
floppy drive. But when I removed 'parent == NULL' from your hack I at
least got:
16124: 22:57:42.943: probe-pc-floppy.c:73: Checking if /dev/fd0 is
actually present
16124: 22:57:42.945: probe-pc-floppy.c:88: floppy drive name is 'H1440'
16124: 22:57:43.633: probe-pc-floppy.c:96: floppy drive /dev/fd0 seems
not to exist
It would seem some hacking is till needed since the platform information
cannot provide any decent information about the actual device. Perhaps
we could scan all block devices with the ioctl:s in probe-pc-floppy and
use that?
I have to run off now, but if you have some ideas on how to proceed I
can continue this tomorrow.
Rgds
Pierre
More information about the hal
mailing list