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 ...
Pawel Jakub Dawidek
pjd at FreeBSD.org
Fri Mar 31 12:30:08 UTC 2006
On Thu, Mar 30, 2006 at 06:33:22PM +0000, Marcel Moolenaar wrote:
+> marcel 2006-03-30 18:33:22 UTC
+>
+> FreeBSD src repository
+>
+> Added files:
+> share/man/man4 scc.4
+> sys/dev/uart uart_bus_scc.c
+> sys/kern serdev_if.m
+> 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
+> sys/modules/scc Makefile
+> 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!
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20060331/b94ade66/attachment.pgp
More information about the cvs-src
mailing list