CVSROOT:        /cvs
Module name:    xenocara
Changes by:     o...@cvs.openbsd.org    2010/08/18 16:37:36

Modified files:
        xserver/hw/xfree86/common: xf86AutoConfig.c 

Log message:
Fix autoconfiguration on sparc and sparc64.

The code to add sunffb unconditionally on !solaris for __sparc__
systems is incorrect for openbsd. More specifically, due to interactions
between hardware drivers and wsfb in preinit we can't unconditionally
add wsfb to the list of fallbacks, so we only add wsfb if no other
option was found. Additionally sunffb does not need to be
unconditionally added because the bus probing code will find these
devices already.

So, long story short:  make that code chunk conditional on __sparc__ &&
defined(__linux__) instead.

change from !openbsd to __linux__ requested by kette...@.

Tested by at least myself and s...@.

ok matthieu@, kette...@.

Reply via email to