Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 10/25/2006 04:04:46
Module Name: src
Committed By: thorpej
Date: Wed Oct 25 04:04:46 UTC 2006
Modified Files:
src/sys/dev/ata: wd.c
src/sys/kern: subr_disk.c
src/sys/sys: disk.h dkio.h
Log Message:
- Add a new disk ioctl (DIOCGDISKINFO) to get the disk-info dictionary
for the disk.
- Add a new function, disk_ioctl(), that does generic disk ioctl handling.
DIOCGDISKINFO is handled here now, and others will be added in the future.
- In the wd driver, fill in the dk_info member of struct disk and use the
new disk_ioctl() function.
To generate a diff of this commit:
cvs rdiff -r1.331 -r1.332 src/sys/dev/ata/wd.c
cvs rdiff -r1.81 -r1.82 src/sys/kern/subr_disk.c
cvs rdiff -r1.38 -r1.39 src/sys/sys/disk.h
cvs rdiff -r1.12 -r1.13 src/sys/sys/dkio.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.