Subject: CVS commit: [netbsd-3] src
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <tron@netbsd.org>
List: source-changes
Date: 02/20/2006 15:26:49
Module Name:	src
Committed By:	tron
Date:		Mon Feb 20 15:26:49 UTC 2006

Modified Files:
	src/sbin/ccdconfig [netbsd-3]: ccdconfig.c
	src/sys/dev [netbsd-3]: ccd.c

Log Message:
Pull up following revision(s) (requested by lukem in ticket #1178):
	sys/dev/ccd.c: revision 1.108
	sbin/ccdconfig/ccdconfig.c: revision 1.42
* The kernel's struct ccd_softc has extra structure members over the
  userland version; provide another ccd global variable (ccd_softc_elemsize)
  containing the kernel's size, and use that it ccdconfig(8) to convert the
  kernel's ccd_softc into userland versions.
  Fixes 'ccdconfig -g'.
* Use DISKUNIT() instead of home-grown cruft to determine the `N' of "ccdN".
  Fixes 'ccdconfig -g ccd1'.
* Use (void *) instead of (char *) in the calls to kvm_read().
XXX: ccd could be converted from nlist to sysctl.  "Someone else's yak shave".


To generate a diff of this commit:
cvs rdiff -r1.40 -r1.40.2.1 src/sbin/ccdconfig/ccdconfig.c
cvs rdiff -r1.102.2.1 -r1.102.2.2 src/sys/dev/ccd.c

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