Date: Wed, 14 Jan 2009 22:11:01 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/dcons dcons_crom.c dcons_os.c Message-ID: <200901142211.n0EMBFrW046127@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2009-01-14 22:11:01 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/dev/dcons dcons_crom.c dcons_os.c Log: SVN rev 187250 on 2009-01-14 22:11:01Z by marius MFC: r186876 Check the return values of contigmalloc(9) as well as bus_dma(9) functions and stop attaching of dcons(4) and dcons_crom(4) if they indicate failure. This fixes a panic seen on sparc64 machines with no free physical memory in the requested 32-bit region but still doesn't make dcons(4)/dcons_crom(4) these work. Revision Changes Path 1.6.2.3 +12 -3 src/sys/dev/dcons/dcons_crom.c 1.6.4.2 +11 -7 src/sys/dev/dcons/dcons_os.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901142211.n0EMBFrW046127>