aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc
diff options
context:
space:
mode:
authorMoon Yeounsu <[email protected]>2025-06-10 00:01:30 +0000
committerJakub Kicinski <[email protected]>2025-06-11 00:47:13 +0000
commit7fc18f9476256c03755d93b1cec0d42cf64d850a (patch)
treea4e407ed12a7d2b8b0c3addc28fb24608e79ef81 /drivers/net/ethernet/intel/igc
parentMerge tag 'linux-can-next-for-6.17-20250610' of git://git.kernel.org/pub/scm/... (diff)
downloadkernel-7fc18f9476256c03755d93b1cec0d42cf64d850a.tar.gz
kernel-7fc18f9476256c03755d93b1cec0d42cf64d850a.zip
net: dlink: enable RMON MMIO access on supported devices
Enable memory-mapped I/O access to RMON statistics registers for devices known to work correctly. Currently, only the D-Link DGE-550T (`0x4000`) with PCI revision A3 (`0x0c`) is allowed. To avoid issues on other hardware, a runtime check was added to restrict MMIO usage. The `MEM_MAPPING` macro was removed in favor of runtime detection. To access RMON registers, the code `dw32(RmonStatMask, 0x0007ffff);` must also be skipped, so this patch conditionally disables it as well. Tested-on: D-Link DGE-550T Rev-A3 Signed-off-by: Moon Yeounsu <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions