Hi Manish!
On Tue, Dec 15, 2020 at 12:24:51PM +0530, Manish Narani wrote:
Add a new driver for supporting Xilinx platforms. This driver is used
for some sequence of operations required for Xilinx USB controllers.
This driver is also used to choose between PIPE clock coming from SerDes
and the
Adding Tinh Nguyen to CC:
On Tue, Feb 09, 2021 at 09:02:00PM +0100, Michael Grzeschik wrote:
Hi Manish,
On Tue, Feb 09, 2021 at 06:01:58AM +, Manish Narani wrote:
Hi Michael,
-Original Message-
From: Michael Grzeschik
Sent: Tuesday, February 9, 2021 5:26 AM
To: Manish Narani
Hi Manish,
On Tue, Feb 09, 2021 at 06:01:58AM +, Manish Narani wrote:
Hi Michael,
-Original Message-
From: Michael Grzeschik
Sent: Tuesday, February 9, 2021 5:26 AM
To: Manish Narani
Cc: devicet...@vger.kernel.org; p.za...@pengutronix.de; ba...@kernel.org;
gre
Hi Manish!
On Thu, Jan 28, 2021 at 12:36:07AM +0100, Michael Grzeschik wrote:
On Fri, Jan 22, 2021 at 02:34:52PM +0100, Michael Grzeschik wrote:
On Fri, Jan 22, 2021 at 01:06:22PM +, Manish Narani wrote:
Hi Michael,
-Original Message-
From: Michael Grzeschik
Sent: Friday
On Fri, Jan 22, 2021 at 02:34:52PM +0100, Michael Grzeschik wrote:
On Fri, Jan 22, 2021 at 01:06:22PM +, Manish Narani wrote:
Hi Michael,
-Original Message-
From: Michael Grzeschik
Sent: Friday, January 22, 2021 1:39 PM
To: Manish Narani
Cc: devicet...@vger.kernel.org; ker
On Fri, Jan 22, 2021 at 01:06:22PM +, Manish Narani wrote:
Hi Michael,
-Original Message-
From: Michael Grzeschik
Sent: Friday, January 22, 2021 1:39 PM
To: Manish Narani
Cc: devicet...@vger.kernel.org; ker...@pengutronix.de; ba...@kernel.org;
gre...@linuxfoundation.org; linux
Hello!
On Mon, Jan 18, 2021 at 02:42:24PM +0100, Michael Grzeschik wrote:
Hi!
On Tue, Dec 15, 2020 at 12:24:51PM +0530, Manish Narani wrote:
Add a new driver for supporting Xilinx platforms. This driver is used
for some sequence of operations required for Xilinx USB controllers.
This driver
On Mon, Jan 18, 2021 at 05:24:38PM +0200, Felipe Balbi wrote:
Hi,
Michael Grzeschik writes:
On Tue, Dec 15, 2020 at 12:24:51PM +0530, Manish Narani wrote:
Add a new driver for supporting Xilinx platforms. This driver is used
for some sequence of operations required for Xilinx USB
Hi!
On Tue, Dec 15, 2020 at 12:24:51PM +0530, Manish Narani wrote:
Add a new driver for supporting Xilinx platforms. This driver is used
for some sequence of operations required for Xilinx USB controllers.
This driver is also used to choose between PIPE clock coming from SerDes
and the Suspend
ot;)
> >
> > is missing a Signed-off-by from its author.
>
> Thanks for spotting it, Stephen.
>
> @Michael, would you please give your SoB? Otherwise, I will have to
> back out the patch.
Sure!
Signed-off-by: Michael Grzeschik
--
Pengutronix e.K.
ries fixes the possible case of use after free by adding action
functions to the devres cleanup path. So it will ensure the generic
cleanup code will not use the already freed memory.
Michael Grzeschik (3):
ipuv3-crtc: add remove action for devres data
ipuv3-ldb: add init list head on bind
ipuv3-ldb:
. This leads drm_encoder_cleanup try to clean already freed
memory.
We fix this issue by adding the devres action ipu_ldb_remove_head which
will remove its head from the objects in ipu-drm-core which then never
calls its destroy function anymore.
Signed-off-by: Michael Grzeschik
---
drivers/gpu/drm
As the amount of available ports varies by the kernels build
configuration. To remove the limitation of the fixed 128 ports
we allocate the amount of idevs by using the number we get
from the kernel.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
v1 -> v2: - rework
As the amount of available ports varies by the kernels build
configuration. To remove the limitation of the fixed 128 ports
we allocate the amount of idevs by using the number we get
from the kernel.
Signed-off-by: Michael Grzeschik
---
v1 -> v2: - reworked memory allocation into one calloc c
On Wed, May 23, 2018 at 10:44:57AM -0600, Shuah Khan wrote:
> On 05/23/2018 03:22 AM, Michael Grzeschik wrote:
> > As the amount of available ports varies by the kernels build
> > configuration. To remove the limitation of the fixed 128 ports
> > we allocate the amount of idev
On Wed, May 23, 2018 at 10:44:57AM -0600, Shuah Khan wrote:
> On 05/23/2018 03:22 AM, Michael Grzeschik wrote:
> > As the amount of available ports varies by the kernels build
> > configuration. To remove the limitation of the fixed 128 ports
> > we allocate the amount of idev
On Wed, May 23, 2018 at 10:44:57AM -0600, Shuah Khan wrote:
> On 05/23/2018 03:22 AM, Michael Grzeschik wrote:
> > As the amount of available ports varies by the kernels build
> > configuration. To remove the limitation of the fixed 128 ports
> > we allocate the amount of idev
On Wed, May 23, 2018 at 10:44:57AM -0600, Shuah Khan wrote:
> On 05/23/2018 03:22 AM, Michael Grzeschik wrote:
> > As the amount of available ports varies by the kernels build
> > configuration. To remove the limitation of the fixed 128 ports
> > we allocate the amount of idev
As the amount of available ports varies by the kernels build
configuration. To remove the limitation of the fixed 128 ports
we allocate the amount of idevs by using the number we get
from the kernel.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
v1 -> v2: - rework
As the amount of available ports varies by the kernels build
configuration. To remove the limitation of the fixed 128 ports
we allocate the amount of idevs by using the number we get
from the kernel.
Signed-off-by: Michael Grzeschik
---
v1 -> v2: - reworked memory allocation into one calloc c
As the amount of available ports varies by the kernels build
configuration. To remove the limitation of the fixed 128 ports
we allocate the amount of idevs by using the number we get
from the kernel.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
v1 -> v2: - rework
As the amount of available ports varies by the kernels build
configuration. To remove the limitation of the fixed 128 ports
we allocate the amount of idevs by using the number we get
from the kernel.
Signed-off-by: Michael Grzeschik
---
v1 -> v2: - reworked memory allocation into one calloc c
As the amount of available ports varies by the kernels build
configuration. To remove the limitation of the fixed 128 ports
we allocate the amount of idevs by using the number we get
from the kernel.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
tools/usb/usbip/
As the amount of available ports varies by the kernels build
configuration. To remove the limitation of the fixed 128 ports
we allocate the amount of idevs by using the number we get
from the kernel.
Signed-off-by: Michael Grzeschik
---
tools/usb/usbip/libsrc/vhci_driver.c | 11
The 24bit RGB format configuration is currently missing, we add
it now.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/gpu/ipu-v3/ipu-csi.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/ipu-v3/ipu-csi.c b/drivers/gpu/ipu-v3/ipu-csi.c
The 24bit RGB format configuration is currently missing, we add
it now.
Signed-off-by: Michael Grzeschik
---
drivers/gpu/ipu-v3/ipu-csi.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/gpu/ipu-v3/ipu-csi.c b/drivers/gpu/ipu-v3/ipu-csi.c
index caa05b0702e16..1a0ee65fd4859
On Wed, Jan 24, 2018 at 10:03:33AM +0100, Michael Grzeschik wrote:
> On Tue, Jan 23, 2018 at 10:22:54AM -0800, Guenter Roeck wrote:
> > On Tue, Jan 23, 2018 at 01:18:01PM +0100, Michael Grzeschik wrote:
> > > We add support for the ISL1219 chip that got an integrated tamp
On Wed, Jan 24, 2018 at 10:03:33AM +0100, Michael Grzeschik wrote:
> On Tue, Jan 23, 2018 at 10:22:54AM -0800, Guenter Roeck wrote:
> > On Tue, Jan 23, 2018 at 01:18:01PM +0100, Michael Grzeschik wrote:
> > > We add support for the ISL1219 chip that got an integrated tamp
On Tue, Jan 23, 2018 at 10:22:54AM -0800, Guenter Roeck wrote:
> On Tue, Jan 23, 2018 at 01:18:01PM +0100, Michael Grzeschik wrote:
> > We add support for the ISL1219 chip that got an integrated tamper
> > detection function. This patch implements the feature by using an hwmo
On Tue, Jan 23, 2018 at 10:22:54AM -0800, Guenter Roeck wrote:
> On Tue, Jan 23, 2018 at 01:18:01PM +0100, Michael Grzeschik wrote:
> > We add support for the ISL1219 chip that got an integrated tamper
> > detection function. This patch implements the feature by using an hwmo
.
The devicetree documentation for the ISL1219 device tree
binding is added with an short example.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
Signed-off-by: Denis Osterland <denis.osterl...@diehl.com>
---
.../rtc/{intersil,isl1208.txt => isil,isl1208.txt} | 18 +-
.
The devicetree documentation for the ISL1219 device tree
binding is added with an short example.
Signed-off-by: Michael Grzeschik
Signed-off-by: Denis Osterland
---
.../rtc/{intersil,isl1208.txt => isil,isl1208.txt} | 18 +-
Documentation/hwmon/sysfs-interface| 7 +
driv
From: Denis Osterland <denis.osterl...@diehl.com>
Wrote documentation for ISL1208, ISL1218 device tree
binding with short examples.
Signed-off-by: Denis Osterland <denis.osterl...@diehl.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
.../devicetree/bin
From: Denis Osterland
Wrote documentation for ISL1208, ISL1218 device tree
binding with short examples.
Signed-off-by: Denis Osterland
Signed-off-by: Michael Grzeschik
---
.../devicetree/bindings/rtc/intersil,isl1208.txt | 35 ++
1 file changed, 35 insertions(+)
create
qual to
sr = i2c_smbus_write_byte_data(client, ISL1208_REG_SR, 0);
which clears all flags in SR.
Add an additional read of SR, to have value of SR in sr again.
Signed-off-by: Denis Osterland <denis.osterl...@diehl.com>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers
ient, ISL1208_REG_SR, 0);
which clears all flags in SR.
Add an additional read of SR, to have value of SR in sr again.
Signed-off-by: Denis Osterland
Signed-off-by: Michael Grzeschik
---
drivers/rtc/rtc-isl1208.c | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/rtc/rtc-isl1208.c b/dri
via hwmon including the new
intrusion[0-*]_timestamp interface.
Denis Osterland (2):
rtc: isl1208: Fix unintended clear of SR bits
rtc: isl1208: Add device tree binding documentation
Michael Grzeschik (2):
rtc: isl1208: enable interrupt after context preparation
rtc: isl1208: add support
The interrupt handler got enabled very early. If the interrupt cause is
triggering immediately before the context is fully prepared. This can
lead to undefined behaviour. Therefor we move the interrupt enable code
to the end of the probe function.
Signed-off-by: Michael Grzeschik <m.grz
via hwmon including the new
intrusion[0-*]_timestamp interface.
Denis Osterland (2):
rtc: isl1208: Fix unintended clear of SR bits
rtc: isl1208: Add device tree binding documentation
Michael Grzeschik (2):
rtc: isl1208: enable interrupt after context preparation
rtc: isl1208: add support
The interrupt handler got enabled very early. If the interrupt cause is
triggering immediately before the context is fully prepared. This can
lead to undefined behaviour. Therefor we move the interrupt enable code
to the end of the probe function.
Signed-off-by: Michael Grzeschik
Signed-off
On Tue, Jul 04, 2017 at 11:44:49AM +0100, Mark Brown wrote:
> On Fri, Jun 30, 2017 at 03:33:27PM +0200, Michael Grzeschik wrote:
> > On Fri, Jun 23, 2017 at 01:00:43PM +0100, Mark Brown wrote:
>
> > > syscon is one potential thing here but it seems odd for the sort of
>
On Tue, Jul 04, 2017 at 11:44:49AM +0100, Mark Brown wrote:
> On Fri, Jun 30, 2017 at 03:33:27PM +0200, Michael Grzeschik wrote:
> > On Fri, Jun 23, 2017 at 01:00:43PM +0100, Mark Brown wrote:
>
> > > syscon is one potential thing here but it seems odd for the sort of
>
On Fri, Jun 23, 2017 at 01:00:43PM +0100, Mark Brown wrote:
> On Thu, Jun 22, 2017 at 01:03:20PM +0200, Michael Grzeschik wrote:
>
> > If the irq chip device is using the regmap of its parent device or
> > a syscon regmap that doesn't have an associated device at all,
&g
On Fri, Jun 23, 2017 at 01:00:43PM +0100, Mark Brown wrote:
> On Thu, Jun 22, 2017 at 01:03:20PM +0200, Michael Grzeschik wrote:
>
> > If the irq chip device is using the regmap of its parent device or
> > a syscon regmap that doesn't have an associated device at all,
&g
On Sun, Jun 25, 2017 at 10:15:06PM +0100, Colin King wrote:
> From: Colin Ian King
>
> Trivial fix to spelling mistake in arc_printk message
>
> Signed-off-by: Colin Ian King
> ---
> drivers/net/arcnet/capmode.c | 2 +-
> 1 file changed, 1
On Sun, Jun 25, 2017 at 10:15:06PM +0100, Colin King wrote:
> From: Colin Ian King
>
> Trivial fix to spelling mistake in arc_printk message
>
> Signed-off-by: Colin Ian King
> ---
> drivers/net/arcnet/capmode.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git
Some irq controllers have writeonly/multipurpose register layouts. In
those cases we read invalid data back. Here we add the option
mask_writeonly as masking option.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
v1 -> v2: - rebased on regmap/for-next
Some irq controllers have writeonly/multipurpose register layouts. In
those cases we read invalid data back. Here we add the option
mask_writeonly as masking option.
Signed-off-by: Michael Grzeschik
---
v1 -> v2: - rebased on regmap/for-next
- removed unneeded extra empty lines f
evices running on the
same regmap.
Signed-off-by: Philipp Zabel <p.za...@pengutronix.de>
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
v1 -> v2: Added my own missing Signed-off-by.
drivers/base/regmap/regmap-irq.c | 93 +---
i
.
Signed-off-by: Philipp Zabel
Signed-off-by: Michael Grzeschik
---
v1 -> v2: Added my own missing Signed-off-by.
drivers/base/regmap/regmap-irq.c | 93 +---
include/linux/regmap.h | 4 ++
2 files changed, 62 insertions(+), 35 deletions(-)
d
Some irq controllers have writeonly/multipurpose register layouts. In
those cases we read invalid data back. Here we add the option
mask_writeonly as masking option.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/base/regmap/regmap-irq.
Some irq controllers have writeonly/multipurpose register layouts. In
those cases we read invalid data back. Here we add the option
mask_writeonly as masking option.
Signed-off-by: Michael Grzeschik
---
drivers/base/regmap/regmap-irq.c | 43 ++--
include
From: Philipp Zabel
If the irq chip device is using the regmap of its parent device or
a syscon regmap that doesn't have an associated device at all,
allow the driver to provide its own device. That makes it possible
to reference the irq controller from other devices
From: Philipp Zabel
If the irq chip device is using the regmap of its parent device or
a syscon regmap that doesn't have an associated device at all,
allow the driver to provide its own device. That makes it possible
to reference the irq controller from other devices running on the
same regmap.
not called from any other function.
>
> Signed-off-by: Julia Lawall <julia.law...@lip6.fr>
>
Acked-by: Michael Grzeschik <m...@pengutronix.de>
> ---
> drivers/net/arcnet/com90xx.c |2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/driv
not called from any other function.
>
> Signed-off-by: Julia Lawall
>
Acked-by: Michael Grzeschik
> ---
> drivers/net/arcnet/com90xx.c |2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/arcnet/com90xx.c b/drivers/net/arcnet/com90xx.c
&
This patch adds support to enable and disable the xceiver
in case it's switchable by the regulator framework.
Signed-off-by: Michael Grzeschik
---
v1 -> v2:
- always returning PTR_ERR in case devm_regulator_get fails
- removed inline wrapper functions with checks for xceiver == NULL
v2 -&
This patch adds support to enable and disable the xceiver
in case it's switchable by the regulator framework.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
v1 -> v2:
- always returning PTR_ERR in case devm_regulator_get fails
- removed inline wrapper functions wi
Hi,
On Wed, Jan 20, 2016 at 05:19:18PM +0100, Bjørn Mork wrote:
> Michael Grzeschik writes:
>
> > @@ -1263,6 +1271,10 @@ int register_c_can_dev(struct net_device *dev)
> > */
> > pinctrl_pm_select_sleep_state(dev->dev.parent);
> >
> > + priv
Hi,
On Wed, Jan 20, 2016 at 05:19:18PM +0100, Bjørn Mork wrote:
> Michael Grzeschik <m.grzesc...@pengutronix.de> writes:
>
> > @@ -1263,6 +1271,10 @@ int register_c_can_dev(struct net_device *dev)
> > */
> > pinctrl_pm_select_sleep_state(dev->dev.parent)
Add entry for arcnet to MAINTAINERS file and add myself as the
maintainer of the subsystem.
Signed-off-by: Michael Grzeschik
Cc: da...@davemloft.net
Cc: j...@perches.com
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 7ba7ab7..0a015f7
well
include short (or even no?) soft headers.
For this reason only use arc_hardware instead of archdr to
determine the hard_header_len for an arcnet device.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/arcnet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
well
include short (or even no?) soft headers.
For this reason only use arc_hardware instead of archdr to
determine the hard_header_len for an arcnet device.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
---
drivers/net/arcnet/arcnet.c | 2 +-
1 file changed, 1 insertion
Add entry for arcnet to MAINTAINERS file and add myself as the
maintainer of the subsystem.
Signed-off-by: Michael Grzeschik <m.grzesc...@pengutronix.de>
Cc: da...@davemloft.net
Cc: j...@perches.com
---
MAINTAINERS | 7 +++
1 file changed, 7 insertions(+)
diff --git a/MAINTAI
On Wed, Aug 05, 2015 at 05:34:51PM +0200, Michael Grzeschik wrote:
> On Thu, Jul 30, 2015 at 11:16:36AM -0700, David Miller wrote:
> > From: Michael Grzeschik
> > Date: Thu, 30 Jul 2015 15:34:36 +0200
> >
> > > The commit <9c7077622dd9> ("packet: make pac
On Wed, Aug 05, 2015 at 05:34:51PM +0200, Michael Grzeschik wrote:
> On Thu, Jul 30, 2015 at 11:16:36AM -0700, David Miller wrote:
> > From: Michael Grzeschik <m.grzesc...@pengutronix.de>
> > Date: Thu, 30 Jul 2015 15:34:36 +0200
> >
> > > The commit <9c707
On Thu, Jul 30, 2015 at 11:16:36AM -0700, David Miller wrote:
> From: Michael Grzeschik
> Date: Thu, 30 Jul 2015 15:34:36 +0200
>
> > The commit <9c7077622dd9> ("packet: make packet_snd fail on len smaller
> > than l2 header") adds the check for
On Thu, Jul 30, 2015 at 11:16:36AM -0700, David Miller wrote:
From: Michael Grzeschik m.grzesc...@pengutronix.de
Date: Thu, 30 Jul 2015 15:34:36 +0200
The commit 9c7077622dd9 (packet: make packet_snd fail on len smaller
than l2 header) adds the check for minimum packet length of the used
eof(arc_hardware).
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/arcnet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/arcnet/arcnet.c b/drivers/net/arcnet/arcnet.c
index 10f71c73..816d0e9 100644
--- a/drivers/net/arcnet/arcnet.c
+++ b/drivers/net
Add entry for arcnet to MAINTAINERS file and add myself as the
maintainer of the subsystem.
Signed-off-by: Michael Grzeschik
Cc: da...@davemloft.net
Cc: j...@perches.com
---
As I have a test coverage of com20020 based arcnet systems
I would like to take the responsibility of maintaining
Add entry for arcnet to MAINTAINERS file and add myself as the
maintainer of the subsystem.
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
Cc: da...@davemloft.net
Cc: j...@perches.com
---
As I have a test coverage of com20020 based arcnet systems
I would like to take
).
Signed-off-by: Michael Grzeschik m.grzesc...@pengutronix.de
---
drivers/net/arcnet/arcnet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/arcnet/arcnet.c b/drivers/net/arcnet/arcnet.c
index 10f71c73..816d0e9 100644
--- a/drivers/net/arcnet/arcnet.c
+++ b/drivers
Hi,
and sorry for the delay.
On Wed, Apr 29, 2015 at 08:49:25PM -0700, Joe Perches wrote:
> On Mon, 2015-04-27 at 16:57 +0200, Michael Grzeschik wrote:
> > Hi!
> >
> > On Fri, Apr 24, 2015 at 11:58:53PM -0400, David Miller wrote:
> > > From: Marc Kleine-Budde
>
Hi,
and sorry for the delay.
On Wed, Apr 29, 2015 at 08:49:25PM -0700, Joe Perches wrote:
On Mon, 2015-04-27 at 16:57 +0200, Michael Grzeschik wrote:
Hi!
On Fri, Apr 24, 2015 at 11:58:53PM -0400, David Miller wrote:
From: Marc Kleine-Budde m...@pengutronix.de
Date: Fri, 24 Apr 2015
Hi!
On Fri, Apr 24, 2015 at 11:58:53PM -0400, David Miller wrote:
> From: Marc Kleine-Budde
> Date: Fri, 24 Apr 2015 23:14:41 +0200
>
> > On 04/24/2015 08:47 PM, Joe Perches wrote:
> >> On Fri, 2015-04-24 at 19:20 +0200, Michael Grzeschik wrote:
&g
On Fri, Apr 24, 2015 at 04:04:45PM -0700, Joe Perches wrote:
> On Fri, 2015-04-24 at 19:20 +0200, Michael Grzeschik wrote:
> > The macros SET_SUBADR, ARCRESET, ARCRESET0, ACOMMAND, ASTATUS, AINTMASK
> > and ADIAGSTATUS are unnecessary indirections to the use of registers.
> &g
Hi!
On Fri, Apr 24, 2015 at 11:58:53PM -0400, David Miller wrote:
From: Marc Kleine-Budde m...@pengutronix.de
Date: Fri, 24 Apr 2015 23:14:41 +0200
On 04/24/2015 08:47 PM, Joe Perches wrote:
On Fri, 2015-04-24 at 19:20 +0200, Michael Grzeschik wrote:
Hi!
Hello.
This patch
On Fri, Apr 24, 2015 at 04:04:45PM -0700, Joe Perches wrote:
On Fri, 2015-04-24 at 19:20 +0200, Michael Grzeschik wrote:
The macros SET_SUBADR, ARCRESET, ARCRESET0, ACOMMAND, ASTATUS, AINTMASK
and ADIAGSTATUS are unnecessary indirections to the use of registers.
This patch removes them
This patch changes the driver to properly work with the linux netif
interface. The controller gets enabled on open and disabled on close.
Therefor it removes every bogus start of the xceiver. It only gets
enabled on com20020_open and disabled on com20020_close.
Signed-off-by: Michael Grzeschik
This patch sets the dev_port according to the index of
the card. This can be used by udev to name the ports
in userspace.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/com20020-pci.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/arcnet/com20020-pci.c
b/drivers/net
eof(arc_hardware).
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/arcnet.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/arcnet/arcnet.c b/drivers/net/arcnet/arcnet.c
index 10f71c73..816d0e9 100644
--- a/drivers/net/arcnet/arcnet.c
+++ b/drivers/net
This patch removes trailing whitespaces in the whole
the ARCNET layer. It also replaces the use of space
with tabs and changes fixes the codingstyle on those lines.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/arc-rawmode.c | 4 +-
drivers/net/arcnet/arc-rimi.c | 2
This patch removes the use of the variable ioaddr in the macros
and uses it directly in the calling functions. This improves
the readability of the code and changes the macros to be used as
offsets.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/com20020-isa.c | 2 +-
drivers/net
This patch cleans the capmode protocol module. It removes the obsolete
function arcnet_cap_init and uses the C99 struct definition. It also
replaces printk with pr_info.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/capmode.c | 28 +++-
1 file changed, 11
The call for dev_free_skb is done only once. This patch
moves its call to its only user and removes the obsolete
condition variable.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/arcnet.c | 10 ++
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/drivers/net/arcnet
The EAE PLX-PCI card has a special rotary encoder
to configure the address of every card individually.
We take this information for the initial setup of
the cards dev_id.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/com20020-pci.c | 28
include/linux
The simple macros ARCRESET, ACOMMAND, ASTATUS, AINTMASK are unnecessary
indirections to the use of registers. This patch removes them and
improves the readability of the code.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/com90io.c | 36 +---
1 file
ket lengths; 256 byte packets were
being received as 257 bytes packets.
prepare_tx():
- Fixed error in transmit length calcs; 257 byte packets were being
transmitted as 260 byte packets.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/capmode.c | 4 ++--
1 file changed, 2 insertions
This patch moves the module_init and module_exit patches to
the end of the file. It also replaces the printk with pr_info.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/arc-rawmode.c | 87 ++--
1 file changed, 38 insertions(+), 49 deletions(-)
diff
and unloading of the com20020 card.
Cheers,
Michael
Michael Grzeschik (21):
com20020-pci: add dev_port for udev handling
ARCNET: fix hard_header_len limit
ARCNET: capmode: fix transfer length
ARCNET: whitespace, tab and codingstyle fixes
ARCNET: remove unneeded macros
ARCNET: com20020
The simple macros ARCRESET, ACOMMAND, ASTATUS, AINTMASK are unnecessary
indirections to the use of registers. This patch removes them and
improves the readability of the code.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/com90xx.c | 35 +--
1 file
This patch replaces all magic numbers in the driver with
proper named macros. For the case of XTOcfg and STARTIOcmd
it introduces the new macros.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/com20020.c | 21 +++--
include/linux/arcdevice.h | 1 +
include/linux
This patch changes the macro definitions to match the C99
formating. This improves the readability.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/com20020-pci.c | 35 +--
1 file changed, 29 insertions(+), 6 deletions(-)
diff --git a/drivers/net/arcnet
This patch removes the use of the variable ioaddr in the macros
and uses it directly in the calling functions. This improves
the readability of the code and changes the macros to be used as
offsets.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/com90xx.c | 52
This patch removes the obsolete macro BUS_ALIGN as the kernel option
CONFIG_SA1100_CT6001 is not longer available.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/com20020.c | 4 ++--
include/linux/com20020.h | 27 ++-
2 files changed, 12 insertions(+), 19
The simple macros ARCRESET, ACOMMAND, ASTATUS, AINTMASK are unnecessary
indirections to the use of registers. This patch removes them and improves the
readability of the code.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/arc-rimi.c | 24 +++-
1 file changed, 7
This patch removes the use of the variable ioaddr in the macros
and uses it directly in the calling functions. This improves
the readability of the code and changes the macros to be used as
offsets.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/com90io.c | 86
This patch removes the use of the variable ioaddr in the macros
and uses it directly in the calling functions. This improves
the readability of the code and changes the macros to be used as
offsets.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/arc-rimi.c | 30
The simple macros ARCRESET, ACOMMAND, ASTATUS, AINTMASK are unnecessary
indirections to the use of registers. This patch removes them and improves the
readability of the code.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/arcnet.c | 68
The macros SET_SUBADR, ARCRESET, ARCRESET0, ACOMMAND, ASTATUS, AINTMASK
and ADIAGSTATUS are unnecessary indirections to the use of registers.
This patch removes them and improves the readability of the code.
Signed-off-by: Michael Grzeschik
---
drivers/net/arcnet/com20020-isa.c | 2 +-
drivers
1 - 100 of 228 matches
Mail list logo