From owner-cvs-src@FreeBSD.ORG Fri Nov 5 18:32:15 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4418516A4CE; Fri, 5 Nov 2004 18:32:15 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 220ED43D41; Fri, 5 Nov 2004 18:32:15 +0000 (GMT) (envelope-from cognet@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id iA5IWF3I022842; Fri, 5 Nov 2004 18:32:15 GMT (envelope-from cognet@repoman.freebsd.org) Received: (from cognet@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id iA5IWFPe022841; Fri, 5 Nov 2004 18:32:15 GMT (envelope-from cognet) Message-Id: <200411051832.iA5IWFPe022841@repoman.freebsd.org> From: Olivier Houchard Date: Fri, 5 Nov 2004 18:32:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/snp snp.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 18:32:15 -0000 cognet 2004-11-05 18:32:14 UTC FreeBSD src repository Modified files: sys/dev/snp snp.c Log: Walk through the snp softc list instead of abusing tp->ts_c to find the snp attached to a tty. This fixes the panic that happens when using snp. Revision Changes Path 1.95 +17 -8 src/sys/dev/snp/snp.c