/* ks_inblk - read a block of data from QMU. This is called after sudo DMA mode enabled. @ks: The chip state @wptr: buffer address to save data @len: length in byte to read  */
static void ks_inblk(struct ks_net *ks, u16 *wptr, u32 len)
/* ks_inblk - read a block of data from QMU. This is called after sudo DMA mode enabled. @ks: The chip state @wptr: buffer address to save data @len: length in byte to read  */
static void ks_inblk(struct ks_net *ks, u16 *wptr, u32 len)
{
	len >>= 1;
	while (len--)
		*wptr++ = (u16)ioread16(ks->hw_addr);
}