freebsd-skq/sys/dev/ntb/ntb_hw
Conrad Meyer 1a60b0c88e NTB: Skip db_valid validation writing DB link bit
In ntb_poll_link, we are intentionally writing the link bit, which is
absent from db_valid_mask.  Don't panic on a kassert when we do so.

The Linux version of this (dual BSD/GPL) driver has the db_valid_mask
assertions in callers of db_iowrite() rather than db_iowrite() itself;
it skips the assertions in the equivalent of ntb_poll_link().  Rather
than duplicating the assertions in every caller, add a db_iowrite_raw()
that doesn't check and use it from ntb_poll_link().

Suggested by:	kassert_panic
Sponsored by:	EMC / Isilon Storage Division
2015-11-11 18:54:49 +00:00
..
ntb_hw.c NTB: Skip db_valid validation writing DB link bit 2015-11-11 18:54:49 +00:00
ntb_hw.h NTB: Add device introspection sysctl hierarchy 2015-10-22 23:03:15 +00:00
ntb_regs.h NTB: Add device introspection sysctl hierarchy 2015-10-22 23:03:15 +00:00