agp now fully works with the agp busmanager module: still some finetuning needed

though..


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8386 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen
2004-07-12 19:08:43 +00:00
parent 5c742e1422
commit 1d2aeb8400
@@ -350,6 +350,11 @@ static void check_capabilities(uint32 agp_stat, uint32 *command)
if (!(agp_stat & AGP_3_8x)) *command &= ~AGP_3_8x;
if (!(agp_stat & AGP_3_4x)) *command &= ~AGP_3_4x;
}
/* if no AGP mode is supported at all, nothing remains:
* devices exist that have the AGP style
* connector with AGP style registers, but not the features!
* (confirmed Matrox Millenium II AGP for instance) */
if (!(agp_stat & AGP_rates)) *command = 0x00000000;
/* block sideband adressing if not supported */
if (!(agp_stat & AGP_SBA)) *command &= ~AGP_SBA;