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,
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 xf86MatchPciIns tances 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 */ oInfo ()) { tances( NSC_NAME, PCI_VENDOR_ID_NS,
if (xf86GetPciVide
numUsed = xf86MatchPciIns
becomes:
/* PCI BUS */ tances( NSC_NAME, PCI_VENDOR_ID_NS,
if (1) {
numUsed = xf86MatchPciIns
More info needed? Mail me... :-)