Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/arch/amiga/dev



mhitch%NetBSD.org@localhost wrote:

>    A quick look at esiop seems that there is no timeout checking in polled 
> mode, so it would hang if there are no interrupts.  It looks like osiop
> does do timeout checking in polled mode, but oosiop doesn't.

Hmm, the MI osiop is completely based on amiga's siop
(only bus_dma(9)'fied and bus_space(9)'fied), and
I don't remember at all why/how I added osiop_timeout()
function with callout(9)...

Maybe because I got a lost intr problem during porting,
but I don't think my code was correct so if your
timeout function is properly tested I'll replace osiop's one
with it. (I'm not a SCSI guru ;-)

oosiop was rewritten from scratch (by ura@), so it might
have less error handling as noted TODO in oosiop.c.
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index