--- i810_audio.c.14 Tue Jan 8 03:28:31 2002 +++ linux/drivers/sound/i810_audio.c Tue Jan 8 14:01:26 2002 @@ -655,7 +655,6 @@ { struct dmabuf *dmabuf = &state->dmabuf; unsigned int civ, offset, port, port_picb, bytes = 2; - struct i810_channel *c; if (!dmabuf->enable) return 0; @@ -744,7 +743,7 @@ if(card->pci_id == PCI_DEVICE_ID_SI_7012) outb( inb(card->iobase + PO_PICB), card->iobase + PO_PICB ); else - outb( inb(card->iobase + PO_SR), card->iobase + PI_OR ); + outb( inb(card->iobase + PO_SR), card->iobase + PO_SR ); outl( inl(card->iobase + GLOB_STA) & INT_PO, card->iobase + GLOB_STA); }