Code Monkey home page Code Monkey logo

Comments (3)

Infinality avatar Infinality commented on August 29, 2024

Answering my own question. I was able to get it to compile by commenting out the offending legacy code. ;) Patch below.

--- tn40.c.ORIG 2019-01-25 12:36:30.822311313 -0600
+++ tn40.c      2019-01-25 15:25:39.042780965 -0600
@@ -4934,8 +4935,10 @@
 #ifdef ETHTOOL_SLINKSETTINGS
                .set_link_ksettings = bdx_set_link_ksettings,
 #endif
+/*
                .get_settings = bdx_get_settings,
                .set_settings = bdx_set_settings,
+*/
                .get_drvinfo = bdx_get_drvinfo,
                .get_link = ethtool_op_get_link,
                .get_coalesce = bdx_get_coalesce,

from tn40xx-driver.

FossPrime avatar FossPrime commented on August 29, 2024

Removing the offending lines from tn40.c worked to compile the driver for Akitio on Fedora 29 https://www.akitio.com/faq/342-thunder2-10gbe-adapter-can-i-use-this-network-adapter-on-linux

from tn40xx-driver.

jlittlenz avatar jlittlenz commented on August 29, 2024

It worked, too, for compiling the Intel e1000e driver on Ubuntu 19.04.

from tn40xx-driver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.