[Ilugc] Block device driver, non-Interrupt drivem

  • From: urwithsudheer@xxxxxxxxx (sudheer)
  • Date: Mon Apr 3 15:11:32 2006

Hi All,

I am working for a  block device driver. The existing code is an 
interrupt-driven block  driver and  now wanted to make it as  a 
non-interrupt driven driver.

I have commented the "request_irq" function and the "interrupt enabling 
function"  in the driver  while initializing the module and it gets 
loaded well. When i try to read a sector , the control doesn't come to 
the user back though it reads the sector data and prints it correctly.

Do anyone have a sample code for non-interrupt  driven block driver or a 
pointer in the net.  I am in doubt wether the spinlocks  are causing  a  
deadlock, but not sure.

Thanks in advance.
Sudheer

Other related posts:

  • » [Ilugc] Block device driver, non-Interrupt drivem - sudheer