Jens Axboe wrote: >On Fri, Dec 07 2001, Martin A. Brooks wrote: > >>gcc -D__KERNEL__ -I/home/martin/kernel-a-day-club/linux/include -Wall >>-Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer >>-fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 >>-march=i686 -c -o ps2esdi.o ps2esdi.c >>ps2esdi.c: In function `do_ps2esdi_request': >>ps2esdi.c:498: switch quantity not an integer >>ps2esdi.c:500: warning: unreachable code at beginning of switch >>statement >>make[3]: *** [ps2esdi.o] Error 1 >> >Please take a look at the rq->cmd -> rq->flags changes. Then understand >them. Then fix ps2 and send me a diff, thanks. > Jens, It looks like in the rest of the code, you replaced CURRENT->cmd with rq_data_dir(CURRENT). I've attached a patch that does this for ps2esdi.c. Those old PS/2 machines are real workhorses. I still have a few of them running. -- Dave