summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1997-02-05 22:19:18 +0000
committerdg <dg@FreeBSD.org>1997-02-05 22:19:18 +0000
commit321f03c8eddd8cf5aa81836ff1932a74156d30cb (patch)
tree04355525681cbcafc43bcbb7344e297563350831 /sys/dev
parent3ef0c8c52c8c45126ac97c1e516b5ce3caf3b9f7 (diff)
downloadFreeBSD-src-321f03c8eddd8cf5aa81836ff1932a74156d30cb.zip
FreeBSD-src-321f03c8eddd8cf5aa81836ff1932a74156d30cb.tar.gz
Fixed missing ioport offset from the reading/updating of the PLX
interrupt control/status register. Submitted by: Brian McGovern <bmcgover@cisco.com>
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/cy/cy_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cy/cy_pci.c b/sys/dev/cy/cy_pci.c
index 67aafcd..a29c32a 100644
--- a/sys/dev/cy/cy_pci.c
+++ b/sys/dev/cy/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;
OpenPOWER on IntegriCloud