Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1207903

Re: [PATCH 1/5] net: add Hisilicon Network Subsystem support (config and documents)

From Arnd Bergmann <arnd@arndb.de>
Newsgroups linux.kernel
Subject Re: [PATCH 1/5] net: add Hisilicon Network Subsystem support (config and documents)
Date 2015-08-14 23:00 +0200
Message-ID <pXuf0-4RW-9@gated-at.bofh.it> (permalink)
References <pXkpk-7IY-5@gated-at.bofh.it> <pXkpk-7IY-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] net: Hisilicon Network Subsystem support Kenneth Lee <liguozhu@hisilicon.com> - 2015-08-14 12:30 +0200
  [PATCH 1/5] net: add Hisilicon Network Subsystem support (config and documents) Kenneth Lee <liguozhu@hisilicon.com> - 2015-08-14 12:30 +0200
    Re: [PATCH 1/5] net: add Hisilicon Network Subsystem support (config and documents) Arnd Bergmann <arnd@arndb.de> - 2015-08-14 23:00 +0200
  [PATCH 2/5] net: add Hisilicon Network Subsystem hnae framework support Kenneth Lee <liguozhu@hisilicon.com> - 2015-08-14 12:30 +0200
    Re: [PATCH 2/5] net: add Hisilicon Network Subsystem hnae  framework support David Miller <davem@davemloft.net> - 2015-08-17 21:30 +0200

csiph-web