Subject: port-next68k/6704: next68k zs driver formatting error
To: None <gnats-bugs@gnats.netbsd.org>
From: None <deberg@MIT.EDU>
List: netbsd-bugs
Date: 01/02/1999 00:19:47
>Number: 6704
>Category: port-next68k
>Synopsis: the next68k zs driver needs to print a newline
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: port-next68k-maintainer (NetBSD/next68k Portmaster)
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 1 21:35:00 1999
>Last-Modified:
>Originator: matt debergalis
>Organization:
matt debergalis <deberg@mit.edu> KB1CTH
finger deberg@ai.mit.edu for PGP key
>Release: -current as of 19990101
>Environment:
System: NetBSD pizzabox.deberg.org 1.3I NetBSD 1.3I (WSCONS) #38: Sat Jan 2 00:10:13 EST 1999 deberg@sunrise.ne.mediaone.net:/src/netbsd/src/sys/arch/next68k/compile/WSCONS next68k
>Description:
zs driver needs to print a newline.
>How-To-Repeat:
>Fix:
--- zs.c 1998/11/12 21:30:47 1.1.1.2
+++ zs.c 1999/01/02 05:17:50 1.3
@@ -211,13 +211,14 @@
struct device *self;
void *aux;
{
-
struct zsc_softc *zsc = (void *) self;
struct zsc_attach_args zsc_args;
volatile struct zschan *zc;
struct zs_chanstate *cs;
int s, zs_unit, channel;
+ printf("\n");
+
zs_unit = zsc->zsc_dev.dv_unit;
if (zsaddr[zs_unit] == NULL)
@@ -667,7 +668,7 @@
zs_major = maj;
zs_consunit = 0;
zsaddr[0] = (void *)IIOV(NEXT_P_SCC);
- cp->cn_dev = makedev(maj, zs_consunit);
+ cp->cn_dev = makedev(maj, zs_consunit);
zs_conschan = zs_get_chan_addr(0, zs_consunit);
} else {
cp->cn_pri = CN_DEAD;
>Audit-Trail:
>Unformatted: