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: <20140227.170240.1910151216729314077.davem@davemloft.net>
Date:	Thu, 27 Feb 2014 17:02:40 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	sr@...x.de
Cc:	netdev@...r.kernel.org, r.meier@...mens.com,
	lukas.stockmann@...mens.com, f.fainelli@...il.com
Subject: Re: [PATCH] net: phy: Add support for SMSC/Microchip LAN9303
 3-port switch

From: Stefan Roese <sr@...x.de>
Date: Thu, 27 Feb 2014 10:07:52 +0100

> This driver exposes a sysfs interface to access the LAN9303 registers to
> userspace. These sysfs files can be used to configure the switch.
> 
> Signed-off-by: Stefan Roese <sr@...x.de>

We have an abstraction for programming switch devices called DSA.

Even if DSA doesn't fullfill your needs, doing adjustments using sysfs
files in userland is going to be the worst user experience possible.

Every driver will export different things to tweak, each device will
have different semantics and limitations for these settings, etc.

Better is to come up with a real, types, interface for programming
such devices and providing an implementation of that.

I'm not applying this, sorry.
--
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