summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2008-09-16 23:48:07 +0200
committerMatthieu Herrb <matthieu.herrb@laas.fr>2008-09-16 23:48:07 +0200
commitd92459edcb8917d51435110f6b30a133d8ce7d52 (patch)
tree552e03e4d6cf26608b2fc2cc08a8e45d48a1cf53
parent6dcbf42d6ddf0f8b55feb72008c4f79b18a1603a (diff)
alpine: fix order of arguments of PCI_WRITE_LONG().
-rw-r--r--src/alp_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alp_driver.c b/src/alp_driver.c
index c5d2426..b7be5b2 100644
--- a/src/alp_driver.c
+++ b/src/alp_driver.c
@@ -591,8 +591,8 @@ AlpPreInit(ScrnInfoPtr pScrn, int flags)
* BIOSes tend to mess them up
*/
- PCI_WRITE_LONG(pCir->PciInfo, 0x10, PCI_REGION_BASE(pCir->PciInfo, 0, REGION_MEM));
- PCI_WRITE_LONG(pCir->PciInfo, 0x14, PCI_REGION_BASE(pCir->PciInfo, 1, REGION_MEM));
+ PCI_WRITE_LONG(pCir->PciInfo, PCI_REGION_BASE(pCir->PciInfo, 0, REGION_MEM), 0x10);
+ PCI_WRITE_LONG(pCir->PciInfo, PCI_REGION_BASE(pCir->PciInfo, 1, REGION_MEM), 0x14);
}