Subject: CVS commit: src/sys/dev/ic
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 04/19/2006 17:44:07
Module Name: src
Committed By: tsutsui
Date: Wed Apr 19 17:44:07 UTC 2006
Modified Files:
src/sys/dev/ic: z8530tty.c
Log Message:
- use M_NOWAIT rather than M_WAITOK for malloc(9) to allocate RX buffer
in zstty_attach()
- check a return value of the malloc(9)
Taken from com.c, and somehow this seems to fix PR port-sun2/32420 on tme.
To generate a diff of this commit:
cvs rdiff -r1.105 -r1.106 src/sys/dev/ic/z8530tty.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.