Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 53605
b: refs/heads/master
c: 8e60d37
h: refs/heads/master
i:
  53603: ab71500
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed May 5, 2007
1 parent ea4c1d5 commit e7dadbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 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: 0e9b4e535fec7e2a189952670937adfbe2826b63
refs/heads/master: 8e60d3762f32c9573a449950717a3de12dfebbe3
12 changes: 2 additions & 10 deletions trunk/drivers/ide/pci/siimage.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* linux/drivers/ide/pci/siimage.c Version 1.11 Jan 27, 2007
* linux/drivers/ide/pci/siimage.c Version 1.12 Mar 10 2007
*
* Copyright (C) 2001-2002 Andre Hedrick <andre@linux-ide.org>
* Copyright (C) 2003 Red Hat <alan@redhat.com>
Expand Down Expand Up @@ -287,11 +287,6 @@ static void config_siimage_chipset_for_pio (ide_drive_t *drive, byte set_speed)
(void) ide_config_drive_speed(drive, speed);
}

static void config_chipset_for_pio (ide_drive_t *drive, byte set_speed)
{
config_siimage_chipset_for_pio(drive, set_speed);
}

/**
* siimage_tune_chipset - set controller timings
* @drive: Drive to set up
Expand Down Expand Up @@ -396,8 +391,6 @@ static int config_chipset_for_dma (ide_drive_t *drive)
{
u8 speed = ide_dma_speed(drive, siimage_ratemask(drive));

config_chipset_for_pio(drive, !speed);

if (!speed)
return 0;

Expand All @@ -423,7 +416,7 @@ static int siimage_config_drive_for_dma (ide_drive_t *drive)
return 0;

if (ide_use_fast_pio(drive))
config_chipset_for_pio(drive, 1);
config_siimage_chipset_for_pio(drive, 1);

return -1;
}
Expand Down Expand Up @@ -1015,7 +1008,6 @@ static void __devinit init_hwif_siimage(ide_hwif_t *hwif)

hwif->ultra_mask = 0x7f;
hwif->mwdma_mask = 0x07;
hwif->swdma_mask = 0x07;

if (!is_sata(hwif))
hwif->atapi_dma = 1;
Expand Down

0 comments on commit e7dadbe

Please sign in to comment.