> 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
Hello,
I'm writing a device-specific armv7 driver that should put up a block
device in /dev. I have bdev_decl() in sys/arch/arm/arm/conf.c as well as
an entry in the bdevsw array with corresponding major number (98). The
open/close/etc functions bdev_decl() declare are defined in
2 matches
Mail list logo