pci: don't do this pci stuff when we don't have hw access
This commit is contained in:
parent
9dfb525f6c
commit
3b6735528e
|
@ -632,10 +632,10 @@ InitOutput(ScreenInfo *pScreenInfo, int argc, char **argv)
|
|||
/*
|
||||
* Locate bus slot that had register IO enabled at server startup
|
||||
*/
|
||||
|
||||
xf86AccessInit();
|
||||
xf86FindPrimaryDevice();
|
||||
|
||||
if (xorgHWAccess) {
|
||||
xf86AccessInit();
|
||||
xf86FindPrimaryDevice();
|
||||
}
|
||||
/*
|
||||
* Now call each of the Probe functions. Each successful probe will
|
||||
* result in an extra entry added to the xf86Screens[] list for each
|
||||
|
|
Loading…
Reference in New Issue
Block a user