Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Dec 2011 17:30:29 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@FreeBSD.org, svn-src-all@FreeBSD.org, svn-src-head@FreeBSD.org
Subject:   Re: svn commit: r228631 - in head/sys: dev/cfe dev/dcons dev/ofw dev/sio dev/syscons dev/uart dev/usb/serial dev/xen/console gdb ia64/ia64 kern mips/adm5120 pc98/cbus powerpc/mambo sys
Message-ID:  <4EECB595.8020909@FreeBSD.org>
In-Reply-To: <201112171508.pBHF8ibC064202@svn.freebsd.org>
References:  <201112171508.pBHF8ibC064202@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 17/12/2011 17:08 Andriy Gapon said the following:
> +void
> +cngrab()
> +{
> +	struct cn_device *cnd;
> +	struct consdev *cn;
> +
> +	STAILQ_FOREACH(cnd, &cn_devlist, cnd_next) {
> +		cn = cnd->cnd_cn;
> +		if (!kdb_active || !(cn->cn_flags & CN_FLAG_NODEBUG))
> +			cn->cn_ops->cn_grab(cn);
> +	}
> +}

BTW, it seems that CN_FLAG_NODEBUG is not set for any of the current console
drivers.  A candidate for removal?

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4EECB595.8020909>