summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2015-04-06 08:23:06 +0000
committermav <mav@FreeBSD.org>2015-04-06 08:23:06 +0000
commit9d4a2c89e4089c9997ed06e1c36060810bc4f922 (patch)
treecbd0cd8bff0a94cebf0d14fbaf2da302b13f07c5 /sys/dev/ata
parentf333e1d3ba58f8ca790c26259d2b8cea09a4f6b1 (diff)
downloadFreeBSD-src-9d4a2c89e4089c9997ed06e1c36060810bc4f922.zip
FreeBSD-src-9d4a2c89e4089c9997ed06e1c36060810bc4f922.tar.gz
MFC r280393: Reduce priority of ATA/SATA drivers.
Legacy ata(4) -> BUS_PROBE_LOW_PRIORITY; more functional ahci(4), siis(4), mvs(4) -> BUS_PROBE_DEFAULT; BUS_PROBE_VENDOR leave for vendor drivers.
Diffstat (limited to 'sys/dev/ata')
-rw-r--r--sys/dev/ata/ata-all.c2
-rw-r--r--sys/dev/ata/chipsets/ata-acard.c2
-rw-r--r--sys/dev/ata/chipsets/ata-acerlabs.c2
-rw-r--r--sys/dev/ata/chipsets/ata-adaptec.c2
-rw-r--r--sys/dev/ata/chipsets/ata-amd.c2
-rw-r--r--sys/dev/ata/chipsets/ata-ati.c2
-rw-r--r--sys/dev/ata/chipsets/ata-cenatek.c2
-rw-r--r--sys/dev/ata/chipsets/ata-cypress.c2
-rw-r--r--sys/dev/ata/chipsets/ata-cyrix.c2
-rw-r--r--sys/dev/ata/chipsets/ata-fsl.c2
-rw-r--r--sys/dev/ata/chipsets/ata-highpoint.c2
-rw-r--r--sys/dev/ata/chipsets/ata-intel.c2
-rw-r--r--sys/dev/ata/chipsets/ata-ite.c2
-rw-r--r--sys/dev/ata/chipsets/ata-jmicron.c2
-rw-r--r--sys/dev/ata/chipsets/ata-marvell.c2
-rw-r--r--sys/dev/ata/chipsets/ata-micron.c2
-rw-r--r--sys/dev/ata/chipsets/ata-national.c2
-rw-r--r--sys/dev/ata/chipsets/ata-netcell.c2
-rw-r--r--sys/dev/ata/chipsets/ata-nvidia.c2
-rw-r--r--sys/dev/ata/chipsets/ata-promise.c2
-rw-r--r--sys/dev/ata/chipsets/ata-serverworks.c2
-rw-r--r--sys/dev/ata/chipsets/ata-siliconimage.c2
-rw-r--r--sys/dev/ata/chipsets/ata-sis.c2
-rw-r--r--sys/dev/ata/chipsets/ata-via.c2
24 files changed, 24 insertions, 24 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c
index b45c868..81bd8d4 100644
--- a/sys/dev/ata/ata-all.c
+++ b/sys/dev/ata/ata-all.c
@@ -92,7 +92,7 @@ FEATURE(ata_cam, "ATA devices are accessed through the cam(4) driver");
int
ata_probe(device_t dev)
{
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
int
diff --git a/sys/dev/ata/chipsets/ata-acard.c b/sys/dev/ata/chipsets/ata-acard.c
index e8b9d41..4126945 100644
--- a/sys/dev/ata/chipsets/ata-acard.c
+++ b/sys/dev/ata/chipsets/ata-acard.c
@@ -83,7 +83,7 @@ ata_acard_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_acard_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static int
diff --git a/sys/dev/ata/chipsets/ata-acerlabs.c b/sys/dev/ata/chipsets/ata-acerlabs.c
index cddae26..cb30e63 100644
--- a/sys/dev/ata/chipsets/ata-acerlabs.c
+++ b/sys/dev/ata/chipsets/ata-acerlabs.c
@@ -96,7 +96,7 @@ ata_ali_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_ali_chipinit;
ctlr->chipdeinit = ata_ali_chipdeinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static int
diff --git a/sys/dev/ata/chipsets/ata-adaptec.c b/sys/dev/ata/chipsets/ata-adaptec.c
index 0481c74..8654af3 100644
--- a/sys/dev/ata/chipsets/ata-adaptec.c
+++ b/sys/dev/ata/chipsets/ata-adaptec.c
@@ -75,7 +75,7 @@ ata_adaptec_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_marvell_edma_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
ATA_DECLARE_DRIVER(ata_adaptec);
diff --git a/sys/dev/ata/chipsets/ata-amd.c b/sys/dev/ata/chipsets/ata-amd.c
index cd2e701..a8f913d 100644
--- a/sys/dev/ata/chipsets/ata-amd.c
+++ b/sys/dev/ata/chipsets/ata-amd.c
@@ -82,7 +82,7 @@ ata_amd_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_amd_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static int
diff --git a/sys/dev/ata/chipsets/ata-ati.c b/sys/dev/ata/chipsets/ata-ati.c
index 475bee5..8aef8e8 100644
--- a/sys/dev/ata/chipsets/ata-ati.c
+++ b/sys/dev/ata/chipsets/ata-ati.c
@@ -123,7 +123,7 @@ ata_ati_probe(device_t dev)
ctlr->chipinit = ata_ati_chipinit;
break;
}
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static int
diff --git a/sys/dev/ata/chipsets/ata-cenatek.c b/sys/dev/ata/chipsets/ata-cenatek.c
index e46c037..151f316 100644
--- a/sys/dev/ata/chipsets/ata-cenatek.c
+++ b/sys/dev/ata/chipsets/ata-cenatek.c
@@ -63,7 +63,7 @@ ata_cenatek_probe(device_t dev)
ctlr->chipinit = ata_generic_chipinit;
device_set_desc(dev, "Cenatek Rocket Drive controller");
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
ATA_DECLARE_DRIVER(ata_cenatek);
diff --git a/sys/dev/ata/chipsets/ata-cypress.c b/sys/dev/ata/chipsets/ata-cypress.c
index e047e9d..e4a1419 100644
--- a/sys/dev/ata/chipsets/ata-cypress.c
+++ b/sys/dev/ata/chipsets/ata-cypress.c
@@ -75,7 +75,7 @@ ata_cypress_probe(device_t dev)
pci_get_subclass(dev) == PCIS_STORAGE_IDE) {
device_set_desc(dev, "Cypress 82C693 ATA controller");
ctlr->chipinit = ata_cypress_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
return ENXIO;
}
diff --git a/sys/dev/ata/chipsets/ata-cyrix.c b/sys/dev/ata/chipsets/ata-cyrix.c
index ede61c6..c8582c3 100644
--- a/sys/dev/ata/chipsets/ata-cyrix.c
+++ b/sys/dev/ata/chipsets/ata-cyrix.c
@@ -66,7 +66,7 @@ ata_cyrix_probe(device_t dev)
if (pci_get_devid(dev) == ATA_CYRIX_5530) {
device_set_desc(dev, "Cyrix 5530 ATA33 controller");
ctlr->chipinit = ata_cyrix_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
return ENXIO;
}
diff --git a/sys/dev/ata/chipsets/ata-fsl.c b/sys/dev/ata/chipsets/ata-fsl.c
index aebf9a2..c78e984 100644
--- a/sys/dev/ata/chipsets/ata-fsl.c
+++ b/sys/dev/ata/chipsets/ata-fsl.c
@@ -79,7 +79,7 @@ imx_ata_probe(device_t dev)
ctrl = device_get_softc(dev);
device_set_desc(dev, "Freescale Integrated PATA Controller");
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static void
diff --git a/sys/dev/ata/chipsets/ata-highpoint.c b/sys/dev/ata/chipsets/ata-highpoint.c
index 094e535..4aee3c6 100644
--- a/sys/dev/ata/chipsets/ata-highpoint.c
+++ b/sys/dev/ata/chipsets/ata-highpoint.c
@@ -103,7 +103,7 @@ ata_highpoint_probe(device_t dev)
device_set_desc_copy(dev, buffer);
ctlr->chip = idx;
ctlr->chipinit = ata_highpoint_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static int
diff --git a/sys/dev/ata/chipsets/ata-intel.c b/sys/dev/ata/chipsets/ata-intel.c
index c135dd7..eaf5823 100644
--- a/sys/dev/ata/chipsets/ata-intel.c
+++ b/sys/dev/ata/chipsets/ata-intel.c
@@ -264,7 +264,7 @@ ata_intel_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_intel_chipinit;
ctlr->chipdeinit = ata_intel_chipdeinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static int
diff --git a/sys/dev/ata/chipsets/ata-ite.c b/sys/dev/ata/chipsets/ata-ite.c
index 1ebb773..f204e7a 100644
--- a/sys/dev/ata/chipsets/ata-ite.c
+++ b/sys/dev/ata/chipsets/ata-ite.c
@@ -77,7 +77,7 @@ ata_ite_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_ite_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static int
diff --git a/sys/dev/ata/chipsets/ata-jmicron.c b/sys/dev/ata/chipsets/ata-jmicron.c
index 44d764c..d1279a6 100644
--- a/sys/dev/ata/chipsets/ata-jmicron.c
+++ b/sys/dev/ata/chipsets/ata-jmicron.c
@@ -86,7 +86,7 @@ ata_jmicron_probe(device_t dev)
device_set_desc_copy(dev, buffer);
ctlr->chip = idx;
ctlr->chipinit = ata_jmicron_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static int
diff --git a/sys/dev/ata/chipsets/ata-marvell.c b/sys/dev/ata/chipsets/ata-marvell.c
index 65d55e4..d81634f 100644
--- a/sys/dev/ata/chipsets/ata-marvell.c
+++ b/sys/dev/ata/chipsets/ata-marvell.c
@@ -139,7 +139,7 @@ ata_marvell_probe(device_t dev)
ctlr->chipinit = ata_marvell_dummy_chipinit;
break;
}
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static int
diff --git a/sys/dev/ata/chipsets/ata-micron.c b/sys/dev/ata/chipsets/ata-micron.c
index 774eadf..67b544f 100644
--- a/sys/dev/ata/chipsets/ata-micron.c
+++ b/sys/dev/ata/chipsets/ata-micron.c
@@ -63,7 +63,7 @@ ata_micron_probe(device_t dev)
device_set_desc(dev,
"RZ 100? ATA controller !WARNING! data loss/corruption risk");
ctlr->chipinit = ata_generic_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
return (ENXIO);
}
diff --git a/sys/dev/ata/chipsets/ata-national.c b/sys/dev/ata/chipsets/ata-national.c
index b3fc440..8e29b10 100644
--- a/sys/dev/ata/chipsets/ata-national.c
+++ b/sys/dev/ata/chipsets/ata-national.c
@@ -67,7 +67,7 @@ ata_national_probe(device_t dev)
if (pci_get_devid(dev) == ATA_SC1100) {
device_set_desc(dev, "National Geode SC1100 ATA33 controller");
ctlr->chipinit = ata_national_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
return ENXIO;
}
diff --git a/sys/dev/ata/chipsets/ata-netcell.c b/sys/dev/ata/chipsets/ata-netcell.c
index a954a79..82e719d 100644
--- a/sys/dev/ata/chipsets/ata-netcell.c
+++ b/sys/dev/ata/chipsets/ata-netcell.c
@@ -66,7 +66,7 @@ ata_netcell_probe(device_t dev)
if (pci_get_devid(dev) == ATA_NETCELL_SR) {
device_set_desc(dev, "Netcell SyncRAID SR3000/5000 RAID Controller");
ctlr->chipinit = ata_netcell_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
return ENXIO;
}
diff --git a/sys/dev/ata/chipsets/ata-nvidia.c b/sys/dev/ata/chipsets/ata-nvidia.c
index 96de406..5a7a381 100644
--- a/sys/dev/ata/chipsets/ata-nvidia.c
+++ b/sys/dev/ata/chipsets/ata-nvidia.c
@@ -187,7 +187,7 @@ ata_nvidia_probe(device_t dev)
ctlr->chipinit = ata_ahci_chipinit;
else
ctlr->chipinit = ata_nvidia_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static int
diff --git a/sys/dev/ata/chipsets/ata-promise.c b/sys/dev/ata/chipsets/ata-promise.c
index 62f25bd..d850bfc 100644
--- a/sys/dev/ata/chipsets/ata-promise.c
+++ b/sys/dev/ata/chipsets/ata-promise.c
@@ -209,7 +209,7 @@ ata_promise_probe(device_t dev)
device_set_desc_copy(dev, buffer);
ctlr->chip = idx;
ctlr->chipinit = ata_promise_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static int
diff --git a/sys/dev/ata/chipsets/ata-serverworks.c b/sys/dev/ata/chipsets/ata-serverworks.c
index 62ed677..720727f 100644
--- a/sys/dev/ata/chipsets/ata-serverworks.c
+++ b/sys/dev/ata/chipsets/ata-serverworks.c
@@ -96,7 +96,7 @@ ata_serverworks_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_serverworks_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static int
diff --git a/sys/dev/ata/chipsets/ata-siliconimage.c b/sys/dev/ata/chipsets/ata-siliconimage.c
index 38d4163..bf431a1 100644
--- a/sys/dev/ata/chipsets/ata-siliconimage.c
+++ b/sys/dev/ata/chipsets/ata-siliconimage.c
@@ -113,7 +113,7 @@ ata_sii_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_sii_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
int
diff --git a/sys/dev/ata/chipsets/ata-sis.c b/sys/dev/ata/chipsets/ata-sis.c
index a4df507..1acc37c 100644
--- a/sys/dev/ata/chipsets/ata-sis.c
+++ b/sys/dev/ata/chipsets/ata-sis.c
@@ -154,7 +154,7 @@ ata_sis_probe(device_t dev)
device_set_desc_copy(dev, buffer);
ctlr->chip = idx;
ctlr->chipinit = ata_sis_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static int
diff --git a/sys/dev/ata/chipsets/ata-via.c b/sys/dev/ata/chipsets/ata-via.c
index a6aac6b..f56d707 100644
--- a/sys/dev/ata/chipsets/ata-via.c
+++ b/sys/dev/ata/chipsets/ata-via.c
@@ -141,7 +141,7 @@ ata_via_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_via_chipinit;
- return (BUS_PROBE_DEFAULT);
+ return (BUS_PROBE_LOW_PRIORITY);
}
static int
OpenPOWER on IntegriCloud