Comment 9 for bug 265035

Revision history for this message
rew (r-e-wolff) wrote :

On or around (I've been debugging the code a bit) line 520 of src/nsc_driver.c is the call to xf86GetPciVideoInfo .

It is intended to detect wether or not PCI is available at all. I changed this to if (1).

If PCI is NOT available, the xf86MatchPciInstances calls in the following lines will silently return "no devices found". I actually tested that because I cut out too much of my machine's bootsequence, so that PCI wasn't available anymore.

   /* PCI BUS */
   if (xf86GetPciVideoInfo ()) {
      numUsed = xf86MatchPciInstances(NSC_NAME, PCI_VENDOR_ID_NS,

becomes:

  /* PCI BUS */
   if (1) {
      numUsed = xf86MatchPciInstances(NSC_NAME, PCI_VENDOR_ID_NS,

More info needed? Mail me... :-)