Messages in this thread Patch in this message | | | Date | Sat, 10 Oct 2009 10:54:45 -0700 (PDT) | From | - <> | 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@gmail.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |