Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147915
b: refs/heads/master
c: ffddf17
h: refs/heads/master
i:
  147913: efd32ee
  147911: 9508414
v: v3
  • Loading branch information
Sergei Shtylyov authored and Bartlomiej Zolnierkiewicz committed Jun 7, 2009
1 parent 6efcf34 commit 9b8a873
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 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: 1221e241e3a6f1ff5b0de03d58d871f7c995781b
refs/heads/master: ffddf1717b0d388879c646eaf6261a2b393c06ad
17 changes: 0 additions & 17 deletions trunk/drivers/ide/pdc202xx_old.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,22 +203,6 @@ static int pdc202xx_dma_end(ide_drive_t *drive)
return ide_dma_end(drive);
}

static void pdc202xx_reset(ide_drive_t *drive)
{
ide_hwif_t *hwif = drive->hwif;
unsigned long high_16 = hwif->extra_base - 16;
u8 udma_speed_flag = inb(high_16 | 0x001f);

printk(KERN_WARNING "PDC202xx: software reset...\n");

outb(udma_speed_flag | 0x10, high_16 | 0x001f);
mdelay(100);
outb(udma_speed_flag & ~0x10, high_16 | 0x001f);
mdelay(2000); /* 2 seconds ?! */

ide_set_max_pio(drive);
}

static int init_chipset_pdc202xx(struct pci_dev *dev)
{
unsigned long dmabase = pci_resource_start(dev, 4);
Expand Down Expand Up @@ -279,7 +263,6 @@ static const struct ide_port_ops pdc2026x_port_ops = {
.set_pio_mode = pdc202xx_set_pio_mode,
.set_dma_mode = pdc202xx_set_mode,
.quirkproc = pdc202xx_quirkproc,
.resetproc = pdc202xx_reset,
.cable_detect = pdc2026x_cable_detect,
};

Expand Down

0 comments on commit 9b8a873

Please sign in to comment.