So, is there support for IDE devices that have no IRQ?
I'm getting the impression that there isn't. I've got a system with compact flash and no interrupt line to the device. Setting the hwif->irq value to -1 causes the kernel to crash, though there is a IDE_NO_IRQ constant. I'm good to make this work, but I want to make sure that I'm heading in a reasonable direction.
The thing that's confusing me is that I'm not getting an ide0 device even though I can see the code probing for drives.
Cheers.
Probing code uses polling but actual NODATA/PIO/DMA handlers require IRQ so it needs much effort to make it work.
Cheers,
Bartlomiej
Quoted 10 lines · Marc Singer
I'm getting the impression that there isn't. I've got a system with compact flash and no interrupt line to the device. Setting the
hwif->irqvalue to -1 causes the kernel to crash, though there is aIDE_NO_IRQconstant. I'm good to make this work, but I want to make sure that I'm heading in a reasonable direction.The thing that's confusing me is that I'm not getting an ide0 device even though I can see the code probing for drives.
Cheers.
Quoted 3 lines · Bartlomiej Zolnierkiewicz
Probing code uses polling but actual NODATA/PIO/DMA handlers require IRQ so it needs much effort to make it work.
Well, I'm thinking that I can emulate the irq by using a timer. A bad hack, but it ought to work as long as I can get the timing correct. This is for a compact flash interface.
Quoted 7 lines · Marc Singer
Quoted 2 lines · Bartlomiej Zolnierkiewicz
Probing code uses polling but actual NODATA/PIO/DMA handlers require IRQ so it needs much effort to make it work.
Well, I'm thinking that I can emulate the irq by using a timer. A bad hack, but it ought to work as long as I can get the timing correct. This is for a compact flash interface.
Sigh, proper fix is to convert NODATA/PIO handlers to use polling.
Quoted 10 lines · Bartlomiej Zolnierkiewicz
Quoted 7 lines · Marc Singer
Quoted 2 lines · Bartlomiej Zolnierkiewicz
Probing code uses polling but actual NODATA/PIO/DMA handlers require IRQ so it needs much effort to make it work.
Well, I'm thinking that I can emulate the irq by using a timer. A bad hack, but it ought to work as long as I can get the timing correct. This is for a compact flash interface.
Sigh, proper fix is to convert NODATA/PIO handlers to use polling.
Of course, I'd rather do that. 8-)
Quoted 8 lines · Marc Singer
Quoted 3 lines · Bartlomiej Zolnierkiewicz
Probing code uses polling but actual NODATA/PIO/DMA handlers require IRQ so it needs much effort to make it work.
Well, I'm thinking that I can emulate the irq by using a timer. A bad hack, but it ought to work as long as I can get the timing correct. This is for a compact flash interface.
Well, before doing such a big pile of shit, you should think seriously about making the HW person (provided it's not you) regret deeply his mistake :) Seriously, not wiring the IRQ line is _DUMB_ at best
Ben.