Question regarding serial_core.h port type
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
Greg KH
maintainerQuoted 5 lines · 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?
You can get a new number when you submit a patch with your driver.
Quoted 1 line
Or is it even possible/allowed to reuse an existing number from the list?
No, please don't do that.
thanks,
greg k-h
Quoted 9 lines · Greg KH
Quoted 5 lines · 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?You can get a new number when you submit a patch with your driver.
I'll then add it with my driver patch.
Quoted 3 lines
Quoted 1 line
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