net/designware: Phy address fix
authorVipin KUMAR <vipin.kumar@st.com>
Mon, 26 Mar 2012 00:09:54 +0000 (00:09 +0000)
committerJoe Hershberger <joe.hershberger@ni.com>
Wed, 4 Apr 2012 15:46:59 +0000 (10:46 -0500)
commit024333c96fecb698efe703e01f2326c1256114a4
tree83bf62a814498800c4999e261293521111d4c0d5
parent97a6caa6e5429082d4daf689cfa355b6d8ddb2f3
net/designware: Phy address fix

The code assumes the phy address to be > 0, which is not true, the phy address
can be in the range 0-31.

Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
Signed-off-by: Amit Virdi <amit.virdi@st.com>
drivers/net/designware.c