imac revA-D and beige G3 OpenFirmware uses the "ide" string for
ATA drives.
This commit is contained in:
parent
012e342c0d
commit
f634df25eb
@ -102,7 +102,8 @@ ata_macio_probe(device_t dev)
|
|||||||
struct resource *mem;
|
struct resource *mem;
|
||||||
int rid, i;
|
int rid, i;
|
||||||
|
|
||||||
if (strcmp(type, "ata") != 0)
|
if (strcmp(type, "ata") != 0 &&
|
||||||
|
strcmp(type, "ide") != 0)
|
||||||
return (ENXIO);
|
return (ENXIO);
|
||||||
|
|
||||||
ch = device_get_softc(dev);
|
ch = device_get_softc(dev);
|
||||||
|
Loading…
Reference in New Issue
Block a user