From 20a269e6c7378fda94043f8419c9becbde7f427a Mon Sep 17 00:00:00 2001 From: ian Date: Thu, 15 May 2014 16:11:06 +0000 Subject: MFC r261410 Follow r261352 by updating all drivers which are children of simplebus to check the status property in their probe routines. --- sys/dev/ata/chipsets/ata-fsl.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sys/dev/ata') diff --git a/sys/dev/ata/chipsets/ata-fsl.c b/sys/dev/ata/chipsets/ata-fsl.c index 17c91da..794802e 100644 --- a/sys/dev/ata/chipsets/ata-fsl.c +++ b/sys/dev/ata/chipsets/ata-fsl.c @@ -69,6 +69,9 @@ imx_ata_probe(device_t dev) { struct ata_pci_controller *ctrl; + if (!ofw_bus_status_okay(dev)) + return (ENXIO); + if (!ofw_bus_is_compatible(dev, "fsl,imx51-ata")) return (ENXIO); -- cgit v1.1