[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1536926.jEJjsM70Lj@wuerfel>
Date: Fri, 14 Aug 2015 22:49:50 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Kenneth Lee <liguozhu@...ilicon.com>
Cc: robh+dt@...nel.org, pawel.moll@....com, mark.rutland@....com,
ijc+devicetree@...lion.org.uk, galak@...eaurora.org,
catalin.marinas@....com, will.deacon@....com,
Yisen.Zhuang@...wei.com, davem@...emloft.net,
paul.gortmaker@...driver.com, dingtianhong@...wei.com,
zhangfei.gao@...aro.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
netdev@...r.kernel.org, linuxarm@...wei.com,
salil.mehta@...wei.com, huangdaode@...ilicon.com,
Kenneth Lee <liguozhu@...wei.com>
Subject: Re: [PATCH 1/5] net: add Hisilicon Network Subsystem support (config and documents)
On Friday 14 August 2015 18:30:18 Kenneth Lee wrote:
> diff --git a/Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt b/Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt
> new file mode 100644
> index 0000000..5ab6969
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt
> @@ -0,0 +1,14 @@
> +Hisilicon Network Subsystem NIC controller
> +
> +Required properties:
> +- compatible: hisilicon,hns-nic
> +- ae-name: accelerator name who provide this interface
> +- ae-opts: options (string) to the accelerator. e.g. the index interface
> +
> +Example:
> +
> + ethernet@0{
> + compatible = "hisilicon,hns-nic";
> + ae-name = "soc0-n4";
> + ae-opts = "0";
> + };
>
These properties look very unconventional. What are the valid strings
for ae-name and ae-opts? It looks like the latter is just a number,
so why not use an integer property?
Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists