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;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4f550df58f4758ea023704b409830ad9c3b47771/via82xx.c/clean/sound/pci/via82xx.c