summaryrefslogtreecommitdiff
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
parent628abd1b29bdc80df0330fef22c142bfba73c98e (diff)
Notes
-rw-r--r--sys/dev/cy/cy_pci.c2
-rw-r--r--sys/pci/cy_pci.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cy/cy_pci.c b/sys/dev/cy/cy_pci.c
index 67aafcdbb83c..a29c32a45c50 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;
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;