Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux 6.1 fixes #71

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Linux 6.1 fixes #71

wants to merge 3 commits into from

Commits on Apr 25, 2023

  1. use dma_set_mask_and_coherent() instead of pci_set_* functions

    pci_set_dma_mask() and pci_set_consistent_dma_mask() were removed with
    kernel 5.18.
    
    dma_set_mask_and_coherent() exists since kernel 3.13.
    georgmu committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    dcde081 View commit details
    Browse the repository at this point in the history
  2. support linux 6.1+

    The last parameter (weight) of netif_napi_add() was removed with kernel 6.1
    with linux commit b48b89f9c1. The weight of 64 is now the default.
    georgmu committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    5e0c16e View commit details
    Browse the repository at this point in the history
  3. don't write directly to netdev->dev_addr

    netdev->dev_addr is const now. This fixes compilation warning and an OOPS
    with linux 5.17+.
    georgmu committed Apr 25, 2023
    Configuration menu
    Copy the full SHA
    38e80f9 View commit details
    Browse the repository at this point in the history