Reduce default PCI ATA drivers priorities from absolute to default,
to allow them been overriden. It was so before modularization.
This commit is contained in:
mav 2009-06-24 19:49:18 +00:00
parent 28ee5250ac
commit e37467a3e3
22 changed files with 22 additions and 22 deletions

View File

@ -93,7 +93,7 @@ ata_acard_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_acard_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
static int

View File

@ -94,7 +94,7 @@ ata_ali_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_ali_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
static int

View File

@ -75,7 +75,7 @@ ata_adaptec_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_marvell_edma_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
ATA_DECLARE_DRIVER(ata_adaptec);

View File

@ -83,7 +83,7 @@ ata_amd_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_amd_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
static int

View File

@ -136,7 +136,7 @@ ata_ati_probe(device_t dev)
ctlr->chipinit = ata_ati_ahci_chipinit;
break;
}
return 0;
return (BUS_PROBE_DEFAULT);
}
static int

View File

@ -69,7 +69,7 @@ ata_cenatek_probe(device_t dev)
ctlr->chipinit = ata_cenatek_chipinit;
device_set_desc(dev, "Cenatek Rocket Drive controller");
return 0;
return (BUS_PROBE_DEFAULT);
}
static int

View File

@ -76,7 +76,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 0;
return (BUS_PROBE_DEFAULT);
}
return ENXIO;
}

View File

@ -67,7 +67,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 0;
return (BUS_PROBE_DEFAULT);
}
return ENXIO;
}

View File

@ -104,7 +104,7 @@ ata_highpoint_probe(device_t dev)
device_set_desc_copy(dev, buffer);
ctlr->chip = idx;
ctlr->chipinit = ata_highpoint_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
static int

View File

@ -146,7 +146,7 @@ ata_intel_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_intel_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
static int

View File

@ -78,7 +78,7 @@ ata_ite_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_ite_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
static int

View File

@ -94,7 +94,7 @@ ata_jmicron_probe(device_t dev)
device_set_desc_copy(dev, buffer);
ctlr->chip = idx;
ctlr->chipinit = ata_jmicron_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
static int

View File

@ -125,7 +125,7 @@ ata_marvell_probe(device_t dev)
ctlr->chipinit = ata_marvell_pata_chipinit;
break;
}
return 0;
return (BUS_PROBE_DEFAULT);
}
static int

View File

@ -69,7 +69,7 @@ ata_micron_probe(device_t dev)
device_set_desc(dev,
"RZ 100? ATA controller !WARNING! data loss/corruption risk");
ctlr->chipinit = ata_micron_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
else
return ENXIO;

View File

@ -68,7 +68,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 0;
return (BUS_PROBE_DEFAULT);
}
return ENXIO;
}

View File

@ -68,7 +68,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 0;
return (BUS_PROBE_DEFAULT);
}
return ENXIO;
}

View File

@ -138,7 +138,7 @@ ata_nvidia_probe(device_t dev)
ctlr->chipinit = ata_ahci_chipinit;
else
ctlr->chipinit = ata_nvidia_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
static int

View File

@ -210,7 +210,7 @@ ata_promise_probe(device_t dev)
device_set_desc_copy(dev, buffer);
ctlr->chip = idx;
ctlr->chipinit = ata_promise_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
static int

View File

@ -98,7 +98,7 @@ ata_serverworks_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_serverworks_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
#ifdef __powerpc__

View File

@ -115,7 +115,7 @@ ata_sii_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_sii_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
int

View File

@ -155,7 +155,7 @@ ata_sis_probe(device_t dev)
device_set_desc_copy(dev, buffer);
ctlr->chip = idx;
ctlr->chipinit = ata_sis_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
static int

View File

@ -120,7 +120,7 @@ ata_via_probe(device_t dev)
ata_set_desc(dev);
ctlr->chipinit = ata_via_chipinit;
return 0;
return (BUS_PROBE_DEFAULT);
}
static int