From: Johannes Thumshirn <johannes.thumshirn@men.de>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Johannes Thumshirn <johannes.thumshirn@men.de>,
Jiri Slaby <jslaby@suse.cz>,
linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] tty: serial: men_z135_uart: Fix driver for changes in hardware
Date: Tue, 9 Sep 2014 07:56:15 +0200 [thread overview]
Message-ID: <20140909055615.GA10306@jtlinux> (raw)
In-Reply-To: <20140908231733.GB23907@kroah.com>
On Mon, Sep 08, 2014 at 04:17:33PM -0700, Greg Kroah-Hartman wrote:
> >
> > @@ -118,6 +117,10 @@ static int align;
> > module_param(align, int, S_IRUGO);
> > MODULE_PARM_DESC(align, "Keep hardware FIFO write pointer aligned, default 0");
> >
> > +static int rx_timeout;
> > +module_param(rx_timeout, uint, S_IRUGO);
> > +MODULE_PARM_DESC(rx_timeout, "RX timeout");
>
> Why add a module parameter? Who will know to set this? And to what
> value?
>
There will be a user manual describing the parameter. It's like the rxlvl and
txlvl parameters, you'll have to read the manual if you need other values than
the default ones.
> And what about this driver working on old hardware, didn't you just
> break this?
>
No. Currently the hardware is in a testing stage at only one customer and it is
an IP-Core inside a FPGA, so it can be (and already is) updated. So we can be
save to assume this is O.K.
> thanks,
>
> greg k-h
Hope that helped.
Johannes
WARNING: multiple messages have this Message-ID (diff)
From: Johannes Thumshirn <johannes.thumshirn@men.de>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Johannes Thumshirn <johannes.thumshirn@men.de>,
Jiri Slaby <jslaby@suse.cz>, <linux-serial@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] tty: serial: men_z135_uart: Fix driver for changes in hardware
Date: Tue, 9 Sep 2014 07:56:15 +0200 [thread overview]
Message-ID: <20140909055615.GA10306@jtlinux> (raw)
In-Reply-To: <20140908231733.GB23907@kroah.com>
On Mon, Sep 08, 2014 at 04:17:33PM -0700, Greg Kroah-Hartman wrote:
> >
> > @@ -118,6 +117,10 @@ static int align;
> > module_param(align, int, S_IRUGO);
> > MODULE_PARM_DESC(align, "Keep hardware FIFO write pointer aligned, default 0");
> >
> > +static int rx_timeout;
> > +module_param(rx_timeout, uint, S_IRUGO);
> > +MODULE_PARM_DESC(rx_timeout, "RX timeout");
>
> Why add a module parameter? Who will know to set this? And to what
> value?
>
There will be a user manual describing the parameter. It's like the rxlvl and
txlvl parameters, you'll have to read the manual if you need other values than
the default ones.
> And what about this driver working on old hardware, didn't you just
> break this?
>
No. Currently the hardware is in a testing stage at only one customer and it is
an IP-Core inside a FPGA, so it can be (and already is) updated. So we can be
save to assume this is O.K.
> thanks,
>
> greg k-h
Hope that helped.
Johannes
next prev parent reply other threads:[~2014-09-09 5:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-28 12:32 [PATCH] tty: serial: men_z135_uart: Fix driver for changes in hardware Johannes Thumshirn
2014-08-28 12:32 ` Johannes Thumshirn
2014-09-08 23:17 ` Greg Kroah-Hartman
2014-09-09 5:56 ` Johannes Thumshirn [this message]
2014-09-09 5:56 ` Johannes Thumshirn
2014-09-10 0:26 ` Greg Kroah-Hartman
2014-09-10 6:07 ` Johannes Thumshirn
2014-09-10 6:07 ` Johannes Thumshirn
2014-09-10 18:33 ` Greg Kroah-Hartman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140909055615.GA10306@jtlinux \
--to=johannes.thumshirn@men.de \
--cc=gregkh@linuxfoundation.org \
--cc=jslaby@suse.cz \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.