diff options
| author | Alexander Motin <mav@FreeBSD.org> | 2015-03-23 19:47:52 +0000 |
|---|---|---|
| committer | Alexander Motin <mav@FreeBSD.org> | 2015-03-23 19:47:52 +0000 |
| commit | 3036de3c48240109a217e57c25fed6de50085b1a (patch) | |
| tree | 53317c94621287588ccb2c06d94655570b4c83c9 /sys/dev/ahci | |
| parent | d3995fdd6a2652a4ffc9753cc49aa16b641511ef (diff) | |
Notes
Diffstat (limited to 'sys/dev/ahci')
| -rw-r--r-- | sys/dev/ahci/ahci.c | 2 | ||||
| -rw-r--r-- | sys/dev/ahci/ahci_pci.c | 8 | ||||
| -rw-r--r-- | sys/dev/ahci/ahciem.c | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ahci/ahci.c b/sys/dev/ahci/ahci.c index b0fad5ad6fa7..795de22f458c 100644 --- a/sys/dev/ahci/ahci.c +++ b/sys/dev/ahci/ahci.c @@ -638,7 +638,7 @@ ahci_ch_probe(device_t dev) { device_set_desc_copy(dev, "AHCI channel"); - return (0); + return (BUS_PROBE_DEFAULT); } static int diff --git a/sys/dev/ahci/ahci_pci.c b/sys/dev/ahci/ahci_pci.c index b74bfa0a2b99..54cbedac5516 100644 --- a/sys/dev/ahci/ahci_pci.c +++ b/sys/dev/ahci/ahci_pci.c @@ -340,13 +340,13 @@ ahci_probe(device_t dev) snprintf(buf, sizeof(buf), "%s AHCI SATA controller", ahci_ids[i].name); device_set_desc_copy(dev, buf); - return (BUS_PROBE_VENDOR); + return (BUS_PROBE_DEFAULT); } } if (!valid) return (ENXIO); device_set_desc_copy(dev, "AHCI SATA controller"); - return (BUS_PROBE_VENDOR); + return (BUS_PROBE_DEFAULT); } static int @@ -366,11 +366,11 @@ ahci_ata_probe(device_t dev) snprintf(buf, sizeof(buf), "%s AHCI SATA controller", ahci_ids[i].name); device_set_desc_copy(dev, buf); - return (BUS_PROBE_VENDOR); + return (BUS_PROBE_DEFAULT); } } device_set_desc_copy(dev, "AHCI SATA controller"); - return (BUS_PROBE_VENDOR); + return (BUS_PROBE_DEFAULT); } static int diff --git a/sys/dev/ahci/ahciem.c b/sys/dev/ahci/ahciem.c index 049b7c8866f3..5f222e9867fd 100644 --- a/sys/dev/ahci/ahciem.c +++ b/sys/dev/ahci/ahciem.c @@ -65,7 +65,7 @@ ahci_em_probe(device_t dev) { device_set_desc_copy(dev, "AHCI enclosure management bridge"); - return (0); + return (BUS_PROBE_DEFAULT); } static int |
