summaryrefslogtreecommitdiff
path: root/driver/xf86-video-glint
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2008-11-06 22:44:03 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2008-11-06 22:44:03 +0000
commitc962c1ffe7eff4c69416e3162bb1bcd6c1ea9f88 (patch)
tree84c2c4dd9443cf63817350132b8a9d1b94b7e2a4 /driver/xf86-video-glint
parent691bf39646f602707142859aff168392a3b98f33 (diff)
Merge alpha fix from X.Org instead of home grown one.
Diffstat (limited to 'driver/xf86-video-glint')
-rw-r--r--driver/xf86-video-glint/src/pm3_dac.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/driver/xf86-video-glint/src/pm3_dac.c b/driver/xf86-video-glint/src/pm3_dac.c
index 92633ea3c..9b1bd3bbd 100644
--- a/driver/xf86-video-glint/src/pm3_dac.c
+++ b/driver/xf86-video-glint/src/pm3_dac.c
@@ -437,9 +437,9 @@ Permedia3PreInit(ScrnInfoPtr pScrn)
"VX1 secondary enabling VGA before int10\n");
/* Enable VGA on the current card. */
- PCI_WRITE_LONG( pGlint->PciInfo, 0, 0xf8 );
- PCI_WRITE_LONG( pGlint->PciInfo, 0, 0xf4 );
- PCI_WRITE_LONG( pGlint->PciInfo, 0, 0xfc );
+ PCI_WRITE_BYTE(pGlint->PciInfo, 0, 0xf8);
+ PCI_WRITE_BYTE(pGlint->PciInfo, 0, 0xf4);
+ PCI_WRITE_BYTE(pGlint->PciInfo, 0, 0xfc);
/* The card we are on should be VGA-enabled now, so run int10. */
if (xf86LoadSubModule(pScrn, "int10")) {
@@ -455,9 +455,9 @@ Permedia3PreInit(ScrnInfoPtr pScrn)
"VX1 secondary disabling VGA after int10\n");
/* Finally, disable VGA on the current card. */
- PCI_WRITE_LONG( pGlint->PciInfo, 0x70, 0xf8 );
- PCI_WRITE_LONG( pGlint->PciInfo, 0x01, 0xf4 );
- PCI_WRITE_LONG( pGlint->PciInfo, 0x00, 0xfc );
+ PCI_WRITE_BYTE(pGlint->PciInfo, 0x70, 0xf8);
+ PCI_WRITE_BYTE(pGlint->PciInfo, 0x01, 0xf4);
+ PCI_WRITE_BYTE(pGlint->PciInfo, 0x00, 0xfc);
}
}
#endif /* __alpha__ */