Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Mar 2006 14:29:02 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Marcel Moolenaar <marcel@FreeBSD.org>
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 ...
Message-ID:  <20060331122902.GC12785@garage.freebsd.pl>
In-Reply-To: <200603301833.k2UIXMIa064774@repoman.freebsd.org>
References:  <200603301833.k2UIXMIa064774@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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: <Zilog Z8530 dual channel SCC> mem 0x1100000-0x1100003 irq 2024 on
sbus0
scc0: [FAST]
uart0: <z8530, channel A> on scc0
uart0: [FAST]
uart0: console (9600,n,8,1)
uart1: <z8530, channel B> on scc0
uart1: [FAST]
scc1: <Zilog Z8530 dual channel SCC> mem 0x1000000-0x1000003 irq 2024 on
sbus0
scc1: [FAST]
uart2: <z8530, channel A> on scc1
uart2: [FAST]
uart2: keyboard (1200,n,8,1)
uart2: keyboard not present
uart3: <z8530, channel B> 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--



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