RTEMS | can: add support for SJA1000 CAN controller (!1183)

Gedare Bloom (@gedare) gitlab at rtems.org
Fri Apr 3 22:51:08 UTC 2026




Gedare Bloom started a new discussion on cpukit/dev/can/sja1000/sja1000.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1183#note_148017

 > + * @param  rtems_can_chip      Pointer to chip structure.
 > + *
 > + * @return None
 > + */
 > +static inline void sja1000_process_interrupts(
 > +  struct rtems_can_chip *chip
 > +)
 > +{
 > +  uint8_t isr;
 > +  uint8_t sr;
 > +  bool rx_dispatch;
 > +  struct sja1000_internal *internal = chip->internal;
 > +  struct sja1000_txb_info *txb_info = &internal->txb_info;
 > +  struct rtems_can_queue_ends_dev *qends_dev = chip->qends_dev;
 > +  struct rtems_can_queue_ends *qends = &qends_dev->base;
 > +  while ( 1 ) {

I think this could also be `do-while( isr != 0 )`.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1183#note_148017
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260403/bcfff045/attachment-0001.htm>


More information about the bugs mailing list