[PATCH] ide-generic: Fix no initalization of idx in some case

2008-02-20 Thread Johann Felix Soden
From: Johann Felix Soden [EMAIL PROTECTED] If the slot is already occupied, there should be written 0xff to idx[i]. In the ongoing code and in this case there are no writings to idx[i], so garbage stays in idx. The kernel get into a endless loop printing: : I/O resource 0x0-0x0 not free. Trying

Re: [PATCH] ide-generic: Fix no initalization of idx in some case

2008-02-20 Thread Bartlomiej Zolnierkiewicz
On Wednesday 20 February 2008, Johann Felix Soden wrote: From: Johann Felix Soden [EMAIL PROTECTED] If the slot is already occupied, there should be written 0xff to idx[i]. In the ongoing code and in this case there are no writings to idx[i], so garbage stays in idx. The kernel get into a