diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2008-10-17 20:45:18 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2008-10-17 20:47:03 -0700 |
commit | e387bf31aae78d4447b4af555a8d09f79f72e6e7 (patch) | |
tree | bff2d73e28903a1de1af2f8254eb8e252831b6e4 /src/g80_driver.c | |
parent | 27e2a98531e8b190a73d126508400283e0fb02df (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.c | 7 |
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) |