lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87wqukzyps.wl%kuninori.morimoto.gx@renesas.com>
Date:	Wed, 06 Feb 2013 17:42:27 -0800 (PST)
From:	Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
To:	Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@...esas.com>
Cc:	Simon Horman <horms+renesas@...ge.net.au>, netdev@...r.kernel.org,
	linux-sh@...r.kernel.org, devicetree-discuss@...ts.ozlabs.org,
	Magnus Damm <magnus.damm@...il.com>
Subject: Re: [PATCH] net: sh_eth: Add support of device tree probe


Hi Iwamatsu-san

> >> +Required properties:
> >> +- compatible:                   "renesas,sh-eth";
> >> +- interrupt-parent:             The phandle for the interrupt controller that
> >> +                                services interrupts for this device.
> >> +- reg:                          Offset and length of the register set for the
> >> +                                device.
> >> +- interrupts:                   Interrupt mapping for the sh_eth interrupt
> >> +                                sources (vector id).
> >> +- phy-mode:              String, operation mode of the PHY interface.
> >> +- sh-eth,edmac-endian:          String, endian of sh_eth dmac.
> >
> > I believe endian is only little/big.
> > It can be "bool" settings, not "string" ?
> >
> 
> If we use bool , we may use this as "sh-eth,edmac-endian-big" or
> sh-eth,edmac-endian-little.
> Or we define big-endian, and when using big-endian, we specify this.
> Either way is okay.

Sorry, if it means

"we define big-endian as default settings,
and user can select little-endian by using sh-eth,edmac-little-endian"

then, it is nice.
Then, it can be "Option" properties.

> >> +- sh-eth,endian:                String, endian of sh_eth dmac.
> >
> > Is this really used it in this driver ?
> >
> 
> Yes. In many cases, this uses little-endian, but user may specify
> big-endian, I think.

I meant that I could find "sh-eth,edmac-endian" operation,
but, couldn't find "sh-eth,endian" operation on sh_eth_parse_dt()
and on Example either.

Best regards
---
Kuninori Morimoto
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ