require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&WSS_IRQ_VALID)) {
    sub WSS_IRQ_VALID {
	my($irq) = @_;
	eval q((($irq) == 5|| ($irq) == 7|| ($irq) == 9|| ($irq) == 10|| ($irq) == 11));
    }
}
unless(defined(&WSS_DRQ_VALID)) {
    sub WSS_DRQ_VALID {
	my($chan) = @_;
	eval q((($chan) == 0|| ($chan) == 1|| ($chan) == 3));
    }
}
unless(defined(&WSS_BASE_VALID)) {
    sub WSS_BASE_VALID {
	my($base) = @_;
	eval q((($base) == 0x530 || ($base) == 0x604 || ($base) == 0xe80 || ($base) == 0xf40));
    }
}
unless(defined(&WSS_CONFIG)) {
    sub WSS_CONFIG () {	0x;}
}
unless(defined(&WSS_STATUS)) {
    sub WSS_STATUS () {	0x3;}
}
unless(defined(&WSS_CODEC)) {
    sub WSS_CODEC () {	0x4;}
}
unless(defined(&WSS_NPORT)) {
    sub WSS_NPORT () {	8;}
}
unless(defined(&WSS_16SLOT)) {
    sub WSS_16SLOT () {	0x80;}
}
unless(defined(&WSS_IRQACTIVE)) {
    sub WSS_IRQACTIVE () {	0x40;}
}
unless(defined(&WSS_VERS)) {
    sub WSS_VERS () {	0x4;}
}
unless(defined(&WSS_VERSMASK)) {
    sub WSS_VERSMASK () {	0x3f;}
}
1;
