diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/glide_driver.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glide_driver.c b/src/glide_driver.c index 1f6bdae..12cdcd7 100644 --- a/src/glide_driver.c +++ b/src/glide_driver.c @@ -392,12 +392,12 @@ GLIDEProbe(DriverPtr drv, int flags) { int entity; /* Match */ - entity = xf86ClaimIsaSlot(drv, 0, dev, TRUE); + entity = xf86ClaimNoSlot(drv, 0, dev, TRUE); pScrn = NULL; /* Allocate a ScrnInfoRec and claim the slot */ - if ((pScrn = xf86ConfigIsaEntity(pScrn, 0, entity, NULL, NULL, - NULL, NULL, NULL, NULL))) { + if ((pScrn = xf86AllocateScreen(drv, 0))) { + xf86AddEntityToScreen(pScrn, entityIndex); /* I'm not going to "claim" the glide device since no other driver than this can drive it */ /* (A glide device is not a PCI device) */ |