]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cam/ata: Allow drivers to veto ATA disk attachment.
authorSepherosa Ziehau <sephe@FreeBSD.org>
Wed, 28 Sep 2016 08:35:05 +0000 (08:35 +0000)
committerSepherosa Ziehau <sephe@FreeBSD.org>
Wed, 28 Sep 2016 08:35:05 +0000 (08:35 +0000)
commita11463fd84f836160303802a7506598c3923bd31
treeb4da98fcf7a1a2e241f9508fbbbaeddf1939a472
parent090aa8d18b226ce43b6ff129f47b1c7c47635874
cam/ata: Allow drivers to veto ATA disk attachment.

This eventhandler is mainly used by VMs, e.g. Hyper-V, whose disk
controllers share the disks with the simulated ATA controllers.

Submitted by: Hongjiang Zhang <honzhan microsoft com>
Discussed with: mav
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D7693
sys/cam/ata/ata_xpt.c
sys/sys/eventhandler.h