ethernet: cavium: Replace deprecated PCI functionspcim_iomap_regions() and pcim_iomap_table() have been deprecated bythe PCI subsystem in commit e354bb84a4c1 ("PCI: Deprecatepcim_iomap_table(), p
ethernet: cavium: Replace deprecated PCI functionspcim_iomap_regions() and pcim_iomap_table() have been deprecated bythe PCI subsystem in commit e354bb84a4c1 ("PCI: Deprecatepcim_iomap_table(), pcim_iomap_regions_request_all()").Replace the deprecated PCI functions with their successors.Link: https://lore.kernel.org/r/[email protected]Signed-off-by: Philipp Stanner <[email protected]>Signed-off-by: Bjorn Helgaas <[email protected]>Acked-by: Paolo Abeni <[email protected]>
show more ...
net: cavium: Fix a bunch of kerneldoc parameter issuesRename ptp to ptp_info.Fix W=1 compile warnings (invalid kerneldoc):drivers/net/ethernet/cavium/common/cavium_ptp.c:94: warning: Excess fun
net: cavium: Fix a bunch of kerneldoc parameter issuesRename ptp to ptp_info.Fix W=1 compile warnings (invalid kerneldoc):drivers/net/ethernet/cavium/common/cavium_ptp.c:94: warning: Excess function parameter 'ptp' description in 'cavium_ptp_adjfine'drivers/net/ethernet/cavium/common/cavium_ptp.c:141: warning: Excess function parameter 'ptp' description in 'cavium_ptp_adjtime'drivers/net/ethernet/cavium/common/cavium_ptp.c:163: warning: Excess function parameter 'ptp' description in 'cavium_ptp_gettime'drivers/net/ethernet/cavium/common/cavium_ptp.c:185: warning: Excess function parameter 'ptp' description in 'cavium_ptp_settime'drivers/net/ethernet/cavium/common/cavium_ptp.c:208: warning: Excess function parameter 'ptp' description in 'cavium_ptp_enable'Reported-by: Hulk Robot <[email protected]>Signed-off-by: Wang Hai <[email protected]>Signed-off-by: David S. Miller <[email protected]>
net: cavium: Fix build errors due to 'imply CAVIUM_PTP'If CAVIUM_PTP is m and THUNDER_NIC_VF is y, build fails:drivers/net/ethernet/cavium/thunder/nicvf_main.o: In function 'nicvf_remove':nicvf_
net: cavium: Fix build errors due to 'imply CAVIUM_PTP'If CAVIUM_PTP is m and THUNDER_NIC_VF is y, build fails:drivers/net/ethernet/cavium/thunder/nicvf_main.o: In function 'nicvf_remove':nicvf_main.c:(.text+0x1f0): undefined reference to 'cavium_ptp_put'drivers/net/ethernet/cavium/thunder/nicvf_main.o: In function `nicvf_probe':nicvf_main.c:(.text+0x557c): undefined reference to 'cavium_ptp_get'THUNDER_NIC_VF imply CAVIUM_PTP, which allow the config now,Use IS_REACHABLE() to avoid the vmlinux link error for this case.Reported-by: Hulk Robot <[email protected]>Fixes: def2fbffe62c ("kconfig: allow symbols implied by y to become m")Signed-off-by: YueHaibing <[email protected]>Signed-off-by: David S. Miller <[email protected]>
net: cavium: Register driver with PCI subsys IDsAcross Cavium's ThunderX and Marvell's OcteonTx2 siliconsthe PTP timestamping block's PCI device ID and vendor IDhave remained same but the HW arch
net: cavium: Register driver with PCI subsys IDsAcross Cavium's ThunderX and Marvell's OcteonTx2 siliconsthe PTP timestamping block's PCI device ID and vendor IDhave remained same but the HW architecture has changed.Hence added PCI subsystem IDs to the device table to avoidthis driver from being probed on OcteonTx2 silicons.Signed-off-by: Prakash Brahmajyosyula <[email protected]>Signed-off-by: Sunil Goutham <[email protected]>Signed-off-by: David S. Miller <[email protected]>
net: cavium: Use the correct style for SPDX License IdentifierThis patch corrects the SPDX License Identifier stylein header files related to Cavium Ethernet drivers.For C header files Documentat
net: cavium: Use the correct style for SPDX License IdentifierThis patch corrects the SPDX License Identifier stylein header files related to Cavium Ethernet drivers.For C header files Documentation/process/license-rules.rstmandates C-like comments (opposed to C source files whereC++ style should be used)Changes made by using a script provided by Joe Perches here:https://lkml.org/lkml/2019/2/7/46.Suggested-by: Joe Perches <[email protected]>Signed-off-by: Nishad Kamdar <[email protected]>Signed-off-by: David S. Miller <[email protected]>
net: cavium: fix driver nameThe driver name gets exposed in sysfs under /sys/bus/pci/driversso it should look like other devices. Change it to be commonformat (instead of "Cavium PTP").This is
net: cavium: fix driver nameThe driver name gets exposed in sysfs under /sys/bus/pci/driversso it should look like other devices. Change it to be commonformat (instead of "Cavium PTP").This is a trivial fix that was observed by accident becauseDebian kernels were building this driver into kernel (bug).Signed-off-by: Stephen Hemminger <[email protected]>Signed-off-by: David S. Miller <[email protected]>
treewide: Add SPDX license identifier - Makefile/KconfigAdd SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any formThese files fall under the project
treewide: Add SPDX license identifier - Makefile/KconfigAdd SPDX license identifiers to all Make/Kconfig files which: - Have no license information of any formThese files fall under the project license, GPL v2 only. The resulting SPDXlicense identifier is: GPL-2.0-onlySigned-off-by: Thomas Gleixner <[email protected]>Signed-off-by: Greg Kroah-Hartman <[email protected]>
net: cavium: clean up return value check in cavium_ptp_probeptp_clock_register never return NULL, so no need check thisin cavium_ptp_probe.Signed-off-by: YueHaibing <[email protected]>Signe
net: cavium: clean up return value check in cavium_ptp_probeptp_clock_register never return NULL, so no need check thisin cavium_ptp_probe.Signed-off-by: YueHaibing <[email protected]>Signed-off-by: David S. Miller <[email protected]>
net: cavium: use module_pci_driver to simplify the codeUse the module_pci_driver() macro to make the code simplerby eliminating module_init and module_exit calls.Signed-off-by: Wei Yongjun <weiy
net: cavium: use module_pci_driver to simplify the codeUse the module_pci_driver() macro to make the code simplerby eliminating module_init and module_exit calls.Signed-off-by: Wei Yongjun <[email protected]>Signed-off-by: David S. Miller <[email protected]>
net: cavium: fix NULL pointer dereference in cavium_ptp_putPrevent a kernel panic on reboot if ptp_clock is NULL by checkingthe ptp pointer before using it.Signed-off-by: Jan Glauber <jglauber@c
net: cavium: fix NULL pointer dereference in cavium_ptp_putPrevent a kernel panic on reboot if ptp_clock is NULL by checkingthe ptp pointer before using it.Signed-off-by: Jan Glauber <[email protected]>Fixes: 8c56df372bc1 ("net: add support for Cavium PTP coprocessor")Cc: Radoslaw Biernacki <[email protected]>Cc: Aleksey Makarov <[email protected]>Signed-off-by: David S. Miller <[email protected]>
net: add support for Cavium PTP coprocessorThis patch adds support for the Precision Time ProtocolClocks and Timestamping hardware found on Cavium ThunderXprocessors.Signed-off-by: Radoslaw Bie
net: add support for Cavium PTP coprocessorThis patch adds support for the Precision Time ProtocolClocks and Timestamping hardware found on Cavium ThunderXprocessors.Signed-off-by: Radoslaw Biernacki <[email protected]>Signed-off-by: Aleksey Makarov <[email protected]>Acked-by: Philippe Ombredanne <[email protected]>Signed-off-by: David S. Miller <[email protected]>