Date: Wed, 14 Jan 2009 22:10:51 +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: <200901142210.n0EMAxXw046067@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2009-01-14 22:10:51 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/dcons dcons_crom.c dcons_os.c Log: SVN rev 187249 on 2009-01-14 22:10:51Z 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.9.2.2 +12 -3 src/sys/dev/dcons/dcons_crom.c 1.19.2.2 +13 -9 src/sys/dev/dcons/dcons_os.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901142210.n0EMAxXw046067>