Fixed missing ioport offset from the reading/updating of the PLX

interrupt control/status register.

Submitted by:	Brian McGovern <bmcgover@cisco.com>
This commit is contained in:
David Greenman 1997-02-05 22:19:18 +00:00
parent 628abd1b29
commit 3b576b3e5e
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;