diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-12-03 11:25:57 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-12-03 11:25:57 -0500 |
commit | 58dcf8dcb5ebca4a5b1d2c0874efba744dd4552c (patch) | |
tree | dbd60c06f642f4136a275df4218d3ac11addc0c9 /drivers/ide | |
parent | c95522a7cc9461fd5b2c18cb72b66b46680bffa7 (diff) |
pdc202xx_old: remove no longer needed debugging code
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/pdc202xx_old.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/ide/pdc202xx_old.c b/drivers/ide/pdc202xx_old.c index cb812f3700e..35161dd840a 100644 --- a/drivers/ide/pdc202xx_old.c +++ b/drivers/ide/pdc202xx_old.c | |||
@@ -21,8 +21,6 @@ | |||
21 | 21 | ||
22 | #define DRV_NAME "pdc202xx_old" | 22 | #define DRV_NAME "pdc202xx_old" |
23 | 23 | ||
24 | #define PDC202XX_DEBUG_DRIVE_INFO 0 | ||
25 | |||
26 | static void pdc_old_disable_66MHz_clock(ide_hwif_t *); | 24 | static void pdc_old_disable_66MHz_clock(ide_hwif_t *); |
27 | 25 | ||
28 | static void pdc202xx_set_mode(ide_drive_t *drive, const u8 speed) | 26 | static void pdc202xx_set_mode(ide_drive_t *drive, const u8 speed) |
@@ -34,11 +32,6 @@ static void pdc202xx_set_mode(ide_drive_t *drive, const u8 speed) | |||
34 | u8 AP = 0, BP = 0, CP = 0; | 32 | u8 AP = 0, BP = 0, CP = 0; |
35 | u8 TA = 0, TB = 0, TC = 0; | 33 | u8 TA = 0, TB = 0, TC = 0; |
36 | 34 | ||
37 | #if PDC202XX_DEBUG_DRIVE_INFO | ||
38 | u32 drive_conf = 0; | ||
39 | pci_read_config_dword(dev, drive_pci, &drive_conf); | ||
40 | #endif | ||
41 | |||
42 | /* | 35 | /* |
43 | * TODO: do this once per channel | 36 | * TODO: do this once per channel |
44 | */ | 37 | */ |
@@ -89,14 +82,6 @@ static void pdc202xx_set_mode(ide_drive_t *drive, const u8 speed) | |||
89 | pci_write_config_byte(dev, drive_pci + 1, BP | TB); | 82 | pci_write_config_byte(dev, drive_pci + 1, BP | TB); |
90 | pci_write_config_byte(dev, drive_pci + 2, CP | TC); | 83 | pci_write_config_byte(dev, drive_pci + 2, CP | TC); |
91 | } | 84 | } |
92 | |||
93 | #if PDC202XX_DEBUG_DRIVE_INFO | ||
94 | printk(KERN_DEBUG "%s: %s drive%d 0x%08x ", | ||
95 | drive->name, ide_xfer_verbose(speed), | ||
96 | drive->dn, drive_conf); | ||
97 | pci_read_config_dword(dev, drive_pci, &drive_conf); | ||
98 | printk("0x%08x\n", drive_conf); | ||
99 | #endif | ||
100 | } | 85 | } |
101 | 86 | ||
102 | static void pdc202xx_set_pio_mode(ide_drive_t *drive, const u8 pio) | 87 | static void pdc202xx_set_pio_mode(ide_drive_t *drive, const u8 pio) |