Hmm or not :( ... at a first glance it was.But this is for a driver which implements the UART support but I want to use the UART but not implement it's hw support.
As a i2c_module doesn't implement the i2c controller support but uses it. Or do I miss something? Cheers, Thilo On 18.08.2014 13:11, Cestonaro Thilo wrote:
Thx Greg. This one I missed! But it's what I searched for. Cheers, Thilo On 18.08.2014 12:53, Greg KH wrote:On Mon, Aug 18, 2014 at 11:54:48AM +0200, Cestonaro Thilo wrote:Hey, I need to write a driver which communicates with it's chip via uart. So I was wondering which the best way is to do this. For a i2c device there is the i2c subsystem with it's "module_i2c_driver(foo_driver);" and so on. But I couldn't find any equivalent for a uart device.Did you see include/linux/serial_core.h ?
-- With best regards Thilo Cestonaro FTS PSO PM&D CCD E EPC Fujitsu Technology Solutions GmbH Buergermeister-Ulrich-Str. 100 86199 Augsburg Germany Tel.: +49 (0)821 804 2328 Fax: +49 (0)821 804 82328 E-mail: thilo.cestonaro@xxxxxxxxxxxxxx Web: http://ts.fujitsu.com Company details: http://ts.fujitsu.com/imprint
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature