Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   mrg
Date:           Tue Jan  8 07:46:11 UTC 2019

Modified Files:
        src/sys/arch/macppc/include: autoconf.h
        src/sys/arch/ofppc/include: autoconf.h
        src/sys/arch/powerpc/include: types.h
        src/sys/arch/powerpc/powerpc: openfirm.c
        src/sys/dev/ofw: openfirmio.c

Log Message:
workaround a problem with the pegasos firmware interface:
attempting to use /dev/openfirm on this machine hangs hard.

this isn't a new problem, and i've been meaning to try to
figure it out for years, but it's become a problem since
the xf86-video-radeon driver gained code to look for the
macppc model using this interface.

this is why xorg-server 1.18 and 1.20 hang recently on the
pegasosII.

this change is fairly ugly but i couldn't think of a less
ugly method to avoid /dev/openfirm working just on this
one platform.  introduce new __OPENFIRMIO_OPEN_CHECK_BROKEN
macro and associated __openfirmio_open_check_broken(), and
use them in the new openfirmopen() to fail opens.

include proplib.h in macppc and ofppc autoconf.h since they
use it.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/macppc/include/autoconf.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/ofppc/include/autoconf.h
cvs rdiff -u -r1.56 -r1.57 src/sys/arch/powerpc/include/types.h
cvs rdiff -u -r1.26 -r1.27 src/sys/arch/powerpc/powerpc/openfirm.c
cvs rdiff -u -r1.13 -r1.14 src/sys/dev/ofw/openfirmio.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index