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]
Date:	Tue, 4 Feb 2014 15:24:27 +0000
From:	Sørensen, Stefan 
	<Stefan.Sorensen@...ctralink.com>
To:	"ben@...adent.org.uk" <ben@...adent.org.uk>
CC:	"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
	"richardcochran@...il.com" <richardcochran@...il.com>
Subject: Re: [PATCH] dp83640: Support a configurable number of periodic
 outputs

On Tue, 2014-02-04 at 10:53 +0000, Ben Hutchings wrote:
> > Modules parameters are surely easiest (for the developer), but perhaps
> > the time has come for the "right way."
> > 
> > Currently there is no interface for configuring the GPIOs used by PHC
> > devices, and last year I was going to add the GPIOs to the igb
> > driver. The conclusion of the discussion was that module parameters
> > are bad for this, but ethtool is good.
> > 
> >   http://www.spinics.net/lists/netdev/msg237692.html
> > 
> > [ I did not follow through to come up with an ethtool way of configuring
> >   the igb pins. ]
> > 
> > Even though it is more work, I think the way forward is to invent a
> > way to let the user configure this kind of thing via ethtool. Would
> > you care to take a stab at this?
> 
> It seems to me that this is board configuration, not user configuration,
> so it should be defined in DT or ACPI or whatever.
> 
> Are there boards which expose multiple GPIOs for users to plug together
> PPS signals?

I would definitely prefer the DT approach. On all the platforms I have
used, the GPIO configuration has been set in stone by the HW. But there
might be some dev boards or the like that has them configurable.

Stefan

Powered by blists - more mailing lists