summaryrefslogtreecommitdiff
path: root/xserver/hw/xfree86/common/xf86pciBus.c
diff options
context:
space:
mode:
authorOwain Ainsworth <oga@cvs.openbsd.org>2010-08-18 22:37:37 +0000
committerOwain Ainsworth <oga@cvs.openbsd.org>2010-08-18 22:37:37 +0000
commit2b74c5abe4a86f4eb4938ad35766f1848b305ce1 (patch)
tree512e5a2a9f286eac753a9d9781d56476dcb54699 /xserver/hw/xfree86/common/xf86pciBus.c
parent0221de68ac4357b4dec9497e02510a4708c1c024 (diff)
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 kettenis@. Tested by at least myself and stsp@. ok matthieu@, kettenis@.
Diffstat (limited to 'xserver/hw/xfree86/common/xf86pciBus.c')
0 files changed, 0 insertions, 0 deletions