1 --- xc.orig/programs/Xserver/hw/xfree86/drivers/mga/mga_dri.c 2004-08-08 14:22:29.000000000 +0200
2 +++ xc/programs/Xserver/hw/xfree86/drivers/mga/mga_dri.c 2004-08-08 15:13:17.170055096 +0200
6 MGADRIServerPrivatePtr pMGADRIServer;
9 switch(pMga->Chipset) {
10 case PCI_CHIP_MGAG550:
11 @@ -1257,6 +1258,11 @@
13 xf86DrvMsg( pScrn->scrnIndex, X_INFO, "[dri] visual configs initialized\n" );
15 + /* Enable bus mastering in PCI config space */
16 + pciCommand = pciReadLong(pMga->PciTag, PCI_CMD_STAT_REG);
17 + pciWriteLong(pMga->PciTag, PCI_CMD_STAT_REG,
18 + pciCommand | PCI_CMD_MASTER_ENABLE);