Subject: Re: TC bba audio problem on DEC3000/300
To: None <g.mcgarry@ieee.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-alpha
Date: 07/18/2000 20:59:21
In <20000718075450.B28709@echo.sprc.qut.edu.au>
g.mcgarry@ieee.org wrote:

> Jason R Thorpe wrote:
> > It looks like this patch will be okay on the DECstation, as well.  The
> > new arch/pmax/tc/asc_ioasic.c clears the pointer reload interrupt bit
> > for the SCSI as well...
> 
> I think this is a special case for doing polled I/O:
 :
> As the comment alludes, generally the correct place is to do it in the
> machine-dependent 'interrupt processing'.

/sys/dev/tc/xcfb.c has the following code:

---
static int
xcfbintr(v)
	void *v;
{
	int intr;

	intr = *(u_int32_t *)(ioasic_base + IOASIC_INTR);
	intr &= ~XINE_INTR_VINT;
	*(u_int32_t *)(ioasic_base + IOASIC_INTR) = intr;
	return (1);
}
---

(Yes, I stole the code from this.)
Should this also be handled in ioasic.c or not?
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp