xfree86: bus: rework xf86PostProbe logic and remove useless log info

Signed-off-by: Tiago Vignatti <tiago.vignatti@nokia.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
This commit is contained in:
Tiago Vignatti 2010-05-02 20:48:01 +03:00
parent 2f7d630a1e
commit a70ec0d136

View File

@ -480,21 +480,13 @@ xf86EnterServerState(xf86State state)
void void
xf86PostProbe(void) xf86PostProbe(void)
{ {
if (fbSlotClaimed) { if (fbSlotClaimed && (pciSlotClaimed
if (pciSlotClaimed
#if (defined(__sparc__) || defined(__sparc)) && !defined(__OpenBSD__) #if (defined(__sparc__) || defined(__sparc)) && !defined(__OpenBSD__)
|| sbusSlotClaimed || sbusSlotClaimed
#endif #endif
) { ))
FatalError("Cannot run in framebuffer mode. Please specify busIDs " FatalError("Cannot run in framebuffer mode. Please specify busIDs "
" for all framebuffer devices\n"); " for all framebuffer devices\n");
return;
} else {
xf86Msg(X_INFO,"Running in FRAMEBUFFER Mode\n");
return;
}
}
} }
void void