NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/38299: bioctl problem with arcmsr
The following reply was made to PR kern/38299; it has been noted by GNATS.
From: Juan RP <xtraeme%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: kern/38299: bioctl problem with arcmsr
Date: Thu, 3 Apr 2008 15:54:11 +0200
On Thu, 3 Apr 2008 13:50:01 +0000 (UTC)
Hiroyuki Bessho <bsh%grotto.jp@localhost> wrote:
> I checked source codes in Areca's CD-ROM. According to the header
> file "arclib.h", device status is defined as:
>
> bit7: initialized
> bit6: available
> bit5: reserved for hot spare
> bit4: failed
> bit3: attached
> bit1: pass through
>
> So, bit0 is something we can ignore?
Yeah, probably.
> BTW, in arc_bio_disk_filldate() of NetBSD's driver,
> htole32(diskinfo->device_state)
> seems wrong to me, because device_state is uint8_t.
Ah yes, thanks for the catch.
I'll change the driver with those changes.
--
Juan Romero Pardines - xtraeme at gmail|netbsd dot org
The NetBSD Project
Make your own NetBSD/x86 Live CD
http://www.netbsd.org/~xtraeme/mklivecd/
Home |
Main Index |
Thread Index |
Old Index