summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorsbehera <none@none>2007-07-05 19:21:51 -0700
committersbehera <none@none>2007-07-05 19:21:51 -0700
commit2bd43bc76740c0fef669e90cfcaa4e3f3cb2a2f5 (patch)
tree1814ffe763fd2af578b2d2b699556106ece4058d /usr/src
parentd66fe9b809f3decb9af557dcfca5fee98e47c765 (diff)
downloadillumos-joyent-2bd43bc76740c0fef669e90cfcaa4e3f3cb2a2f5.tar.gz
6551356 system panics with "PCI Expansion ROM is not accessible" during hotplug testing on Atlas cards.
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/uts/common/io/nxge/npi/npi_espc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/nxge/npi/npi_espc.c b/usr/src/uts/common/io/nxge/npi/npi_espc.c
index eff8d11a5c..11d184d34c 100644
--- a/usr/src/uts/common/io/nxge/npi/npi_espc.c
+++ b/usr/src/uts/common/io/nxge/npi/npi_espc.c
@@ -41,7 +41,7 @@ npi_espc_pio_enable(npi_handle_t handle)
npi_status_t
npi_espc_pio_disable(npi_handle_t handle)
{
- NXGE_REG_WR64(handle, ESPC_PIO_EN_REG, 0);
+ NXGE_REG_WR64(handle, ESPC_REG_ADDR(ESPC_PIO_EN_REG), 0);
return (NPI_SUCCESS);
}