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

ATA drives.
This commit is contained in:
Peter Grehan 2003-12-10 08:58:48 +00:00
parent 1d9c166f51
commit 71bf803ad6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123371

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