netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] can: at91_can: add support for AT91SAM9X5 series
@ 2011-06-06 13:42 Marc Kleine-Budde
       [not found] ` <1307367780-30715-1-git-send-email-mkl-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Marc Kleine-Budde @ 2011-06-06 13:42 UTC (permalink / raw)
  To: davem-fT/PcQaiUtIeIZ0/mPfg9Q
  Cc: socketcan-core-0fE9KPoRgkgATYTw5x5z8w,
	netdev-u79uwXL29TY76Z2rM5mHXA

Hello,

this patch series add support for the at91_can core on the upcoming
at91sam9x5 SOC series.

The original at91_can driver supports the at91sam9263 which has 16
mailboxes, but the CAN core on the at91sam9x5 has only 8. Most constants
used in the RX and TX path are derived from the number of mailboxes.

This patch series changes the driver from a static, compile time setup
of the mailboxes to a dynamic one. Patches 1-4 clean up the driver, 5+6
simplify the usage of the constants, patch 7 converts all derived constants
into functions. Patch 8 will add id_table support to the driver then all
remaining constants are converted into functions using the run time
selected mailbox constants. The next patch (9) takes care about an
at91sam9263 specific errata fix. Patch 10 and 11 will finally add supoprt
for the at91sam9x5 SOC.

This patch series applies to current net-next-2.6/master and has been tested
on a sam9263 and sam9x5ek.
(Allthough, the sam9x5 support is not mainline yet).

please review and consider to apply,
Marc

The following changes since commit e3cc055c18ab575291acf0af7622a2e97c4728fa:

  include/net: Remove unnecessary semicolons (2011-06-05 14:33:40 -0700)

are available in the git repository at:
  git://git.pengutronix.de/git/mkl/linux-2.6.git can/at91-sam9x5

Marc Kleine-Budde (10):
      can: at91_can: don't align struct definitions
      can: at91_can: fix comment about priv->tx_next
      can: at91_can: don't copy data to rx'ed RTR frames
      can: at91_can: let get_tx_* functions return unsigned int
      can: at91_can: directly define AT91_MB_RX_LAST
      can: at91_can: rename AT91_MB_RX_MASK to AT91_IRQ_MB_RX
      can: at91_can: convert derived mailbox constants into functions
      can: at91_can: add id_table and convert prime mailbox constats to functions
      can: at91_can: register mb0 sysfs entry only on at91sam9263
      can: at91_can: add support for the AT91SAM9X5 SOCs

Uwe Kleine-König (1):
      net/can: allow CAN_AT91 on AT91SAM9X5

 drivers/net/can/Kconfig    |    5 +-
 drivers/net/can/at91_can.c |  366 +++++++++++++++++++++++++++++++-------------
 2 files changed, 259 insertions(+), 112 deletions(-)


_______________________________________________
Socketcan-core mailing list
Socketcan-core@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/socketcan-core

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-06-07  8:05 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-06 13:42 [PATCH 00/11] can: at91_can: add support for AT91SAM9X5 series Marc Kleine-Budde
     [not found] ` <1307367780-30715-1-git-send-email-mkl-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org>
2011-06-06 13:42   ` [PATCH 01/11] can: at91_can: don't align struct definitions Marc Kleine-Budde
2011-06-06 13:42   ` [PATCH 02/11] can: at91_can: fix comment about priv->tx_next Marc Kleine-Budde
2011-06-06 13:42   ` [PATCH 03/11] can: at91_can: don't copy data to rx'ed RTR frames Marc Kleine-Budde
2011-06-06 13:42   ` [PATCH 04/11] can: at91_can: let get_tx_* functions return unsigned int Marc Kleine-Budde
2011-06-06 13:42   ` [PATCH 07/11] can: at91_can: convert derived mailbox constants into functions Marc Kleine-Budde
2011-06-06 13:42   ` [PATCH 08/11] can: at91_can: add id_table and convert prime mailbox constats to functions Marc Kleine-Budde
2011-06-06 13:42   ` [PATCH 10/11] can: at91_can: add support for the AT91SAM9X5 SOCs Marc Kleine-Budde
2011-06-07  8:05   ` [PATCH 00/11] can: at91_can: add support for AT91SAM9X5 series David Miller
2011-06-06 13:42 ` [PATCH 05/11] can: at91_can: directly define AT91_MB_RX_LAST Marc Kleine-Budde
2011-06-06 13:42 ` [PATCH 06/11] can: at91_can: rename AT91_MB_RX_MASK to AT91_IRQ_MB_RX Marc Kleine-Budde
2011-06-06 13:42 ` [PATCH 09/11] can: at91_can: register mb0 sysfs entry only on at91sam9263 Marc Kleine-Budde
2011-06-06 13:43 ` [PATCH 11/11] net/can: allow CAN_AT91 on AT91SAM9X5 Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).