RTEMS | Draft: can/dcan: Add AM335x DCAN controller driver (!1341)
Gedare Bloom (@gedare)
gitlab at rtems.org
Wed Jul 8 19:21:04 UTC 2026
Gedare Bloom started a new discussion on cpukit/dev/can/dcan/dcan.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1341#note_154030
> + *
> + * The DCAN IF command register contains a busy bit while a transfer
> + * between interface registers and message RAM is active.
> + *
> + * @param chip Pointer to CAN chip structure.
> + * @param ifno DCAN interface register set number.
> + *
> + * @return 0 on success, negated ETIMEDOUT otherwise.
> + */
> +static int dcan_wait_if_not_busy(
> + struct rtems_can_chip *chip,
> + unsigned int ifno
> +)
> +{
> + struct dcan_internal *internal = chip->internal;
> + int i = 1000;
why 1000?
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1341#note_154030
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-2guz13k6hbw3dd7d7v4tkgo5f-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260708/193d6321/attachment-0001.htm>
More information about the bugs
mailing list