]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
adaasync: Harmonize with daasync
authorWarner Losh <imp@FreeBSD.org>
Tue, 26 Apr 2022 17:01:06 +0000 (11:01 -0600)
committerWarner Losh <imp@FreeBSD.org>
Tue, 26 Apr 2022 17:01:39 +0000 (11:01 -0600)
commitae1955cd67c293dd402d9d007b368ef88c6eb1d9
tree59d27a538e4ea1b71a01c1f041c2c2f1f7379387
parentfe2c9f83a6dc1cc62da177a765ce8a265894b2cd
adaasync: Harmonize with daasync

We should call cam_periph_async() always, like SCSI does. This routine
is supposed to be more of a catch-all.

cam_periph_async() only does actions for AC_LOST_DEVICE. It ignores all
other events (today), but this may not always be true. So this is a nop
change.

Drop in a 'break' so we don't fall through unnecessarily.

Sponsored by: Netflix
Reviewed by: mav
Differential Revision: https://reviews.freebsd.org/D35057
sys/cam/ata/ata_da.c