This patch explains the occasion of "hisilcon,mdio" and
"hisilicon,hns-mdio" according to Arnd's comments.
and reformat it according to comments from Rob.
Signed-off-by: huangdaode
---
change log:
v3:
1)move change log under '---' line.
2)change minor sy
On 2015/11/16 23:20, Rob Herring wrote:
On Mon, Nov 16, 2015 at 05:38:24PM +0800, huangdaode wrote:
This patch explains the occasion of "hisilcon,mdio" and
"hisilicon,hns-mdio" according to Arnd's comments.
and reformat it according to comments from Rob.
chang log
On 2015/11/16 17:38, Arnd Bergmann wrote:
On Monday 16 November 2015 17:38:24 huangdaode wrote:
This patch explains the occasion of "hisilcon,mdio" and
"hisilicon,hns-mdio" according to Arnd's comments.
and reformat it according to comments from Rob.
chang log:
v2:
This patch explains the occasion of "hisilcon,mdio" and
"hisilicon,hns-mdio" according to Arnd's comments.
and reformat it according to comments from Rob.
chang log:
v2:
1) reformat the style.
2) make it more clearity.
v1:
initial version.
Signed-off-by: huang
This patch fixes explain the occasion of "hisilcon,mdio" according to
Arnd's comments. specify it is only used for hip04.
First, please give your commnents.
Signed-off-by: huangdaode
---
Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt | 4 +++-
1 file changed, 3 i
On 2015/11/3 6:05, Arnd Bergmann wrote:
On Saturday 31 October 2015 02:18:19 Salil Mehta wrote:
On 10/31/2015 1:40 AM, huangdaode wrote:
On 2015/10/30 22:20, Arnd Bergmann wrote:
On Tuesday 27 October 2015 19:16:34 huangdaode wrote:
mdio@803c {
#address
On 2015/10/30 22:20, Arnd Bergmann wrote:
On Tuesday 27 October 2015 19:16:34 huangdaode wrote:
mdio@803c {
#address-cells = <1>;
#size-cells = <0>;
- compatible = "hisilicon,mdio&quo
platform_driver doesn't need to set .owner, because
platform_driver_register() will set it.
Signed-off-by: huangdaode
---
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_enet.c
b/drivers/net/eth
From: yankejian
updates the bindings documents and dtsi file according to the review
comments[https://lkml.org/lkml/2015/9/21/670] from Rob Herring
Acked-by: Rob Herring
Signed-off-by: yankejian
Signed-off-by: huangdaode
---
Documentation/devicetree/bindings/net/hisilicon-hns-mdio.txt | 2
On 2015/10/16 17:30, Arnd Bergmann wrote:
On Friday 16 October 2015 11:54:15 huangdaode wrote:
This patchset fixes the two bugs in HNS driver, one is remove the hnae sysfs
interface
according to the review comments from Arnd Bergmann , another
is fixing the wrong mac_id judgement bug which is
This patch fixes the wrong judgement of mac_id when get port num.
Signed-off-by: huangdaode
Signed-off-by: yankejian
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c
b
This patch removes the hns driver hnae sysfs interface according to
Arnd's review comments.
Signed-off-by: huangdaode
---
drivers/net/ethernet/hisilicon/hns/hnae.c | 47 ---
1 file changed, 47 deletions(-)
diff --git a/drivers/net/ethernet/hisilicon/hns/hnae
first bug fix, which is fixed in another patch submitted by
Arnd Bergmann
2) change the code sytyle according to Joe.
v1:
initial version.
huangdaode (2):
net: hisilicon rm hnae sysfs interface
net: hisilicon fix a bug on Hisilicon Network Subsystem
drivers/net/ethernet/hisilicon/hns
On 2015/10/12 11:24, Joe Perches wrote:
Hello Huang.
On Mon, 2015-10-12 at 11:23 +0800, huangdaode wrote:
This patch changes the code style to make the code more simple.
also removes the once used HNADEL_TX_MSG macro, according to the
HANDEL_TX_MSG typo
review comments from Joe Perches
submitted by
Arnd Bergmann
2) change the code sytyle according to Joe.
v1
initial version.
huangdaode (2):
hisilicon net: removes the once HANDEL_TX_MSG macro
hisilicon net: fix a bug on Hisilicon Network Subsystem
drivers/net/ethernet/hisilicon/hns/hnae.c | 45
This patch changes the code style to make the code more simple.
also removes the once used HNADEL_TX_MSG macro, according to the
review comments from Joe Perches.
Signed-off-by: huangdaode
Reviewed-by: Joe Perches
---
drivers/net/ethernet/hisilicon/hns/hnae.c | 45
This patch fixes the wrong judgement of mac_id when get port num.
Signed-off-by: huangdaode
Signed-off-by: yankejian
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c
b
On 2015/10/11 20:02, David Miller wrote:
From: huangdaode
Date: Thu, 8 Oct 2015 14:17:23 +0800
This patchset fixes the two bugs in HNS driver, one is for fixing the
compilation warning bug on arm 32-bit platform, another is fixing the wrong
mac port judgement bug which is found during
On 2015/10/12 4:13, Joe Perches wrote:
On Tue, 2015-10-06 at 23:53 +0200, Arnd Bergmann wrote:
diff --git a/drivers/net/ethernet/hisilicon/hns/hnae.c
b/drivers/net/ethernet/hisilicon/hns/hnae.c
[]
@@ -448,12 +448,12 @@ static ssize_t handles_show(struct device *dev,
s += sprin
This patch fix the building error reported by Jiri Pirko
drivers/net/ethernet/hisilicon/hns/hnae.h:465:2: error: unknown type
name 'phy_interface_t'
phy_interface_t phy_if;
^
the full build log is on https://lists.01.org/pipermail/kbuild-all.
Signed-off-by: huangdao
ce_t +465 drivers/net/ethernet/hisilicon/hns/hnae.h
Looks like hnae.c needs to do "#include " directly.
Cc'ing maintainer.
6fe6611f huangdaode 2015-09-17 449 struct hnae_ae_dev {
6fe6611f huangdaode 2015-09-17 450 struct device cls_dev; /* the class dev
*/
6fe6611f huangdao
This patch fix a compilation warning on arm 32-bit platform
Signed-off-by: huangdaode
Signed-off-by: yankejian
---
drivers/net/ethernet/hisilicon/hns/hnae.c | 12 ++--
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/net/ethernet/hisilicon/hns/hnae.c
b/drivers/net
This patchset fixes the two bugs in HNS driver, one is for fixing the
compilation warning bug on arm 32-bit platform, another is fixing the wrong
mac port judgement bug which is found during internal tests.
huangdaode (2):
net: Fix Hisilicon Network Subsystem compilation warning
net: fix a
This patch fixes a bug in hns driver during internal testing of the
driver.
Signed-off-by: huangdaode
Signed-off-by: yankejian
---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/hisilicon/hns
On 2015/9/26 12:42, David Miller wrote:
From: huangdaode
Date: Fri, 25 Sep 2015 16:29:50 +0800
@@ -191,9 +191,12 @@ static void hns_rcb_ring_init(struct ring_pair_cb
*ring_pair, int ring_type)
if (ring_type == RX_RING) {
dsaf_write_dev(q
This patch fixes the compilation error with arm allmodconfig, this error
generated due to unavailability of readq() on 32-bit platform which was
found during net-next daily compilation. In the same time, fix all the
hns drivers compilation warnings.
Signed-off-by: huangdaode
Signed-off-by
This patch fixes the compilation error with arm allmodconfig, this error
generated due to unavailability of readq() on 32-bit platform which was
found during net-next daily compilation. In the same time, fix all the
hns drivers compilation warnings.
Sgned-off-by: huangdaode
Signed-off-by
This patch fixes the compilation error with arm allmodconfig, this error
generated due to unavailability of readq() on 32-bit platform which was
found during net-next daily compilation. In the same time, fix all the
hns drivers compilation warnings.
Sgned-off-by: huangdaode
Signed-off-by
On 2015/9/25 15:12, David Miller wrote:
From: huangdaode
Date: Fri, 25 Sep 2015 14:47:23 +0800
@@ -966,7 +966,15 @@ static inline u32 dsaf_get_reg_field(void *base, u32 reg,
u32 mask, u32 shift)
#define dsaf_read_b(addr)\
readb((__iomem unsigned char *)(addr))
+#ifndef readq
This patch fixes the compilation error with arm allmodconfig, this error
generated due to unavailability of readq() on 32-bit platform which was
found during net-next daily compilation. In the same time, fix all the
hns drivers compilation warnings.
Signed-off-by: huangdaode
Signed-off-by
This patch fixes the compilation error with arm allmodconfig, this error
generated due to unavailability of readq on 32-bit platform which was
found during net-next daily compilation
Signed-off-by: huangdaode
Singed-off-by: yankejian
---
drivers/net/ethernet/hisilicon/Kconfig | 3 +++
1 file
On 2015/9/21 22:52, Rob Herring wrote:
On 09/17/2015 01:51 AM, huangdaode wrote:
The Hisilicon Network Subsystem is a long term evolution IP which is
supposed to be used in Hisilicon ICT SoC. The IP, which is called hns
for short, is a TCP/IP acceleration engine, which can directly decode
TCP
HNAE (Hisilicon Network Acceleration Engine) is a framework to provide a
unified ring buffer interface for Hisilicon Network Acceleration
Engines.
With the interface, upper layer can work as ethernet driver, ODP driver
or other service driver on purpose.
Signed-off-by: huangdaode
Signed-off-by
The MDIO support for Hisilicon Network Subsystem. It is used in Hislicon
hip04, hip05 and Hi1610 SoC to control the external PHY
Signed-off-by: huangdaode
Signed-off-by: Yisen Zhuang
Signed-off-by: Kenneth Lee
---
drivers/net/ethernet/hisilicon/Kconfig | 10 +-
drivers/net/ethernet
ge the DTS pattern on hnae, restruct it to compatible with Hi1610 soc.
4. Unified hip04_mdio and hip05_mdio into hns_mdio, which is more usaul for
later SOCs.
V1 Patches Reference: https://lkml.org/lkml/2015/8/14/165
Thanks
huangdaode (5):
net: add Hisilicon Network Subsystem support (
control to the PHY, used by acceleration engine
This submit add basic config and documents
Signed-off-by: huangdaode
Signed-off-by: Kenneth Lee
Signed-off-by: Yisen Zhuang
---
.../bindings/net/hisilicon-hip04-net.txt | 4 +-
.../devicetree/bindings/net/hisilicon-hns-dsaf.txt | 49
: huangdaode
Signed-off-by: Kenneth Lee
Signed-off-by: Yisen Zhuang
---
drivers/net/ethernet/hisilicon/Kconfig |8 +
drivers/net/ethernet/hisilicon/hns/Makefile |3 +
drivers/net/ethernet/hisilicon/hns/hns_enet.c| 1646 ++
drivers/net/ethernet/hisilicon/hns
37 matches
Mail list logo