* Question regarding serial_core.h port type
@ 2014-04-15 14:09 Johannes Thumshirn
2014-04-15 15:22 ` Greg KH
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Thumshirn @ 2014-04-15 14:09 UTC (permalink / raw)
To: linux-serial; +Cc: Johannes Thumshirn
Hi,
I have a question regarding the port type constants in serial_core.h. Is there
any "official" assignment scheme, or is it ok to just grab/append an unused
number?
Or is it even possible/allowed to reuse an existing number from the list?
Regards,
Johannes
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question regarding serial_core.h port type
2014-04-15 14:09 Question regarding serial_core.h port type Johannes Thumshirn
@ 2014-04-15 15:22 ` Greg KH
2014-04-16 13:26 ` Johannes Thumshirn
0 siblings, 1 reply; 3+ messages in thread
From: Greg KH @ 2014-04-15 15:22 UTC (permalink / raw)
To: Johannes Thumshirn; +Cc: linux-serial
On Tue, Apr 15, 2014 at 04:09:56PM +0200, Johannes Thumshirn wrote:
> Hi,
>
> I have a question regarding the port type constants in serial_core.h. Is there
> any "official" assignment scheme, or is it ok to just grab/append an unused
> number?
You can get a new number when you submit a patch with your driver.
> Or is it even possible/allowed to reuse an existing number from the list?
No, please don't do that.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Question regarding serial_core.h port type
2014-04-15 15:22 ` Greg KH
@ 2014-04-16 13:26 ` Johannes Thumshirn
0 siblings, 0 replies; 3+ messages in thread
From: Johannes Thumshirn @ 2014-04-16 13:26 UTC (permalink / raw)
To: Greg KH; +Cc: Johannes Thumshirn, linux-serial
On Tue, Apr 15, 2014 at 08:22:31AM -0700, Greg KH wrote:
> On Tue, Apr 15, 2014 at 04:09:56PM +0200, Johannes Thumshirn wrote:
> > Hi,
> >
> > I have a question regarding the port type constants in serial_core.h. Is there
> > any "official" assignment scheme, or is it ok to just grab/append an unused
> > number?
>
> You can get a new number when you submit a patch with your driver.
>
I'll then add it with my driver patch.
> > Or is it even possible/allowed to reuse an existing number from the list?
>
> No, please don't do that.
OK, I expected this answer. Just wanted to be sure.
Thanks,
Johannes
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-04-16 13:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-15 14:09 Question regarding serial_core.h port type Johannes Thumshirn
2014-04-15 15:22 ` Greg KH
2014-04-16 13:26 ` Johannes Thumshirn
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).