summaryrefslogtreecommitdiffstats
path: root/sys/dev/raidframe/rf_threadstuff.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-05-02 19:58:08 +0000
committerphk <phk@FreeBSD.org>2003-05-02 19:58:08 +0000
commit55aa7c2b5c7e0ac4b88c32f0354da8d0ed90062d (patch)
tree1e85cd23be0e4694399452a28cef89903a16ee43 /sys/dev/raidframe/rf_threadstuff.c
parent865a4611c852ce323ed4834502d830deb9064125 (diff)
downloadFreeBSD-src-55aa7c2b5c7e0ac4b88c32f0354da8d0ed90062d.zip
FreeBSD-src-55aa7c2b5c7e0ac4b88c32f0354da8d0ed90062d.tar.gz
Add three global variables which contain the location, size and a flag
for the alpha checksum, and set them depending on the specified architecture Don't look for disklabels every 16 bytes, look the only place they should be for the current architecture. Always read the label from the raw disk and decode it into struct disklabel rather than trust a cast from random addresses. When writing to the raw disk, encode the label properly.
Diffstat (limited to 'sys/dev/raidframe/rf_threadstuff.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud