imac revA-D and beige G3 OpenFirmware uses the "ide" string for

ATA drives.
This commit is contained in:
grehan 2003-12-10 08:58:48 +00:00
parent 012e342c0d
commit f634df25eb

View File

@ -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);