[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 10 Oct 2009 10:54:45 -0700 (PDT)
From: - <d.stussy@...oo.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>,
Bartlomiej Zolnierkiewicz <bzolnier@...il.com>
Cc: "David S. Miller" <davem@...emloft.net>,
Joao Ramos <joao.ramos@...v.pt>, David Fries <david@...es.net>,
linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] two ide fixes for -rc4
This latest patch (modifying only the SIS 5513 driver) WORKS FOR ME. :-)
- D. Stussy.
--- On Tue, 10/6/09, Bartlomiej Zolnierkiewicz <bzolnier@...il.com> wrote:
> ...
> --- a/drivers/ide/sis5513.c
> +++ b/drivers/ide/sis5513.c
> @@ -281,11 +281,13 @@ static void config_drive_art_rwp(ide_dri
>
> pci_read_config_byte(dev, 0x4b, ®4bh);
>
> + rw_prefetch = reg4bh & ~(0x11 << drive->dn);
> +
> if (drive->media == ide_disk)
> - rw_prefetch = 0x11 << drive->dn;
> + rw_prefetch |= 0x11 << drive->dn;
>
> - if ((reg4bh & (0x11 << drive->dn)) != rw_prefetch)
> - pci_write_config_byte(dev, 0x4b, reg4bh|rw_prefetch);
> + if (reg4bh != rw_prefetch)
> + pci_write_config_byte(dev, 0x4b, rw_prefetch);
> }
>
> static void sis_set_pio_mode(ide_drive_t *drive, const u8 pio)
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists