I am an old hand with hardware and device drivers and used much earlier Linux versions for hardware control. I am recently back in the game of Linux and device control using embedded processing and have discovered a lot has changed in the Linux world (for the better). However, I am struggling with a hardware control issue involving a very fast SPI-based frame data transfer kernel module that needs to turn of all interrupts for a short time-frame (5msec) to insure proper data transfer timing for the data frame. In the 'old days' of Linux one would use a save_flags - cli() - sti() framework to disable interrupts for the critical section. What is the simplest way to accomplish this within the new (2.6.33 and newer) Linux IRQ control framework.
Scott