• H
    sky2: Stop printing VPD info to debugfs · 0efcc3f2
    Heiner Kallweit 提交于
    Sky2 is parsing the VPD and adds the parsed information to its debugfs
    file. This isn't needed in kernel, userspace tools like lspci can be
    used to display such information nicely. Therefore remove this from
    the driver.
    
    lspci -vv:
    
    Capabilities: [50] Vital Product Data
    	Product Name: Marvell Yukon 88E8070 Gigabit Ethernet Controller
    	Read-only fields:
    		[PN] Part number: Yukon 88E8070
    		[EC] Engineering changes: Rev. 1.0
    		[MN] Manufacture ID: Marvell
    		[SN] Serial number: AbCdEfG970FD4
    		[CP] Extended capability: 01 10 cc 03
    		[RV] Reserved: checksum good, 9 byte(s) reserved
    	Read/write fields:
    		[RW] Read-write area: 1 byte(s) free
    	End
    
    Relevant part in debugfs file:
    
    0000:01:00.0 Product Data
    Marvell Yukon 88E8070 Gigabit Ethernet Controller
     Part Number: Yukon 88E8070
     Engineering Level: Rev. 1.0
     Manufacturer: Marvell
     Serial Number: AbCdEfG970FD4
    Signed-off-by: NHeiner Kallweit <hkallweit1@gmail.com>
    Acked-by: NStephen Hemminger <stephen@networkplumber.org>
    Link: https://lore.kernel.org/r/bbaee8ab-9b2e-de04-ee7b-571e094cc5fe@gmail.comSigned-off-by: NJakub Kicinski <kuba@kernel.org>
    0efcc3f2
sky2.c 135.9 KB