Subject: CVS commit: src/sys
To: None <>
From: Ben Harris <>
List: source-changes
Date: 02/14/2004 14:33:30
Module Name:	src
Committed By:	bjh21
Date:		Sat Feb 14 14:33:30 UTC 2004

Modified Files:
	src/sys/arch/alpha/alpha: machdep.c
	src/sys/arch/bebox/conf: files.bebox
	src/sys/arch/evbppc/ev64260: machdep.c
	src/sys/arch/i386/conf: files.i386
	src/sys/arch/sandpoint/sandpoint: machdep.c
	src/sys/arch/sgimips/mace: pckbc_mace.c
	src/sys/arch/sparc/conf: files.sparc
	src/sys/conf: files
	src/sys/dev: DEVNAMES
	src/sys/dev/ic: pckbc.c

Log Message:
Add a new MI attribute, pckbc_machdep_cnattach, and change pckbc_cnattach()
to only call pckbc_machdep_cnattach() if this is present.  This allows
pckbc_machdep_cnattach() to be omitted entirely on most ports, where it only
returns ENXIO anyway.

The devices with this attribute at the moment are pc(4) on i386 and bebox, and
pckbc on sparc, where pckbc_machdep_cnattach() mysteriously returns 0 rather
than ENXIO.

To generate a diff of this commit:
cvs rdiff -r1.280 -r1.281 src/sys/arch/alpha/alpha/machdep.c
cvs rdiff -r1.40 -r1.41 src/sys/arch/bebox/conf/files.bebox
cvs rdiff -r1.14 -r1.15 src/sys/arch/evbppc/ev64260/machdep.c
cvs rdiff -r1.247 -r1.248 src/sys/arch/i386/conf/files.i386
cvs rdiff -r1.30 -r1.31 src/sys/arch/sandpoint/sandpoint/machdep.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/sgimips/mace/pckbc_mace.c
cvs rdiff -r1.124 -r1.125 src/sys/arch/sparc/conf/files.sparc
cvs rdiff -r1.654 -r1.655 src/sys/conf/files
cvs rdiff -r1.149 -r1.150 src/sys/dev/DEVNAMES
cvs rdiff -r1.29 -r1.30 src/sys/dev/ic/pckbc.c

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