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: <20111127.170345.210055753705612508.davem@davemloft.net>
Date:	Sun, 27 Nov 2011 17:03:45 -0500 (EST)
From:	David Miller <davem@...emloft.net>
To:	yanivr@...adcom.com
Cc:	netdev@...r.kernel.org, eilong@...adcom.com
Subject: Re: [net-next 5/8] bnx2x: Change Warpcore MDIO work around mode

From: "Yaniv Rosner" <yanivr@...adcom.com>
Date: Sun, 27 Nov 2011 20:17:58 +0200

> @@ -11308,7 +11308,9 @@ static int bnx2x_populate_int_phy(struct bnx2x *bp, u32 shmem_base, u8 port,
>  				       offsetof(struct shmem_region,
>  			dev_info.port_feature_config[port].link_config)) &
>  			  PORT_FEATURE_CONNECTED_SWITCH_MASK);
> -	chip_id = REG_RD(bp, MISC_REG_CHIP_NUM) << 16;
> +	chip_id = (REG_RD(bp, MISC_REG_CHIP_NUM) << 16) |
> +				((REG_RD(bp, MISC_REG_CHIP_REV) & 0xf) << 12);
> +

Bad formatting.
--
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