aboutsummaryrefslogtreecommitdiff
path: root/sys/pci
diff options
context:
space:
mode:
authorDavid Greenman <dg@FreeBSD.org>1997-02-05 22:19:18 +0000
committerDavid Greenman <dg@FreeBSD.org>1997-02-05 22:19:18 +0000
commit3b576b3e5eac153732d10d222cc023a02adc3db7 (patch)
tree04355525681cbcafc43bcbb7344e297563350831 /sys/pci
parent628abd1b29bdc80df0330fef22c142bfba73c98e (diff)
downloadsrc-3b576b3e5eac153732d10d222cc023a02adc3db7.tar.gz
src-3b576b3e5eac153732d10d222cc023a02adc3db7.zip
Fixed missing ioport offset from the reading/updating of the PLX
interrupt control/status register. Submitted by: Brian McGovern <bmcgover@cisco.com>
Notes
Notes: svn path=/head/; revision=22309
Diffstat (limited to 'sys/pci')
-rw-r--r--sys/pci/cy_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pci/cy_pci.c b/sys/pci/cy_pci.c
index 67aafcdbb83c..a29c32a45c50 100644
--- a/sys/pci/cy_pci.c
+++ b/sys/pci/cy_pci.c
@@ -120,7 +120,7 @@ cy_attach(config_id, unit)
* Enable the "local" interrupt input to generate a
* PCI interrupt.
*/
- outw(ioport + CY_PLX_ICS, inw(CY_PLX_ICS) |
+ outw(ioport + CY_PLX_ICS, inw(ioport + CY_PLX_ICS) |
CY_PLX_ICS_IENABLE | CY_PLX_ICS_LOCAL_IENABLE);
return;