Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102082
b: refs/heads/master
c: 86a0e12
h: refs/heads/master
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 16, 2008
1 parent bf49981 commit e6a2099
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 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: 17b500de0ad79a306a0cd8acfe9a9f086ad28b4c
refs/heads/master: 86a0e12fcb590a6a84b90ae00e6d6564ce770749
1 change: 1 addition & 0 deletions trunk/drivers/ide/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@ config BLK_DEV_ATIIXP

config BLK_DEV_CMD64X
tristate "CMD64{3|6|8|9} chipset support"
select IDE_TIMINGS
select BLK_DEV_IDEDMA_PCI
help
Say Y here if you have an IDE controller which uses any of these
Expand Down
6 changes: 3 additions & 3 deletions trunk/drivers/ide/pci/cmd64x.c
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ static void cmd64x_tune_pio(ide_drive_t *drive, const u8 pio)
{
ide_hwif_t *hwif = HWIF(drive);
struct pci_dev *dev = to_pci_dev(hwif->dev);
struct ide_timing *t = ide_timing_find_mode(XFER_PIO_0 + pio);
unsigned int cycle_time;
u8 setup_count, arttim = 0;

Expand All @@ -124,10 +125,9 @@ static void cmd64x_tune_pio(ide_drive_t *drive, const u8 pio)

cycle_time = ide_pio_cycle_time(drive, pio);

program_cycle_times(drive, cycle_time,
ide_pio_timings[pio].active_time);
program_cycle_times(drive, cycle_time, t->active);

setup_count = quantize_timing(ide_pio_timings[pio].setup_time,
setup_count = quantize_timing(t->setup,
1000 / (ide_pci_clk ? ide_pci_clk : 33));

/*
Expand Down

0 comments on commit e6a2099

Please sign in to comment.