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: Hiroyuki Bessho <>
Subject: Re: kern/38299: bioctl problem with arcmsr
Date: Thu, 03 Apr 2008 22:48:08 +0900

 At Thu, 27 Mar 2008 14:05:03 +0000 (UTC),
 Juan RP wrote:
 >  I don't know which state 0x88 would mean, but if the BIOS manager
 >  detects this as valid, we could just do the same as workaround for
 >  now.
 >  Please try to make the following modification, in
 >  arc_bio_disk_filldata(), add another case matching 0x88 to set the
 >  drive to BIOC_SDONLINE.
   It worked.  Thanks.
   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?
   BTW,  in arc_bio_disk_filldate() of NetBSD's driver,
 seems wrong to me, because device_state is uint8_t.

Home | Main Index | Thread Index | Old Index