Re: Silicon Image 3112A SATA trouble
From: Vojtech Pavlik (vojtech_at_suse.cz)
Date: 11/30/03
- Previous message: Jens Axboe: "Re: Silicon Image 3112A SATA trouble"
- In reply to: Jeff Garzik: "Re: Silicon Image 3112A SATA trouble"
- Next in thread: Yaroslav Klyukin: "Re: Silicon Image 3112A SATA trouble"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 Nov 2003 20:44:31 +0100 To: Jeff Garzik <jgarzik@pobox.com>
On Sun, Nov 30, 2003 at 01:31:35PM -0500, Jeff Garzik wrote:
> >Ah, my line wasn't completely clear (to say the least)... So to clear
> >all doubts:
> >
> > if ((sector_count % 15 == 1) && (sector_count != 1))
> > errata path
> >
> >Agree?
>
>
> Agreed.
>
>
> The confusion here is most likely my fault, as my original post
> intentionally inverted the logic for illustrative purposes (hah!)...
Yeah, and there was an error in the inversion, since if you invert the
above statement, it looks like this:
if ((sector_count % 15 != 1) || (sector_count == 1))
ok path
else
errata path
Logic can be a bitch at times.
-- Vojtech Pavlik SuSE Labs, SuSE CR - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Jens Axboe: "Re: Silicon Image 3112A SATA trouble"
- In reply to: Jeff Garzik: "Re: Silicon Image 3112A SATA trouble"
- Next in thread: Yaroslav Klyukin: "Re: Silicon Image 3112A SATA trouble"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|