/* Description: Input an ASC_QDONE_INFO structure from the chip  */
static void DvcGetQinfo(PortAddr iop_base, ushort s_addr, uchar *inbuf, int words)
/* Description: Input an ASC_QDONE_INFO structure from the chip  */
static void DvcGetQinfo(PortAddr iop_base, ushort s_addr, uchar *inbuf, int words)
{
	int i;
	ushort word;
	AscSetChipLramAddr(iop_base, s_addr);
	for (i = 0; i < 2 * words; i += 2) {
		if (i == 10) {
			continue;
		}
		word = inpw(iop_base + IOP_RAM_DATA);
		inbuf[i] = word & 0xff;
		inbuf[i + 1] = (word >> 8) & 0xff;
	}
	ASC_DBG_PRT_HEX(2, "DvcGetQinfo", inbuf, 2 * words);
}