[openfirmware] Fix for /pci/isa at 1/ide-controller at i1f0/ide at 0/<Unnamed>@0

Marcin Cieslak saper at saper.info
Fri Oct 2 21:47:56 CEST 2015


On Fri, 2 Oct 2015, Marcin Cieslak wrote:

> The following patch improves ISA IDE discovery.
> On a modern system those devices will probably
> be the same as under pci-ide tree of devices.

This part is somewhat bogus:

>  * Discover up to 4 IDE devices

> -: probe  ( -- )  2 0  do  i probe-child  loop  ;
> +: probe  ( -- )  3 0  do  i probe-child  loop  ;

This causes "ghost" CD-ROMs to be added.
The reason my virtual CD-ROMs on a second
IDE channel do not get probed is that blocks/ seems
to be zero for them.

Marcin



More information about the openfirmware mailing list