diff options
author | sephe <sephe@FreeBSD.org> | 2016-10-14 03:22:19 +0000 |
---|---|---|
committer | sephe <sephe@FreeBSD.org> | 2016-10-14 03:22:19 +0000 |
commit | cd15998b8e5d26788e2778f7473f3efce08b8d98 (patch) | |
tree | 9d62176d8d74a55e12e5f5fb046a868e19926d75 /sys/modules | |
parent | 1fc32826a308f353f2f31fd4a5beaf0b6e4bc201 (diff) | |
download | FreeBSD-src-cd15998b8e5d26788e2778f7473f3efce08b8d98.zip FreeBSD-src-cd15998b8e5d26788e2778f7473f3efce08b8d98.tar.gz |
MFC 306426
hyperv/storvsc: Fix the blkvsc disk attachment issues.
- The original 'disengage' ATA controller model does not work properly
for all possible disk configurations. Use the newly added ATA disk
veto eventhandler to fit into all possible disk configuration.
- If the 'invalid LUN' happens on blkvsc controllers, return
CAM_DEV_NOT_THERE so that CAM will not destroy attached disks under
the blkvsc controllers.
Submitted by: Hongjiang Zhang <honzhan microsoft com>
Discussed with: mav
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7693
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/hyperv/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/hyperv/stordisengage/Makefile | 9 |
2 files changed, 1 insertions, 10 deletions
diff --git a/sys/modules/hyperv/Makefile b/sys/modules/hyperv/Makefile index 25b32e3..3bae26a 100644 --- a/sys/modules/hyperv/Makefile +++ b/sys/modules/hyperv/Makefile @@ -1,5 +1,5 @@ # $FreeBSD$ -SUBDIR = vmbus netvsc stordisengage storvsc utilities +SUBDIR = vmbus netvsc storvsc utilities .include <bsd.subdir.mk> diff --git a/sys/modules/hyperv/stordisengage/Makefile b/sys/modules/hyperv/stordisengage/Makefile deleted file mode 100644 index 497deb98..0000000 --- a/sys/modules/hyperv/stordisengage/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD$ - -.PATH: ${.CURDIR}/../../../dev/hyperv/stordisengage - -KMOD= hv_ata_pci_disengage -SRCS= hv_ata_pci_disengage.c -SRCS+= ata_if.h bus_if.h device_if.h pci_if.h - -.include <bsd.kmod.mk> |