]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Update mailbox writes to work with VF devices.
authorjhb <jhb@FreeBSD.org>
Mon, 15 Aug 2016 17:41:34 +0000 (17:41 +0000)
committerjhb <jhb@FreeBSD.org>
Mon, 15 Aug 2016 17:41:34 +0000 (17:41 +0000)
commitac1147637e190cb954dfa87bc45242faded0e47d
treeb470b8d9cdc04ad92e099c7289eda9300f2d81bb
parentd1c7b4cb81fe903f4c98b6e87b55b10f27989fab
Update mailbox writes to work with VF devices.

- Use alternate register locations for the data and control registers for
  VFs.
- Do a dummy read to force the writes to the  mailbox data registers to
  post before the write to the control register on VFs.
- Do not check the PCI-e firmware register for errors on VFs.

Reviewed by: np
Sponsored by: Chelsio Communications
Differential Revision: https://reviews.freebsd.org/D7483
sys/dev/cxgbe/common/t4_hw.c