/* return: 0 - .. : BREAK signal count  */
static void MoxaPortEnable(struct moxa_port *)
/* return: 0 - .. : BREAK signal count  */
static void MoxaPortEnable(struct moxa_port *)
{
	void __iomem *ofsAddr;
	u16 lowwater = 512;
	ofsAddr = port->tableAddr;
	writew(lowwater, ofsAddr + Low_water);
	if (MOXA_IS_320(port->board))
		moxafunc(ofsAddr, FC_SetBreakIrq, 0);
	else
		writew(readw(ofsAddr + HostStat) | WakeupBreak,
				ofsAddr + HostStat);
	moxafunc(ofsAddr, FC_SetLineIrq, Magic_code);
	moxafunc(ofsAddr, FC_FlushQueue, 2);
	moxafunc(ofsAddr, FC_EnableCH, Magic_code);
	MoxaPortLineStatus(port);
}