summaryrefslogtreecommitdiffstats
path: root/sys/dev/mfi/mfi_tbolt.c
diff options
context:
space:
mode:
authorambrisko <ambrisko@FreeBSD.org>2012-04-02 19:13:02 +0000
committerambrisko <ambrisko@FreeBSD.org>2012-04-02 19:13:02 +0000
commitd5677c25b79eefc461a7c9312c4d1b0cd6053e9c (patch)
treeeadeb025509e6311278f517fd4977d2d44b0a64e /sys/dev/mfi/mfi_tbolt.c
parentf021ea5434f592e3851c6ac7ba55f702497922a1 (diff)
downloadFreeBSD-src-d5677c25b79eefc461a7c9312c4d1b0cd6053e9c.zip
FreeBSD-src-d5677c25b79eefc461a7c9312c4d1b0cd6053e9c.tar.gz
Move struct megasas_sge from mfi_ioctl.h to mfivar.h so we can
remove including machine/bus.h. Add some more mfi_ prefixes to avoid name space pollution. This should address the last tinderbox issues.
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