>>PANIC<< read/write command with DMA and int disabled
here is the code i'm using for DMA :
void setDMA()
{
#ifdef FDCDEBUG
printk("FD setting DMA...\n");
#endif
cli;
//outb(0xa,0x2);
outb(0xa,0x6); //
outb(0xc,0); //
outb(0xb,0x46);
outb(0x4,0); //Lo base offset
outb(0x4,0); //high base offset
outb(0x81,0x9); //mem page for DMA chanel 2
outb(0x5,0xFF);
outb(0x5,0x01); //0x10
outb(0xc,0);
outb(0xa,0x2);
sti;
}