Subject: CVS commit: src/sys/arch/xen
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 05/23/2006 21:07:57
Module Name:	src
Committed By:	bouyer
Date:		Tue May 23 21:07:56 UTC 2006

Modified Files:
	src/sys/arch/xen/include: xenbus.h
	src/sys/arch/xen/xen: if_xennet_xenbus.c xbd_xenbus.c
	src/sys/arch/xen/xenbus: xenbus_comms.c xenbus_probe.c

Log Message:
Add needed framework for backend drivers.
As we want some control on the name the backend driver will have we
can't use autoconf(9) here. Instead backend drivers registers to
xenbus, which will call a create callback when a new device is there.
Backend devices won't have a "struct device" in xenbus, use a void pointer
instead.


To generate a diff of this commit:
cvs rdiff -r1.4 -r1.5 src/sys/arch/xen/include/xenbus.h
cvs rdiff -r1.8 -r1.9 src/sys/arch/xen/xen/if_xennet_xenbus.c
cvs rdiff -r1.11 -r1.12 src/sys/arch/xen/xen/xbd_xenbus.c
cvs rdiff -r1.2 -r1.3 src/sys/arch/xen/xenbus/xenbus_comms.c
cvs rdiff -r1.10 -r1.11 src/sys/arch/xen/xenbus/xenbus_probe.c

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