[PATCH 1/3] drivers: base: add support for stmp-style devices
Wolfram Sang
w.sang at pengutronix.de
Wed Nov 16 14:19:24 EST 2011
> >> +#define STMP_SET_ADDR 0x4
> >> +#define STMP_CLR_ADDR 0x8
> >> +#define STMP_TOG_ADDR 0xc
> >
> > The register numbers should probably go into the implementation file,
> > they are not an interface.
>
> Those are offsets - for every register there are "shadow" registers
> that do implicit OR, AND NOT, XOR of that register with value written.
> There might be better names for those.
I'm all ears ;)
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20111116/84a4d8e0/attachment.sig>
More information about the linux-arm-kernel
mailing list