Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269327
b: refs/heads/master
c: 6352187
h: refs/heads/master
i:
  269325: 69230a5
  269323: a76620c
  269319: 338158b
  269311: e1964ef
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz authored and Jeff Garzik committed Oct 14, 2011
1 parent 830cf53 commit 782bfaa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6013995af69a2f4f22b3f3274972742edacc44ac
refs/heads/master: 6352187ee886811afe7f8f3cc08664f59b364aa8
24 changes: 13 additions & 11 deletions trunk/drivers/ata/pata_sil680.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,12 @@

/**
* sil680_selreg - return register base
* @hwif: interface
* @ap: ATA interface
* @r: config offset
*
* Turn a config register offset into the right address in either
* PCI space or MMIO space to access the control register in question
* Turn a config register offset into the right address in PCI space
* to access the control register in question.
*
* Thankfully this is a configuration operation so isn't performance
* criticial.
*/
Expand All @@ -56,12 +57,12 @@ static unsigned long sil680_selreg(struct ata_port *ap, int r)

/**
* sil680_seldev - return register base
* @hwif: interface
* @ap: ATA interface
* @r: config offset
*
* Turn a config register offset into the right address in either
* PCI space or MMIO space to access the control register in question
* including accounting for the unit shift.
* Turn a config register offset into the right address in PCI space
* to access the control register in question including accounting for
* the unit shift.
*/

static unsigned long sil680_seldev(struct ata_port *ap, struct ata_device *adev, int r)
Expand Down Expand Up @@ -93,7 +94,7 @@ static int sil680_cable_detect(struct ata_port *ap) {
}

/**
* sil680_set_piomode - set initial PIO mode data
* sil680_set_piomode - set PIO mode data
* @ap: ATA interface
* @adev: ATA device
*
Expand Down Expand Up @@ -140,12 +141,13 @@ static void sil680_set_piomode(struct ata_port *ap, struct ata_device *adev)
}

/**
* sil680_set_dmamode - set initial DMA mode data
* sil680_set_dmamode - set DMA mode data
* @ap: ATA interface
* @adev: ATA device
*
* Program the MWDMA/UDMA modes for the sil680 k
* chipset. The MWDMA mode values are pulled from a lookup table
* Program the MWDMA/UDMA modes for the sil680 chipset.
*
* The MWDMA mode values are pulled from a lookup table
* while the chipset uses mode number for UDMA.
*/

Expand Down

0 comments on commit 782bfaa

Please sign in to comment.