Use device_verbose() to undo device_quiet() when detaching from t[45]iovX.
authorJohn Baldwin <jhb@FreeBSD.org>
Mon, 29 Aug 2016 22:47:14 +0000 (22:47 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Mon, 29 Aug 2016 22:47:14 +0000 (22:47 +0000)
commitbc32f05443db36ef071214bab172c71303beeda4
treeda19cce1aadd750a851611f3dd51c67020bf8b03
parentcc85aca9cd271cfddde9fb28b8e7c2df0177b41e
Use device_verbose() to undo device_quiet() when detaching from t[45]iovX.

The device quiet flag is not automatically reset on detach, so it is
inherited by other device drivers (e.g. when switching a device driver
over to ppt for PCI pass through).  Cope with this behavior by explicitly
marking the device verbose during detach so that the next driver can make
its own decision.

Sponsored by: Chelsio Communications
sys/dev/cxgbe/t4_iov.c