lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 16 Dec 2020 08:53:41 +0800
From:   "Ji-Ze Hong (Peter Hong)" <hpeter@...il.com>
To:     Flavio Suligoi <f.suligoi@...m.it>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc:     Jiri Slaby <jirislaby@...nel.org>,
        "Gustavo A . R . Silva" <gustavoars@...nel.org>,
        "linux-serial@...r.kernel.org" <linux-serial@...r.kernel.org>,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: R: R: R: [PATCH v1] serial: 8250_fintek: Print Fintek chip name

Hi,

Flavio Suligoi 於 2020/12/15 下午 11:06 寫道:
>>> we produce some x86 boards with multistandard RS232/422/485 ports
>>> and, to have this feature, in some of these boards, we use a
>>> Fintek uart or superIO.
>>> So this additional info "extra_name" can be useful for
>>> a quick check if the serial ports are multistandard or not,
>>> without any other investigations, but using only a simple command
>>> like:
>>>
>>> dmesg| grep ttyS
>>
>> But as they work the same, why does it matter?
> 
> Yes you are right, by the user point of view, they are the same.
> 
>>
>> Userspace should not care here.  Isn't there some other id you can
>> read/query for a hardware database tool to determine this?


As Greg mentions, The userspace don't care what IC they are using.
We can use Linux RS485 API to control or check the serial port.

https://www.kernel.org/doc/html/latest/driver-api/serial/serial-rs485.html

-- 
With Best Regards,
Peter Hong

Powered by blists - more mailing lists