diff options
Diffstat (limited to 'drivers/parport/parport_atari.c')
| -rw-r--r-- | drivers/parport/parport_atari.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/parport/parport_atari.c b/drivers/parport/parport_atari.c index 7ad59ac68cf..0b28fccec03 100644 --- a/drivers/parport/parport_atari.c +++ b/drivers/parport/parport_atari.c | |||
| @@ -130,6 +130,15 @@ parport_atari_data_forward(struct parport *p) | |||
| 130 | static void | 130 | static void |
| 131 | parport_atari_data_reverse(struct parport *p) | 131 | parport_atari_data_reverse(struct parport *p) |
| 132 | { | 132 | { |
| 133 | #if 0 /* too dangerous, can kill sound chip */ | ||
| 134 | unsigned long flags; | ||
| 135 | |||
| 136 | local_irq_save(flags); | ||
| 137 | /* Soundchip port B as input. */ | ||
| 138 | sound_ym.rd_data_reg_sel = 7; | ||
| 139 | sound_ym.wd_data = sound_ym.rd_data_reg_sel & ~0x40; | ||
| 140 | local_irq_restore(flags); | ||
| 141 | #endif | ||
| 133 | } | 142 | } |
| 134 | 143 | ||
| 135 | static struct parport_operations parport_atari_ops = { | 144 | static struct parport_operations parport_atari_ops = { |
