summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-03-03 14:09:27 +0100
committerDave Airlie <airlied@redhat.com>2012-03-05 15:19:22 +0000
commite4dba8dabeb3a87a092eefde836e611dbe07b697 (patch)
tree89500311746af0e70f3df6f54b4a4f7d25034177
parenta9bc885e92ac1c34d6630e2331c4fbfb8876b09f (diff)
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 <s.hauer@pengutronix.de> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--src/driver.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/driver.c b/src/driver.c
index 45643a8..7fa2630 100644
--- a/src/driver.c
+++ b/src/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],