(paths *linuxpath.Paths, pciAddr *pciaddr.Address)
| 42 | } |
| 43 | |
| 44 | func getDeviceModaliasPath(paths *linuxpath.Paths, pciAddr *pciaddr.Address) string { |
| 45 | return filepath.Join( |
| 46 | paths.SysBusPciDevices, |
| 47 | pciAddr.String(), |
| 48 | "modalias", |
| 49 | ) |
| 50 | } |
| 51 | |
| 52 | func getDeviceRevision(paths *linuxpath.Paths, pciAddr *pciaddr.Address) string { |
| 53 | revisionPath := filepath.Join( |
no test coverage detected
searching dependent graphs…