summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-10-24 07:06:01 +0000
committerdelphij <delphij@FreeBSD.org>2014-10-24 07:06:01 +0000
commit2455e6b60758ac83c115347d48886af77901ebb9 (patch)
tree8aef154c16a2ca0619df18e2f9106b5e4eb421a8 /sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
parent295105e2bda13454d71f48645d885eeaf140c28a (diff)
downloadFreeBSD-src-2455e6b60758ac83c115347d48886af77901ebb9.zip
FreeBSD-src-2455e6b60758ac83c115347d48886af77901ebb9.tar.gz
MFC r273577:
Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR or 0 for in-tree driver. This change was verified by Microsoft. Instant MFC approved by: re (kib)
Diffstat (limited to 'sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c')
-rw-r--r--sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c b/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
index 2a8043d..de5b43e 100644
--- a/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
+++ b/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
@@ -689,14 +689,14 @@ storvsc_probe(device_t dev)
if(bootverbose)
device_printf(dev,
"Enlightened ATA/IDE detected\n");
- ret = 0;
+ ret = BUS_PROBE_DEFAULT;
} else if(bootverbose)
device_printf(dev, "Emulated ATA/IDE set (hw.ata.disk_enable set)\n");
break;
case DRIVER_STORVSC:
if(bootverbose)
device_printf(dev, "Enlightened SCSI device detected\n");
- ret = 0;
+ ret = BUS_PROBE_DEFAULT;
break;
default:
ret = ENXIO;
OpenPOWER on IntegriCloud