require '_h2ph_pre.ph';

unless(defined(&WSS_IRQ_VALID)) {
    sub WSS_IRQ_VALID {
	local($irq) = @_;
	eval q((($irq) == 5|| ($irq) == 7|| ($irq) == 9|| ($irq) == 10|| ($irq) == 11));
    }
}
unless(defined(&WSS_DRQ_VALID)) {
    sub WSS_DRQ_VALID {
	local($chan) = @_;
	eval q((($chan) == 0|| ($chan) == 1|| ($chan) == 3));
    }
}
unless(defined(&WSS_BASE_VALID)) {
    sub WSS_BASE_VALID {
	local($base) = @_;
	eval q((($base) == 0x0530 || ($base) == 0x0604 || ($base) == 0x0e80 || ($base) == 0x0f40));
    }
}
unless(defined(&WSS_CONFIG)) {
    sub WSS_CONFIG () {	0x00;}
}
unless(defined(&WSS_STATUS)) {
    sub WSS_STATUS () {	0x03;}
}
unless(defined(&WSS_CODEC)) {
    sub WSS_CODEC () {	0x04;}
}
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 () {	0x04;}
}
unless(defined(&WSS_VERSMASK)) {
    sub WSS_VERSMASK () {	0x3f;}
}
1;
