Subject: CVS commit: src/sys/dev/ir
To: None <source-changes@NetBSD.org>
From: Matthias Drochner <drochner@netbsd.org>
List: source-changes
Date: 03/08/2007 19:35:44
Module Name:	src
Committed By:	drochner
Date:		Thu Mar  8 19:35:44 UTC 2007

Modified Files:
	src/sys/dev/ir: irframe_tty.c

Log Message:
In the pseudo-dev attach function, also try to register the struct cfdriver
of the backend irframe device with autoconf. This might fail or not,
depending on whether another frontend was configured. It helps if
irframetty is the only frontend.
This is a workaround for some inconsistencies in the interaction of
pseudo-devices with the autoconf framework. A fix will require changes
to config(8) which needs more consideration and testing.
Should fix a crash reported by Dieter Baron per PM.


To generate a diff of this commit:
cvs rdiff -r1.42 -r1.43 src/sys/dev/ir/irframe_tty.c

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