[PATCH 0/4] can: m_can: various regmask-related cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear all,

The first patch modernises m_can.c to use the proper masking macros
provided in bits.h (namely GENMASK, FIELD_{GET,PREP,MAX}) to make the
M_CAN driver more maintainable and readable.

We then clean up the CCCR regmask definitions, to make the differences
between M_CAN spec revisions clearer.

TX and RX buffer size configuration is made more explicit, rather than
just writing 0x777 to a register to set all buffer sizes to 64 bytes.

Finally, minor whitespace edits to a few comments.

Cheers,

Torin
maxiluxsystems.com





[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux