summaryrefslogtreecommitdiff
path: root/driver
diff options
context:
space:
mode:
Diffstat (limited to 'driver')
-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__ */