viadev->hwptr_done = 0;
static void snd_via82xx_channel_reset(via82xx_t *chip, viadev_t *viadev){	outb(VIA_REG_CTRL_PAUSE | VIA_REG_CTRL_TERMINATE | VIA_REG_CTRL_RESET,	     VIADEV_REG(viadev, OFFSET_CONTROL));	inb(VIADEV_REG(viadev, OFFSET_CONTROL));	udelay(50);	/* disable interrupts */	outb(0x00, VIADEV_REG(viadev, OFFSET_CONTROL));	/* clear interrupts */	outb(0x03, VIADEV_REG(viadev, OFFSET_STATUS));	outb(0x00, VIADEV_REG(viadev, OFFSET_TYPE)); /* for via686 */	// outl(0, VIADEV_REG(viadev, OFFSET_CURR_PTR));	viadev->lastpos = 0;}