Hi,

I am trying to make my SDIO wifi card work on beagleboard.
When the driver tries to read or write SDIO function register , it is
generally 1 or 4 byte read/write. And buffer used is mostly on stack.
So, the kernel crashes while doing dma_map_sg on that buffer. Using
kmalloc ed buffer in SDIO read/write avoids this problem.

I am using 2.6.28-omap1. Will upgrading to recent kernel allow the
buffer on stack to be used in SDIO read/write functions.?
sdio_readl/sdio_writel uses its own DMA ble buffer. But for some
reasons I want to avoid it.

I noticed some commits related to scatter-gather emulation.
Is it related to the problem?

thanks in advance.

Regards,
Kalpesh
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to