summaryrefslogtreecommitdiffstats
path: root/sys/dev/mfi/mfi_tbolt.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mfi/mfi_tbolt.c')
-rw-r--r--sys/dev/mfi/mfi_tbolt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mfi/mfi_tbolt.c b/sys/dev/mfi/mfi_tbolt.c
index aa9fb77..c4a6fe2 100644
--- a/sys/dev/mfi/mfi_tbolt.c
+++ b/sys/dev/mfi/mfi_tbolt.c
@@ -520,7 +520,7 @@ int mfi_tbolt_reset(struct mfi_softc *sc)
uint32_t fw_state;
mtx_lock(&sc->mfi_io_lock);
- if (atomic_read(&sc->fw_reset_no_pci_access)) {
+ if (mfi_atomic_read(&sc->fw_reset_no_pci_access)) {
device_printf(sc->mfi_dev, "NO PCI ACCESS\n");
mtx_unlock(&sc->mfi_io_lock);
return 1;
OpenPOWER on IntegriCloud