mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-19 06:44:31 +00:00
imac revA-D and beige G3 OpenFirmware uses the "ide" string for
ATA drives.
This commit is contained in:
parent
1d9c166f51
commit
71bf803ad6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=123371
|
@ -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 a new issue