Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173835
b: refs/heads/master
c: 58dcf8d
h: refs/heads/master
i:
  173833: a1dee7e
  173831: 4299cb5
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Dec 3, 2009
1 parent c72d1cc commit 5dd6efb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 16 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: c95522a7cc9461fd5b2c18cb72b66b46680bffa7
refs/heads/master: 58dcf8dcb5ebca4a5b1d2c0874efba744dd4552c
15 changes: 0 additions & 15 deletions trunk/drivers/ide/pdc202xx_old.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@

#define DRV_NAME "pdc202xx_old"

#define PDC202XX_DEBUG_DRIVE_INFO 0

static void pdc_old_disable_66MHz_clock(ide_hwif_t *);

static void pdc202xx_set_mode(ide_drive_t *drive, const u8 speed)
Expand All @@ -34,11 +32,6 @@ static void pdc202xx_set_mode(ide_drive_t *drive, const u8 speed)
u8 AP = 0, BP = 0, CP = 0;
u8 TA = 0, TB = 0, TC = 0;

#if PDC202XX_DEBUG_DRIVE_INFO
u32 drive_conf = 0;
pci_read_config_dword(dev, drive_pci, &drive_conf);
#endif

/*
* TODO: do this once per channel
*/
Expand Down Expand Up @@ -89,14 +82,6 @@ static void pdc202xx_set_mode(ide_drive_t *drive, const u8 speed)
pci_write_config_byte(dev, drive_pci + 1, BP | TB);
pci_write_config_byte(dev, drive_pci + 2, CP | TC);
}

#if PDC202XX_DEBUG_DRIVE_INFO
printk(KERN_DEBUG "%s: %s drive%d 0x%08x ",
drive->name, ide_xfer_verbose(speed),
drive->dn, drive_conf);
pci_read_config_dword(dev, drive_pci, &drive_conf);
printk("0x%08x\n", drive_conf);
#endif
}

static void pdc202xx_set_pio_mode(ide_drive_t *drive, const u8 pio)
Expand Down

0 comments on commit 5dd6efb

Please sign in to comment.