Sparc - Leon - New driver creation
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Sep 8 09:57:20 UTC 2017
On 08/09/17 11:28, Yannick SARTHOU wrote:
> *What I want to achieve :* I want to create a new driver that allows
> the user to open a device "/dev/mram" and use ioctl calls to allow the
> user to control these registers in a safe way.
You don't have to use a device driver for this. You need a device driver
only if you want to be portable to systems with a user/kernel space
separation or avoid link time dependencies. You can define a simple API
with normal functions for your MRAM device.
--
Sebastian Huber, embedded brains GmbH
Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone : +49 89 189 47 41-16
Fax : +49 89 189 47 41-09
E-Mail : sebastian.huber at embedded-brains.de
PGP : Public key available on request.
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
More information about the devel
mailing list