Date: Fri, 20 Mar 2009 03:10:12 +0000 (UTC) From: Takahashi Yoshihiro <nyan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org Subject: svn commit: r190122 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb pc98/cbus Message-ID: <200903200310.n2K3ACos084323@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nyan Date: Fri Mar 20 03:10:12 2009 New Revision: 190122 URL: http://svn.freebsd.org/changeset/base/190122 Log: MFC: r189445 Allow syscons to work without any hints. Modified: stable/7/sys/ (props changed) stable/7/sys/contrib/pf/ (props changed) stable/7/sys/dev/ath/ath_hal/ (props changed) stable/7/sys/dev/cxgb/ (props changed) stable/7/sys/pc98/cbus/syscons_cbus.c Modified: stable/7/sys/pc98/cbus/syscons_cbus.c ============================================================================== --- stable/7/sys/pc98/cbus/syscons_cbus.c Fri Mar 20 01:15:50 2009 (r190121) +++ stable/7/sys/pc98/cbus/syscons_cbus.c Fri Mar 20 03:10:12 2009 (r190122) @@ -205,8 +205,10 @@ sc_get_cons_priority(int *unit, int *fla *flags = f; } } - if (*unit < 0) - return CN_DEAD; + if (*unit < 0) { + *unit = 0; + *flags = 0; + } return CN_INTERNAL; }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903200310.n2K3ACos084323>