> So my question is, how do I get a block device in /dev to connect to
> my driver open/close/ioctl/etc functions? And secondly, if I want this
> to happen automatically a la MAKEDEV, am I supposed to edit the m4 macro
> in etc/etc.armv7/MAKEDEV.md or is there a more proper way?

I figured out the issue:

Every block device in arm's conf.c has a corresponding character device, so     
      
I added a cdev_decl(), entry in cdevsw[], and entry in chrtoblktbl[]. I believe 
     
this was the crux of the issue. From there, I followed the instructions in     
etc/MAKEDEV.common and my device was properly created with the resultant 
MAKEDEV   
script.


Ian

Reply via email to