Re: [android-kernel] request queue pointer null in add_disk

2009-12-09 Thread Greg KH
On Wed, Dec 9, 2009 at 10:19 AM, poseidon wrote: > I am trying to develop a block driver for my device with kernel > version 2.6.28. What type of block driver? Is this some new type of hardware that Linux doesn't currently support? > I initialise my request queue with blk_init_queue() and initi

[android-kernel] request queue pointer null in add_disk

2009-12-09 Thread poseidon
I am trying to develop a block driver for my device with kernel version 2.6.28. I initialise my request queue with blk_init_queue() and initialise rest of elements in the queue with corresponding kernel calls. verify that the queue pointer in gendisk is not null before i call add_disk(). But when

[android-kernel] request queue pointer null in add_disk

2009-12-09 Thread poseidon
I am trying to develop a block driver for my device with kernel version 2.6.28. I initialise my request queue with blk_init_queue() and initialise rest of elements in the queue with corresponding kernel calls. verify that the queue pointer in gendisk is not null before i call add_disk(). But when