]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb602b2e4ffea0d537be360df39ffaab02800d850
tree09d5e7a5d61fbfb8deace982bdcc04a2cb71bbc0
parentca4ec768924007e3cfa550c9bf5736315db9a974
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