Source-Changes archive

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

CVS commit: src/sys/dev/pci



Module Name:    src
Committed By:   xtraeme
Date:           Thu Feb 28 16:47:53 UTC 2008

Modified Files:
        src/sys/dev/pci: arcmsr.c arcmsrvar.h

Log Message:
Register a sensor per disk connected to a valid volume, so that we
can get more details if state on a disk or volume has changed,
previously only state about the volume was available.

You'll see something like this with envstat(8) now:

$ envstat -darcmsr0
RAID 5 volume0 (sd0):   building
 disk0 volume0 (sd0):     online
 disk1 volume0 (sd0):     online
 disk2 volume0 (sd0):     online
 disk3 volume0 (sd0):     online
$

Convert the driver to use pmf(9) and register a shutdown power handler
via pmf_device_register1() that was added recently.

Misc cosmetics tweaks while I'm here.


To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/dev/pci/arcmsr.c
cvs rdiff -r1.8 -r1.9 src/sys/dev/pci/arcmsrvar.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