Linux Alpha - SX164 Floppy
Floppy doesn not work
- When accessing the floppy just nothing happens
- This is known for kernel later than 2.0.33 and older than 2.1.121, in
fact the DMA controller used is not initialized correctly.
- Either use a newer kernel or try to patch your favourite kernel, look
at the appended really short patches.
For 2.0.* kernels:
diff
For 2.1.* kernels:
linux/arch/alpha/kernel/sys_sx164.c:
static void
sx164_init_irq(void)
{
outb(0, DMA1_RESET_REG);
outb(0, DMA2_RESET_REG);
+ outb(DMA_MODE_CASCADE, DMA2_MODE_REG);
+ outb(0, DMA2_MASK_REG);
if (alpha_using_srm) {
alpha_mv.update_irq_hw = sx164_srm_update_irq_hw;