Subject: CVS commit: [netbsd-3] src
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 11/11/2006 19:58:15
Module Name:	src
Committed By:	bouyer
Date:		Sat Nov 11 19:58:14 UTC 2006

Modified Files:
	src/etc [netbsd-3]: MAKEDEV.tmpl
	src/sys/compat/freebsd [netbsd-3]: freebsd_sysctl.c
	src/sys/conf [netbsd-3]: majors
	src/sys/dev/pci [netbsd-3]: twa.c twaio.h twareg.h

Log Message:
Pull up following revision(s) (requested by manu in ticket #1528):
	etc/MAKEDEV.tmpl: revision 1.66 via patch
	sys/conf/majors: revision 1.30 via patch
	sys/dev/pci/twareg.h: revision 1.6 via patch
	sys/dev/pci/twa.c: revision 1.13 via patch
	sys/dev/pci/twaio.h: revision 1.4 via patch
	sys/compat/freebsd/freebsd_sysctl.c: revision 1.5 via patch
Tweak the twa(4) driver so that 3ware command line utility works with
it.
This includes:
- fixing various structure definitions so that the ioctl parameter match
- adding a hw.twa*.driver_version sysctl
- do not refuse multiple device openings, as the management tool will do
it.
  I'm not sure we are safe. FreeBSD allows multiple openings, and use
the
  open flag only when an attempt to detach the device is done.
Fix a bug in FreeBSD sysctl emulation: use copyin for
moving data to the kernel


To generate a diff of this commit:
cvs rdiff -r1.40.2.7 -r1.40.2.8 src/etc/MAKEDEV.tmpl
cvs rdiff -r1.2.4.1 -r1.2.4.2 src/sys/compat/freebsd/freebsd_sysctl.c
cvs rdiff -r1.13.8.2 -r1.13.8.3 src/sys/conf/majors
cvs rdiff -r1.9.2.1 -r1.9.2.2 src/sys/dev/pci/twa.c
cvs rdiff -r1.3.2.1 -r1.3.2.2 src/sys/dev/pci/twaio.h
cvs rdiff -r1.5.2.1 -r1.5.2.2 src/sys/dev/pci/twareg.h

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