Re: Purpose of rtems_device_driver?

2020-09-30 Thread Sebastian Huber
Hello Peter, On 29/09/2020 20:01, Peter Dufault wrote: On Sep 29, 2020, at 10:13 , Joel Sherrill wrote: On Tue, Sep 29, 2020 at 8:54 AM Sebastian Huber wrote: On 29/09/2020 15:47, Sebastian Huber wrote: On 29/09/2020 15:42, Joel Sherrill wrote: On Tue, Sep 29, 2020 at 8:37 AM

Re: Purpose of rtems_device_driver?

2020-09-29 Thread dufault
I wasn't thinking about user code, I was thinking about the RTEMS source code and that the construct should go away. The typedef should be gotten rid of in a way that supports user code for a release or so. > On Sep 29, 2020, at 15:34 , Joel Sherrill wrote: > > I'm not disagreeing with you at

Re: Purpose of rtems_device_driver?

2020-09-29 Thread Joel Sherrill
I'm not disagreeing with you at all Peter. This is definitely history and a "grep -r _routine | grep typedef" will show a few other cases where this pattern still exists. In at least one, it is internal and deprecated. You are right. This is from the earliest days of RTEMS. I looked in the

Re: Purpose of rtems_device_driver?

2020-09-29 Thread Peter Dufault
> On Sep 29, 2020, at 10:13 , Joel Sherrill wrote: > > > > On Tue, Sep 29, 2020 at 8:54 AM Sebastian Huber > wrote: > On 29/09/2020 15:47, Sebastian Huber wrote: > > > On 29/09/2020 15:42, Joel Sherrill wrote: > > > >> > >> > >> On Tue, Sep 29, 2020 at 8:37 AM Sebastian Huber > >> >>

Re: Purpose of rtems_device_driver?

2020-09-29 Thread Joel Sherrill
On Tue, Sep 29, 2020 at 8:54 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 29/09/2020 15:47, Sebastian Huber wrote: > > > On 29/09/2020 15:42, Joel Sherrill wrote: > > > >> > >> > >> On Tue, Sep 29, 2020 at 8:37 AM Sebastian Huber > >> >>

Re: Purpose of rtems_device_driver?

2020-09-29 Thread Sebastian Huber
On 29/09/2020 15:47, Sebastian Huber wrote: On 29/09/2020 15:42, Joel Sherrill wrote: On Tue, Sep 29, 2020 at 8:37 AM Sebastian Huber > wrote:     Hello,     I work currently on the documentation of the IO Manager. What is the     purpose of   

Re: Purpose of rtems_device_driver?

2020-09-29 Thread Sebastian Huber
On 29/09/2020 15:42, Joel Sherrill wrote: On Tue, Sep 29, 2020 at 8:37 AM Sebastian Huber > wrote: Hello, I work currently on the documentation of the IO Manager. What is the purpose of typedef rtems_status_code

Re: Purpose of rtems_device_driver?

2020-09-29 Thread Joel Sherrill
On Tue, Sep 29, 2020 at 8:37 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > Hello, > > I work currently on the documentation of the IO Manager. What is the > purpose of > > typedef rtems_status_code rtems_device_driver; > > ? > > For me this looks a bit like camouflage. > No.

Purpose of rtems_device_driver?

2020-09-29 Thread Sebastian Huber
Hello, I work currently on the documentation of the IO Manager. What is the purpose of typedef rtems_status_code rtems_device_driver; ? For me this looks a bit like camouflage. ___ devel mailing list devel@rtems.org