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: <20120103.202433.812126500710199359.davem@davemloft.net>
Date:	Tue, 03 Jan 2012 20:24:33 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	javier@...hile0.org
Cc:	steve.glendinning@...c.com, eballetbo@...ebcn.com,
	ben@...adent.org.uk, netdev@...r.kernel.org
Subject: Re: [PATCH v2 2/2] net/smsc911x: Check if PHY is in operational
 mode before software reset

From: Javier Martinez Canillas <javier@...hile0.org>
Date: Wed,  4 Jan 2012 00:36:19 +0100

> SMSC LAN generation 4 chips integrate an IEEE 802.3 ethernet physical layer.
> The PHY driver for this integrated chip enable an energy detect power-down mode.
> When the PHY is in a power-down mode, it prevents the MAC portion chip to be
> software reseted.
> 
> That means that if we compile the kernel with the configuration option SMSC_PHY
> enabled and try to bring the network interface up without an cable plug-ed the
> PHY will be in a low power mode and the software reset will fail returning -EIO
> to user-space:
> 
> root@...p00x0:~# ifconfig eth0 up
> ifconfig: SIOCSIFFLAGS: Input/output error
> 
> This patch disable the energy detect power-down mode before trying to software
> reset the LAN chip and re-enables after it was reseted successfully.
> 
> Signed-off-by: Javier Martinez Canillas <javier@...hile0.org>

Applied.
--
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