From bb7e39c1f2112f5fb7e87baddb114ab164fbc749 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Sat, 3 Mar 2012 14:09:27 +0100 Subject: [PATCH] do not bail out on non pci devices To make the driver work on nin PCI devices we shouldn't bail out in this case. Signed-off-by: Sascha Hauer Signed-off-by: Dave Airlie --- hw/xfree86/drivers/modesetting/driver.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/hw/xfree86/drivers/modesetting/driver.c b/hw/xfree86/drivers/modesetting/driver.c index 45643a8e6..7fa263015 100644 --- a/hw/xfree86/drivers/modesetting/driver.c +++ b/hw/xfree86/drivers/modesetting/driver.c @@ -415,9 +415,6 @@ PreInit(ScrnInfoPtr pScrn, int flags) pScrn->displayWidth = 640; /* default it */ - if (ms->pEnt->location.type != BUS_PCI) - return FALSE; - /* Allocate an entity private if necessary */ if (xf86IsEntityShared(pScrn->entityList[0])) { msEnt = xf86GetEntityPrivate(pScrn->entityList[0],