All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch net-next] mlxsw: pci: Fix the FW ready mask length
@ 2016-11-03  8:41 Jiri Pirko
  2016-11-03 20:21 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Pirko @ 2016-11-03  8:41 UTC (permalink / raw)
  To: netdev; +Cc: davem, eladr

From: Elad Raz <eladr@mellanox.com>

The system-status register is actually 16-bit wide and not 8 bit-wide.

Fixes: 233fa44bd67ae ("mlxsw: pci: Implement reset done check")
Signed-off-by: Elad Raz <eladr@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
---
 drivers/net/ethernet/mellanox/mlxsw/pci_hw.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/mellanox/mlxsw/pci_hw.h b/drivers/net/ethernet/mellanox/mlxsw/pci_hw.h
index 708736f..d147ddd 100644
--- a/drivers/net/ethernet/mellanox/mlxsw/pci_hw.h
+++ b/drivers/net/ethernet/mellanox/mlxsw/pci_hw.h
@@ -60,7 +60,7 @@
 #define MLXSW_PCI_SW_RESET_RST_BIT		BIT(0)
 #define MLXSW_PCI_SW_RESET_TIMEOUT_MSECS	5000
 #define MLXSW_PCI_FW_READY			0xA1844
-#define MLXSW_PCI_FW_READY_MASK			0xFF
+#define MLXSW_PCI_FW_READY_MASK			0xFFFF
 #define MLXSW_PCI_FW_READY_MAGIC		0x5E
 
 #define MLXSW_PCI_DOORBELL_SDQ_OFFSET		0x000
-- 
2.7.4

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

* Re: [patch net-next] mlxsw: pci: Fix the FW ready mask length
  2016-11-03  8:41 [patch net-next] mlxsw: pci: Fix the FW ready mask length Jiri Pirko
@ 2016-11-03 20:21 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2016-11-03 20:21 UTC (permalink / raw)
  To: jiri; +Cc: netdev, eladr

From: Jiri Pirko <jiri@resnulli.us>
Date: Thu,  3 Nov 2016 09:41:55 +0100

> From: Elad Raz <eladr@mellanox.com>
> 
> The system-status register is actually 16-bit wide and not 8 bit-wide.
> 
> Fixes: 233fa44bd67ae ("mlxsw: pci: Implement reset done check")
> Signed-off-by: Elad Raz <eladr@mellanox.com>
> Signed-off-by: Jiri Pirko <jiri@mellanox.com>

Applied.

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

end of thread, other threads:[~2016-11-03 20:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-11-03  8:41 [patch net-next] mlxsw: pci: Fix the FW ready mask length Jiri Pirko
2016-11-03 20:21 ` David Miller

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.