no-nv.patch 729 B

12345678910111213141516171819202122232425
  1. commit b770266fa9c3fab5374bdf109676e0b129ac4546
  2. Author: Bryce Harrington <bryce@canonical.com>
  3. Date: Wed Apr 3 13:36:20 2013 -0700
  4. Don't bother probing -nv on linux.
  5. For linux this driver is long obsolete now. It may have some relevance
  6. on non-linux systems.
  7. diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c
  8. index b2545be..73a662d 100644
  9. --- a/hw/xfree86/common/xf86pciBus.c
  10. +++ b/hw/xfree86/common/xf86pciBus.c
  11. @@ -1220,8 +1220,9 @@ xf86VideoPtrToDriverList(struct pci_device *dev,
  12. driverList[idx++] = "nvidia";
  13. #ifdef __linux__
  14. driverList[idx++] = "nouveau";
  15. -#endif
  16. +#else
  17. driverList[idx++] = "nv";
  18. +#endif
  19. break;
  20. }
  21. case 0x1106: