Subject: CVS commit: src/sys/arch/x68k/dev
To: None <source-changes@NetBSD.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 01/18/2005 07:28:46
Module Name:	src
Committed By:	chs
Date:		Tue Jan 18 07:28:46 UTC 2005

Modified Files:
	src/sys/arch/x68k/dev: com.c

Log Message:
use a global variable to ensure that only one instance is configured
rather than requiring that its unit number be zero.
simplify by not pretending that x68ks can have more than 1 com
(which they might actually have, but the driver doesn't currently allow it).
determine which instance is the console by comparing the iobase rather than
the unit number (which is silly given the above, but whatever).


To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 src/sys/arch/x68k/dev/com.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.