[PATCH 5/5] do not bail out on non pci devices
Sascha Hauer
s.hauer at pengutronix.de
Sat Mar 3 05:09:27 PST 2012
To make the driver work on nin PCI devices we shouldn't bail
out in this case.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
src/driver.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/driver.c b/src/driver.c
index c7532d3..87431ff 100644
--- a/src/driver.c
+++ b/src/driver.c
@@ -413,9 +413,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],
--
1.7.9.1
More information about the dri-devel
mailing list