Re: Linux 2.5.10-dj1

Dave Jones
2002-04-27T18:46:44Z

On Sat, Apr 27, 2002 at 08:34:47PM +0200, Adrian Bunk wrote:
> Hi Dave,
>
> there are changes in the 2.5.10-dj1 patch that aren't in the 2.5.9-dj1
> patch that include removals of defines for TIMEOUT_VALUE and
> DEVICE_REQUEST that seem to cause the following compile error:

oops, accidentally dropped that when merging Martins updates.

add a #define TIMEOUT_VALUE (6*HZ) to hd.c
Also you should change..

- blk_init_queue(BLK_DEFAULT_QUEUE(MAJOR_NR), DEVICE_REQUEST, &hd_lock);
+ blk_init_queue(BLK_DEFAULT_QUEUE(MAJOR_NR), do_hd_request, &hd_lock);

At line 830 or so.

--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs