Re: [PATCH] SH/Dreamcast - add support for GD-Rom CDROM drive on SEGA Dreamcast

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Jens Axboe <jens.axboe@...>, Paul Mundt <lethal@...>, linux-sh <linux-sh@...>, LKML <linux-kernel@...>
Date: Saturday, January 12, 2008 - 10:14 am

On Sat, 2008-01-12 at 05:36 -0800, Andrew Morton wrote:

There is a 60 second timeout on one of the basic read fuctions in
cdrom.c, which I think is where I got this from. But the default timeout
there is 7 seconds, which I suppose I could use.




True enough. If the bits never cleared that would be broken hardware,
but not a reason not to catch it.


....




Maybe I am being stupid here, but I don't follow this. They'll get a
non-fatal error, that's all. Who else would be using spin_command? It's
just a series of bytes to plug into the GD Rom registers, that's all.






I did. I'll recheck it though, of course.


Again, maybe I am missing the point (quite possible), but I don't see
how this is an issue. What is mising is something to check there haven't
been timeouts earlier that mean we'll just be reading garbage out of the
registers, but I don't there is any problem about freeing this piece of
memory.


....


Are you saying that is better?



I'm afraid so.

...


Good point.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] SH/Dreamcast - add support for GD-Rom CDROM driv..., Adrian McMenamin, (Sat Jan 12, 10:14 am)