:BOARD ID:TCM509
:IRQ:
:IO BASE ADDR:
:MEMORY BASE:
:MEMORY SIZE (K):

1;
	}
	else {
		*p_len = regs.x.cx ;
		retval = 0;
	}
	sem_put() ;
	return( retval ) ;
}

UINT16 _plm _far pkt_set_address( void PTR32 p_macaddr, UINT16 length )
{
	static	struct SREGS sregs;
	static	union REGS regs;
	int	retval ;

	sem_get() ;
	segread(sregs);
	sregs.es  = FP_SEG( p_macaddr ) ;
	regs.x.di = FP_OFF( p_macaddr ) ;
	regs.x.cx = length ;
	regs.h.ah = SET_ADDRESS ;
	int86x(regs,regs,sregs);
	if(regs.x.cflag){
		Derr = re