require '_h2ph_pre.ph';

no warnings 'redefine';

require 'sys/types.ph';
unless(defined(&BIOCLOCATE)) {
    sub BIOCLOCATE () {	 &_IOWR(ord('B'), 0, 'struct bio_locate');}
}
if(defined(&_KERNEL)) {
}
unless(defined(&BIOCINQ)) {
    sub BIOCINQ () {	 &_IOWR(ord('B'), 32, 'struct bioc_inq');}
}
unless(defined(&BIOCDISK)) {
    sub BIOCDISK () {	 &_IOWR(ord('B'), 33, 'struct bioc_disk');}
}
unless(defined(&BIOC_SDONLINE)) {
    sub BIOC_SDONLINE () {	0x;}
}
unless(defined(&BIOC_SDONLINE_S)) {
    sub BIOC_SDONLINE_S () {	"Online";}
}
unless(defined(&BIOC_SDOFFLINE)) {
    sub BIOC_SDOFFLINE () {	0x1;}
}
unless(defined(&BIOC_SDOFFLINE_S)) {
    sub BIOC_SDOFFLINE_S () {	"Offline";}
}
unless(defined(&BIOC_SDFAILED)) {
    sub BIOC_SDFAILED () {	0x2;}
}
unless(defined(&BIOC_SDFAILED_S)) {
    sub BIOC_SDFAILED_S () {	"Failed";}
}
unless(defined(&BIOC_SDREBUILD)) {
    sub BIOC_SDREBUILD () {	0x3;}
}
unless(defined(&BIOC_SDREBUILD_S)) {
    sub BIOC_SDREBUILD_S () {	"Rebuild";}
}
unless(defined(&BIOC_SDHOTSPARE)) {
    sub BIOC_SDHOTSPARE () {	0x4;}
}
unless(defined(&BIOC_SDHOTSPARE_S)) {
    sub BIOC_SDHOTSPARE_S () {	"Hot spare";}
}
unless(defined(&BIOC_SDUNUSED)) {
    sub BIOC_SDUNUSED () {	0x5;}
}
unless(defined(&BIOC_SDUNUSED_S)) {
    sub BIOC_SDUNUSED_S () {	"Unused";}
}
unless(defined(&BIOC_SDSCRUB)) {
    sub BIOC_SDSCRUB () {	0x6;}
}
unless(defined(&BIOC_SDSCRUB_S)) {
    sub BIOC_SDSCRUB_S () {	"Scrubbing";}
}
unless(defined(&BIOC_SDINVALID)) {
    sub BIOC_SDINVALID () {	0xff;}
}
unless(defined(&BIOC_SDINVALID_S)) {
    sub BIOC_SDINVALID_S () {	"Invalid";}
}
unless(defined(&BIOCVOL)) {
    sub BIOCVOL () {	 &_IOWR(ord('B'), 34, 'struct bioc_vol');}
}
unless(defined(&BIOC_SVONLINE)) {
    sub BIOC_SVONLINE () {	0x;}
}
unless(defined(&BIOC_SVONLINE_S)) {
    sub BIOC_SVONLINE_S () {	"Online";}
}
unless(defined(&BIOC_SVOFFLINE)) {
    sub BIOC_SVOFFLINE () {	0x1;}
}
unless(defined(&BIOC_SVOFFLINE_S)) {
    sub BIOC_SVOFFLINE_S () {	"Offline";}
}
unless(defined(&BIOC_SVDEGRADED)) {
    sub BIOC_SVDEGRADED () {	0x2;}
}
unless(defined(&BIOC_SVDEGRADED_S)) {
    sub BIOC_SVDEGRADED_S () {	"Degraded";}
}
unless(defined(&BIOC_SVBUILDING)) {
    sub BIOC_SVBUILDING () {	0x3;}
}
unless(defined(&BIOC_SVBUILDING_S)) {
    sub BIOC_SVBUILDING_S () {	"Building";}
}
unless(defined(&BIOC_SVSCRUB)) {
    sub BIOC_SVSCRUB () {	0x4;}
}
unless(defined(&BIOC_SVSCRUB_S)) {
    sub BIOC_SVSCRUB_S () {	"Scrubbing";}
}
unless(defined(&BIOC_SVREBUILD)) {
    sub BIOC_SVREBUILD () {	0x5;}
}
unless(defined(&BIOC_SVREBUILD_S)) {
    sub BIOC_SVREBUILD_S () {	"Rebuild";}
}
unless(defined(&BIOC_SVINVALID)) {
    sub BIOC_SVINVALID () {	0xff;}
}
unless(defined(&BIOC_SVINVALID_S)) {
    sub BIOC_SVINVALID_S () {	"Invalid";}
}
unless(defined(&BIOCALARM)) {
    sub BIOCALARM () {	 &_IOWR(ord('B'), 35, 'struct bioc_alarm');}
}
unless(defined(&BIOC_SADISABLE)) {
    sub BIOC_SADISABLE () {	0x;}
}
unless(defined(&BIOC_SAENABLE)) {
    sub BIOC_SAENABLE () {	0x1;}
}
unless(defined(&BIOC_SASILENCE)) {
    sub BIOC_SASILENCE () {	0x2;}
}
unless(defined(&BIOC_GASTATUS)) {
    sub BIOC_GASTATUS () {	0x3;}
}
unless(defined(&BIOC_SATEST)) {
    sub BIOC_SATEST () {	0x4;}
}
unless(defined(&BIOCBLINK)) {
    sub BIOCBLINK () {	 &_IOWR(ord('B'), 36, 'struct bioc_blink');}
}
unless(defined(&BIOC_SBUNBLINK)) {
    sub BIOC_SBUNBLINK () {	0x;}
}
unless(defined(&BIOC_SBBLINK)) {
    sub BIOC_SBBLINK () {	0x1;}
}
unless(defined(&BIOC_SBALARM)) {
    sub BIOC_SBALARM () {	0x2;}
}
unless(defined(&BIOCSETSTATE)) {
    sub BIOCSETSTATE () {	 &_IOWR(ord('B'), 37, 'struct bioc_setstate');}
}
unless(defined(&BIOC_SSONLINE)) {
    sub BIOC_SSONLINE () {	0x;}
}
unless(defined(&BIOC_SSOFFLINE)) {
    sub BIOC_SSOFFLINE () {	0x1;}
}
unless(defined(&BIOC_SSHOTSPARE)) {
    sub BIOC_SSHOTSPARE () {	0x2;}
}
unless(defined(&BIOC_INQ)) {
    sub BIOC_INQ () {	0x1;}
}
unless(defined(&BIOC_DISK)) {
    sub BIOC_DISK () {	0x2;}
}
unless(defined(&BIOC_VOL)) {
    sub BIOC_VOL () {	0x4;}
}
unless(defined(&BIOC_ALARM)) {
    sub BIOC_ALARM () {	0x8;}
}
unless(defined(&BIOC_BLINK)) {
    sub BIOC_BLINK () {	0x10;}
}
unless(defined(&BIOC_SETSTATE)) {
    sub BIOC_SETSTATE () {	0x20;}
}
1;
