mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH4/4] Add support for SUNIX Multi-I/O board
@ 2019-04-08 11:16 Morris Ku
  2019-04-08 16:51 ` Enrico Weigelt, metux IT consult
  0 siblings, 1 reply; 2+ messages in thread
From: Morris Ku @ 2019-04-08 11:16 UTC (permalink / raw)
  To: lee.jones; +Cc: linux-kernel, morris_ku, Morris Ku

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=Y, Size: 2360 bytes --]

Hi, Lee,
Thanks for review, my replies are inline:

Signed-off-by: Morris Ku <saumah@gmail.com>
---
+
+On 03 Apr 2019, Lee Jones wrote:
+
+> >Please do not drop the list from your recipients.
+
+>On Tue, 02 Apr 2019, Morris Ku 古文俊 wrote:
+
+> Hello , Lee ,
+> 
+> 
+> Sunix multi-io card is a composite device,
+> contains serial and parallel port , before we
+> trying to place the driver in the /drivers/char,
+> but maintainer suggests go to /driver/mfd,so we move to here.
+> this driver is special,it supports more than one interface,
+> so we combine to a single driver.
+
+> The MFD subsystem is designed to register child devices.  MFD drivers
+> do not contain any true functionality themselves.  If this device does
+> multiple things, you can split the functionality into their relevant
+> subsystems and register each of them from here.
+
+> There are 10's of examples available.  Please take a look around some
+> of the existing drivers to see how their functionality is split.
+

Could you please clearly tell me the name of driver for reference.

+
+> On Tue, 19 Mar 2019, Morris Ku wrote:
+> 
+> > Driver for SUNIX Multi-I/O card.Based on parport_pc.c, ppdev.c
+> > and lp.c by Linus Torvalds, Theodore Ts'o.
+> 
+> Parallel port drivers should live in 'drivers/parport' and
+> 'drivers/char'.  LP drivers should live in 'drivers/char'.
+> 
+> Please them there.
+> 
+> > Signed-off-by: Morris Ku <saumah@gmail.com>
+> > ---
+> >  mfd/sunix/snx_ieee1284.c     | 144 +++++++
+> >  mfd/sunix/snx_ieee1284_ops.c | 258 +++++++++++++
+> >  mfd/sunix/snx_lp.c           | 717 +++++++++++++++++++++++++++++++++++
+> >  mfd/sunix/snx_lp.h           | 119 ++++++
+> >  mfd/sunix/snx_parallel.c     | 397 +++++++++++++++++++
+> >  mfd/sunix/snx_ppdev.c        | 454 ++++++++++++++++++++++
+> >  mfd/sunix/snx_ppdev.h        |  15 +
+> >  mfd/sunix/snx_share.c        | 629 ++++++++++++++++++++++++++++++
+> >  8 files changed, 2733 insertions(+)
+> >  create mode 100644 mfd/sunix/snx_ieee1284.c
+> >  create mode 100644 mfd/sunix/snx_ieee1284_ops.c
+> >  create mode 100644 mfd/sunix/snx_lp.c
+> >  create mode 100644 mfd/sunix/snx_lp.h
+> >  create mode 100644 mfd/sunix/snx_parallel.c
+> >  create mode 100644 mfd/sunix/snx_ppdev.c
+> >  create mode 100644 mfd/sunix/snx_ppdev.h
+> >  create mode 100644 mfd/sunix/snx_share.c
+> 
+
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH4/4] Add support for SUNIX Multi-I/O board
  2019-04-08 11:16 [PATCH4/4] Add support for SUNIX Multi-I/O board Morris Ku
@ 2019-04-08 16:51 ` Enrico Weigelt, metux IT consult
  0 siblings, 0 replies; 2+ messages in thread
From: Enrico Weigelt, metux IT consult @ 2019-04-08 16:51 UTC (permalink / raw)
  To: Morris Ku, lee.jones; +Cc: linux-kernel, morris_ku

On 08.04.19 13:16, Morris Ku wrote:

> +> There are 10's of examples available.  Please take a look around some
> +> of the existing drivers to see how their functionality is split.
> +
> 
> Could you please clearly tell me the name of driver for reference.

drivers/platform/x86/pcengines-apuv2.c

vs.

drivers/gpio/gpio-amd-fch.c


--mtx
-- 
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@metux.net -- +49-151-27565287

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-08 16:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-08 11:16 [PATCH4/4] Add support for SUNIX Multi-I/O board Morris Ku
2019-04-08 16:51 ` Enrico Weigelt, metux IT consult

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®