cxgb4: extend VPD parsing
authorDimitris Michailidis <dm@chelsio.com>
Tue, 14 Dec 2010 21:36:54 +0000 (21:36 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Dec 2010 21:16:04 +0000 (13:16 -0800)
commit23d88e1d3e4a5b807ce6725f9294b7b9dfcd89a1
tree09d5e7a5d61fbfb8deace982bdcc04a2cb71bbc0
parent005b5717faac22264c1f61908ec5ac5b98108d99
cxgb4: extend VPD parsing

Current code parses the VPD RO section for keywords but makes static
assumptions about the location of the section.  Remove them and parse
the VPD to find it.

Signed-off-by: Dimitris Michailidis <dm@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/cxgb4/t4_hw.c