summaryrefslogtreecommitdiff
path: root/src/g80_driver.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2008-10-17 20:45:18 -0700
committerAaron Plattner <aplattner@nvidia.com>2008-10-17 20:47:03 -0700
commite387bf31aae78d4447b4af555a8d09f79f72e6e7 (patch)
treebff2d73e28903a1de1af2f8254eb8e252831b6e4 /src/g80_driver.c
parent27e2a98531e8b190a73d126508400283e0fb02df (diff)
Only match PCI display devices in our display driver.
Apparently the server needs the driver to tell it that no, we really don't want screen sections on our NIC, USB hubs, bridge devices, etc. Stop whining about PROBE_DETECT in G80 PreInit and just bail out instead. Bug #18099: Xorg -configure tries to create a screen for every nvidia device.
Diffstat (limited to 'src/g80_driver.c')
-rw-r--r--src/g80_driver.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/g80_driver.c b/src/g80_driver.c
index 50d55a0..ad8a424 100644
--- a/src/g80_driver.c
+++ b/src/g80_driver.c
@@ -206,11 +206,8 @@ G80PreInit(ScrnInfoPtr pScrn, int flags)
CARD32 tmp;
memType BAR1sizeKB;
- if(flags & PROBE_DETECT) {
- xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
- "G80 PROBE_DETECT unimplemented\n");
- return FALSE;
- }
+ if(flags & PROBE_DETECT)
+ return TRUE;
/* Check the number of entities, and fail if it isn't one. */
if(pScrn->numEntities != 1)