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

 > + * This is an entry point for SJA1000 controller initialization. This
 > + * function allocates generic CAN and SJA1000 related structures, sets
 > + * default values and initializes the resources (interrupt handler, 
 > semaphore.
 > + * worker thread).
 > + *
 > + * @param  addr            SJA1000 controller base address.
 > + * @param  hw_options      SJA1000 controller hardware options for register
 > + * mapping.
 > + * @param  irq             Interrupt number.
 > + * @param  worker_priotiry The priority of TX/RX worker thread.
 > + * @param  irq_option      RTEMS_INTERRUPT_SHARED or RTEMS_INTERRUPT_UNIQUE.
 > + * @param  can_clk_rate    CAN clock rate.
 > + *
 > + * @return Pointer to CAN chip structure on success, NULL otherwise.
 > + */
 > +struct rtems_can_chip *rtems_sja1000_initialize(

should it be `rtems_can_sja1000_initialize`?

Where/how does this function get invoked?

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


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to