Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 59079
b: refs/heads/master
c: 790956e
h: refs/heads/master
i:
  59077: baf0edc
  59075: 2183dd5
  59071: 13ccb5a
v: v3
  • Loading branch information
Jeff Garzik committed Jul 11, 2007
1 parent fc6f857 commit 0995e5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2f8d90ab797682ab51b27748b960aec8aa42892f
refs/heads/master: 790956e7bbf0a7b73e72b04d3bd63d974c7e29bb
5 changes: 5 additions & 0 deletions trunk/drivers/ata/pata_hpt3x3.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ static void hpt3x3_set_piomode(struct ata_port *ap, struct ata_device *adev)
pci_write_config_dword(pdev, 0x48, r2);
}

#if defined(CONFIG_PATA_HPT3X3_DMA)
/**
* hpt3x3_set_dmamode - DMA timing setup
* @ap: ATA interface
Expand Down Expand Up @@ -86,6 +87,7 @@ static void hpt3x3_set_dmamode(struct ata_port *ap, struct ata_device *adev)
pci_write_config_dword(pdev, 0x44, r1);
pci_write_config_dword(pdev, 0x48, r2);
}
#endif /* CONFIG_PATA_HPT3X3_DMA */

/**
* hpt3x3_atapi_dma - ATAPI DMA check
Expand Down Expand Up @@ -120,6 +122,9 @@ static struct scsi_host_template hpt3x3_sht = {
static struct ata_port_operations hpt3x3_port_ops = {
.port_disable = ata_port_disable,
.set_piomode = hpt3x3_set_piomode,
#if defined(CONFIG_PATA_HPT3X3_DMA)
.set_dmamode = hpt3x3_set_dmamode,
#endif
.mode_filter = ata_pci_default_filter,

.tf_load = ata_tf_load,
Expand Down

0 comments on commit 0995e5a

Please sign in to comment.