Messages in this thread | | | Date | Wed, 24 Mar 2004 10:36:11 +0530 | From | mohanlal jangir <> | Subject | sleeping in request function |
| |
I have a USB card reader. It is capable of read/write CF, Smartmedia etc. It works fine on Linux. While looking into driver, I found that the driver works between USB host controller and SCSI layer. Just for learning purpose, I want to write it as block driver. The functions which performs read/write from the device are blocking. Therefore I can't call these functions directly from request function. Can somebody tell me how can I call blocking functions from request function. I tried to set BH but it didn't work.
Regards Mohanlal
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |