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] [day] [month] [year] [list]
Message-ID: <5ce01215-9a87-1ce1-a8dd-9d4b39f7866d@gmail.com>
Date:   Tue, 28 Mar 2017 15:16:20 -0700
From:   Florian Fainelli <f.fainelli@...il.com>
To:     netdev@...r.kernel.org
Cc:     davem@...emloft.net, andrew@...n.ch,
        vivien.didelot@...oirfairelinux.com
Subject: Re: [PATCH net-next] net: dsa: Mock-up driver

On 03/28/2017 02:56 PM, Florian Fainelli wrote:
> This patch adds support for a DSA mock-up driver which essentially does
> the following:
> 
> - registers/unregisters 4 fixed PHYs to the slave network devices
> - uses eth0 (configurable) as the master netdev
> - registers the switch as a fixed MDIO device against the fixed MDIO bus
>   at address 31
> - includes dynamic debug prints for dsa_switch_ops functions that can be
>   enabled to get call traces
> 
> This is a good way to test modular builds as well as exercise the DSA
> APIs without requiring access to real hardware. This does not test the
> data-path, although this could be added later on.
> 
> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
> ---

> diff --git a/include/linux/phy_fixed.h b/include/linux/phy_fixed.h
> index 1d41ec44e39d..e352bc315e00 100644
> --- a/include/linux/phy_fixed.h
> +++ b/include/linux/phy_fixed.h
> @@ -26,6 +26,7 @@ extern int fixed_phy_set_link_update(struct phy_device *phydev,
>  extern int fixed_phy_update_state(struct phy_device *phydev,
>  			   const struct fixed_phy_status *status,
>  			   const struct fixed_phy_status *changed);
> +extern struct device *platform_fmb_bus_get(void);

This is from a previous iteration of the driver and is no longer
required, I will respin, provided that we see value in having this
driver live in the kernel.
-- 
Florian

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ