Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1412714
| Path | csiph.com!aioe.org!bofh.it!news.nic.it!robomod |
|---|---|
| From | Yisen Zhuang <Yisen.Zhuang@huawei.com> |
| Newsgroups | linux.kernel |
| Subject | [PATCH v4 net-next 00/13] net: hns: add support of ACPI |
| Date | Fri, 03 Jun 2016 04:50:02 +0200 |
| Message-ID | <rFNbH-5NL-3@gated-at.bofh.it> (permalink) |
| X-Original-To | <rjw@rjwysocki.net>, <lenb@kernel.org>, <davem@davemloft.net> |
| X-Mailer | git-send-email 1.9.1 |
| MIME-Version | 1.0 |
| Content-Type | text/plain |
| X-Originating-IP | [10.67.212.75] |
| X-Cfilter-Loop | Reflected |
| X-Mirapoint-Virus-Rapid-Raw | score=unknown(0), refid=str=0001.0A020206.5750ED40.00CD,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-06-18 04:22:30, dmn=2013-03-21 17:37:32 |
| X-Mirapoint-Loop-ID | 2fafc407d2ef33cc0a3387336eacdd67 |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 65 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | <fengguang.wu@intel.com>, <andriy.shevchenko@linux.intel.com>, <andrew@lunn.ch>, <ivecera@redhat.com>, <f.fainelli@gmail.com>, <haifeng.wei@huawei.com>, <charles.chenxin@huawei.com>, <netdev@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <linux-acpi@vger.kernel.org>, <linuxarm@huawei.com> |
| X-Original-Date | Fri, 3 Jun 2016 10:55:08 +0800 |
| X-Original-Message-ID | <1464922521-30928-1-git-send-email-Yisen.Zhuang@huawei.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1412714 |
Show key headers only | View raw
From: Kejian Yan <yankejian@huawei.com>
This series adds HNS support of acpi. The routine will call some ACPI
helper functions, like acpi_dev_found() and acpi_evaluate_dsm(), which
are not included in other cases. In order to make system compile
successfully in other cases except ACPI, it needs to add relative stub
functions to linux/acpi.h. And we use device property functions instead
of serial helper functions to suport both DT and ACPI cases. And then
add the supports of ACPI for HNS.
change log:
v3->v4:
mii-id gets from dev-name instead of address
v2->v3:
1. add Review-by: Andy Shevchenko
2. fix the potential memory leak
v1 -> v2:
1. use acpi_dev_found() instead of acpi_match_device_ids() to check if
it is a acpi node.
2. use is_of_node() instead of IS_ENABLED() to check if it is a DT node.
3. split the patch("add support of acpi for hns-mdio") into two patches:
3.1 Move to use fwnode_handle
3.2 Add ACPI
4. add the patch which subject is dsaf misc operation method
5. fix the comments by Andy Shevchenko
Kejian Yan (13):
ACPI: bus: add stub acpi_dev_found() to linux/acpi.h
ACPI: bus: add stub acpi_evaluate_dsm() to linux/acpi.h
net: hisilicon: cleanup to prepare for other cases
net: hisilicon: add support of acpi for hns-mdio
net: hns: use device_* APIs instead of of_* APIs
net: hns: use platform_get_irq instead of irq_of_parse_and_map
net: hns: enet specify a reference to dsaf by fwnode_handle
net: hns: add uniform interface for phy connection
net: hns: add dsaf misc operation method
net: hns: dsaf adds support of acpi
net: hns: register phy device in each mac initial sequence
net: hns: implement the miscellaneous operation by asl
net: hns: net: hns: enet adds support of acpi
drivers/net/ethernet/hisilicon/hns/hnae.c | 18 +-
drivers/net/ethernet/hisilicon/hns/hnae.h | 5 +-
drivers/net/ethernet/hisilicon/hns/hns_ae_adapt.c | 6 +-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_gmac.c | 6 +-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.c | 247 +++++++++++++++-----
drivers/net/ethernet/hisilicon/hns/hns_dsaf_mac.h | 4 +-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.c | 105 ++++++---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_main.h | 33 ++-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.c | 250 ++++++++++++++++++---
drivers/net/ethernet/hisilicon/hns/hns_dsaf_misc.h | 7 +-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_ppe.c | 15 +-
drivers/net/ethernet/hisilicon/hns/hns_dsaf_rcb.c | 5 +-
.../net/ethernet/hisilicon/hns/hns_dsaf_xgmac.c | 10 +-
drivers/net/ethernet/hisilicon/hns/hns_enet.c | 90 +++++---
drivers/net/ethernet/hisilicon/hns/hns_enet.h | 2 +-
drivers/net/ethernet/hisilicon/hns/hns_ethtool.c | 2 +-
drivers/net/ethernet/hisilicon/hns_mdio.c | 150 +++++++------
include/linux/acpi.h | 13 ++
18 files changed, 706 insertions(+), 262 deletions(-)
--
1.9.1
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH v4 net-next 00/13] net: hns: add support of ACPI Yisen Zhuang <Yisen.Zhuang@huawei.com> - 2016-06-03 04:50 +0200
[PATCH v4 net-next 06/13] net: hns: use platform_get_irq instead of irq_of_parse_and_map Yisen Zhuang <Yisen.Zhuang@huawei.com> - 2016-06-03 04:50 +0200
[PATCH v4 net-next 04/13] net: hisilicon: add support of acpi for hns-mdio Yisen Zhuang <Yisen.Zhuang@huawei.com> - 2016-06-03 04:50 +0200
[PATCH v4 net-next 09/13] net: hns: add dsaf misc operation method Yisen Zhuang <Yisen.Zhuang@huawei.com> - 2016-06-03 04:50 +0200
Re: [PATCH v4 net-next 00/13] net: hns: add support of ACPI "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-06-03 23:40 +0200
Re: [PATCH v4 net-next 00/13] net: hns: add support of ACPI David Miller <davem@davemloft.net> - 2016-06-04 02:00 +0200
Re: [PATCH v4 net-next 00/13] net: hns: add support of ACPI David Miller <davem@davemloft.net> - 2016-06-05 04:20 +0200
csiph-web