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

Add patches from the Debian package #74

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

Commits on Oct 5, 2021

  1. More includes

    This is needed with more recent GCC versions.
    thomasgoirand committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    0b106d5 View commit details
    Browse the repository at this point in the history
  2. Correct typo

    Independant -> Independent
    thomasgoirand committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    bd1ed78 View commit details
    Browse the repository at this point in the history
  3. Add missing link standards

    lshw was only capable of reporting link types up to SUPPORTED_10000baseT_Full,
    meaning that nothing above 10Gbits/s plus many other new link types where not
    reported at all, leading to faster cards not reporting their speeds.
    
    This patch adds new capacities, with the information taken from the libc
    usr/include/linux/ethtool.h (ie: the linux-libc-dev package).
    
    FYI, I needed this patch because lshw was not reporting any speed for our
    MT27710 Family [ConnectX-4 Lx] (Mellanox Technologies) 25Gbits/s cards, so I
    thought I would add the speed reporting for that one, then since I was doing
    the job, I added all standards documented in ethtool.h.
    thomasgoirand committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    5268f97 View commit details
    Browse the repository at this point in the history
  4. Make it possible to cross-compile lshw

    In Debian, we need to be able to override pkg-config, so we can
    cross compile.
    thomasgoirand committed Oct 5, 2021
    Configuration menu
    Copy the full SHA
    14776cc View commit details
    Browse the repository at this point in the history