| Submitter | Bartlomiej Zolnierkiewicz |
|---|---|
| Date | Jan. 18, 2010, 5:16 p.m. |
| Message ID | <20100118171638.14623.85773.sendpatchset@localhost> |
| Download | mbox | patch |
| Permalink | /patch/43093/ |
| State | Not Applicable |
| Delegated to: | David Miller |
| Headers | show |
Comments
On 01/18/2010 12:16 PM, Bartlomiej Zolnierkiewicz wrote: > From: Bartlomiej Zolnierkiewicz<bzolnier@gmail.com> > Subject: [PATCH] pata_serverworks: fix PIO setup for the second channel > > Signed-off-by: Bartlomiej Zolnierkiewicz<bzolnier@gmail.com> > --- > drivers/ata/pata_serverworks.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) applied 19-20 -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Patch
Index: b/drivers/ata/pata_serverworks.c =================================================================== --- a/drivers/ata/pata_serverworks.c +++ b/drivers/ata/pata_serverworks.c @@ -1,6 +1,7 @@ /* * pata_serverworks.c - Serverworks PATA for new ATA layer * (C) 2005 Red Hat Inc + * (C) 2010 Bartlomiej Zolnierkiewicz * * based upon * @@ -232,7 +233,7 @@ static void serverworks_set_piomode(stru if (serverworks_is_csb(pdev)) { pci_read_config_word(pdev, 0x4A, &csb5_pio); csb5_pio &= ~(0x0F << devbits); - pci_write_config_byte(pdev, 0x4A, csb5_pio | (pio << devbits)); + pci_write_config_word(pdev, 0x4A, csb5_pio | (pio << devbits)); } }