Hi,

> OK. Maybe then it would be good to make some notes in which cases it's
> OK to add another flag to avoid that someone adds a lot of hardware
> dependent flags here.

Yes, we will add the description. Thanks.

> I assume if something is really very special to a specific hardware,
> the driver should get an extra driver specific IOCTL for that, right? 

Yes, this is already implemented, although not used for CTU CAN FD at
the moment. IOCTL calls not recognized by common layer in can-bus.c are
passed to the driver (if driver implements this functionality, otherwise
-EINVAL is returned immediately). So it is possible for driver to have
specific IOCTL calls.

Best regards,

Michal

_______________________________________________
devel mailing list
devel@rtems.org
http://lists.rtems.org/mailman/listinfo/devel

Reply via email to