Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   thorpej
Date:           Fri Sep 22 04:48:38 UTC 2006

Modified Files:
        src/sys/dev/ata: wd.c
        src/sys/kern: subr_disk.c
        src/sys/sys: disk.h

Log Message:
- Define disk information, disk geometry, and disk partition dictionary
  schemas.  Disk information and disk geometry are designed to replace
  information currently conveyed to user space using struct disklabel.
- Add a dk_info member to struct disk; a reference to a disk information
  dictionary.  This dictionary is to be allocated and the reference stored
  in struct disk by individual drivers.
- disk_detach0() will release dk_info if non-NULL.
- Convert the wd(4) driver to stash geometry and other disk properties
  as the "disk-info" property in its properties dictionary.  This needs
  some cleanup, but will serve as an example of what to do with other
  disk drivers.


To generate a diff of this commit:
cvs rdiff -r1.329 -r1.330 src/sys/dev/ata/wd.c
cvs rdiff -r1.80 -r1.81 src/sys/kern/subr_disk.c
cvs rdiff -r1.37 -r1.38 src/sys/sys/disk.h

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




Home | Main Index | Thread Index | Old Index