1 --- XFree86-4.1.0/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_dri.c.orig Wed May 2 17:06:09 2001
2 +++ XFree86-4.1.0/xc/programs/Xserver/hw/xfree86/drivers/mga/mga_dri.c Sun Jun 17 23:03:55 2001
6 MGADRIServerPrivatePtr pMGADRIServer;
9 switch ( pMga->Chipset ) {
10 case PCI_CHIP_MGAG400:
11 @@ -1118,6 +1119,11 @@
14 xf86DrvMsg( pScrn->scrnIndex, X_INFO, "[dri] visual configs initialized\n" );
16 + /* Enable bus mastering in PCI config space */
17 + pciCommand = pciReadLong(pMga->PciTag, PCI_CMD_STAT_REG);
18 + pciWriteLong(pMga->PciTag, PCI_CMD_STAT_REG,
19 + pciCommand | PCI_CMD_MASTER_ENABLE);