diff options
author | dawes <dawes> | 2001-03-21 20:25:41 +0000 |
---|---|---|
committer | dawes <dawes> | 2001-03-21 20:25:41 +0000 |
commit | a4769f57bf7a274594300128ca4dff4978a37134 (patch) | |
tree | 2c60f0f997e0ba2337e097dd1251f790c722248d | |
parent | 926c04277a04a7b79ceb9e3a0ea73063c89538e4 (diff) |
fix typoX_4_0_99_1-20010321-merge
-rw-r--r-- | xc/programs/Xserver/hw/xfree86/common/xf86pciBus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xc/programs/Xserver/hw/xfree86/common/xf86pciBus.c b/xc/programs/Xserver/hw/xfree86/common/xf86pciBus.c index f59f98723..94f552403 100644 --- a/xc/programs/Xserver/hw/xfree86/common/xf86pciBus.c +++ b/xc/programs/Xserver/hw/xfree86/common/xf86pciBus.c @@ -2994,10 +2994,10 @@ xf86EnablePciBusMaster(pciVideoPtr pPci, Bool enable) if (!pPci) return; tag = pciTag(pPci->bus, pPci->device, pPci->func); - temp = pciReadLong(pcitag, PCI_CMD_STAT_REG); + temp = pciReadLong(tag, PCI_CMD_STAT_REG); if (enable) - pciWriteLong(pcitag, PCI_CMD_STAT_REG, temp | PCI_CMD_MASTER_ENABLE); + pciWriteLong(tag, PCI_CMD_STAT_REG, temp | PCI_CMD_MASTER_ENABLE); else - pciWriteLong(pcitag, PCI_CMD_STAT_REG, temp & ~PCI_CMD_MASTER_ENABLE); + pciWriteLong(tag, PCI_CMD_STAT_REG, temp & ~PCI_CMD_MASTER_ENABLE); } |