From owner-cvs-src@FreeBSD.ORG Fri Mar 31 12:30:08 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 6625B16A424; Fri, 31 Mar 2006 12:30:08 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5128F43D45; Fri, 31 Mar 2006 12:30:06 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 44D2D51CD1; Fri, 31 Mar 2006 14:30:05 +0200 (CEST) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id C8C94519CE; Fri, 31 Mar 2006 14:29:58 +0200 (CEST) Date: Fri, 31 Mar 2006 14:29:02 +0200 From: Pawel Jakub Dawidek To: Marcel Moolenaar Message-ID: <20060331122902.GC12785@garage.freebsd.pl> References: <200603301833.k2UIXMIa064774@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="uh9ZiVrAOUUm9fzH" Content-Disposition: inline In-Reply-To: <200603301833.k2UIXMIa064774@repoman.freebsd.org> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r535 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/man/man4 scc.4 src/sys/dev/uart uart_bus_scc.c src/sys/kern serdev_if.m src/sys/dev/scc scc_bfe.h scc_bfe_ebus.c scc_bfe_sbus.c scc_bus.h scc_core.c scc_dev_sab82532.c scc_dev_z8530.c scc_if.m src/sys/modules/scc ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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, 31 Mar 2006 12:30:08 -0000 --uh9ZiVrAOUUm9fzH Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Mar 30, 2006 at 06:33:22PM +0000, Marcel Moolenaar wrote: +> marcel 2006-03-30 18:33:22 UTC +>=20 +> FreeBSD src repository +>=20 +> Added files: +> share/man/man4 scc.4=20 +> sys/dev/uart uart_bus_scc.c=20 +> sys/kern serdev_if.m=20 +> sys/dev/scc scc_bfe.h scc_bfe_ebus.c scc_bfe_sbus.c=20 +> scc_bus.h scc_core.c scc_dev_sab82532.c=20 +> scc_dev_z8530.c scc_if.m=20 +> sys/modules/scc Makefile=20 +> Log: +> Add scc(4), a driver for serial communications controllers. These +> controllers typically have multiple channels and support a number +> of serial communications protocols. The scc(4) driver is itself +> an umbrella driver that delegates the control over each channel +> and mode to a subordinate driver (like uart(4)). +> The scc(4) driver supports the Siemens SAB 82532 and the Zilog +> Z8530 and replaces puc(4) for these devices. My hero!:) I just tried it out on dual CPU Ultra2: scc0: mem 0x1100000-0x1100003 irq 2024 on sbus0 scc0: [FAST] uart0: on scc0 uart0: [FAST] uart0: console (9600,n,8,1) uart1: on scc0 uart1: [FAST] scc1: mem 0x1000000-0x1000003 irq 2024 on sbus0 scc1: [FAST] uart2: on scc1 uart2: [FAST] uart2: keyboard (1200,n,8,1) uart2: keyboard not present uart3: on scc1 uart3: [FAST] It works, but much more important is that I can't deadlock the system anymore when trying to load gmirror, which printfs from two CPUs at the same time. Before this change, the system deadlocked hard every time I tried to load gmirror on this SMP-enabled machine. Thank you! --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --uh9ZiVrAOUUm9fzH Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFELSCNForvXbEpPzQRAuvWAKD1i0sgQKDJatScjJcrejXZgVkurQCdEk71 GXUwxqJJQUuJ4PILKLsj+Mo= =uni8 -----END PGP SIGNATURE----- --uh9ZiVrAOUUm9fzH--