Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Can't assign NIC [Aquantia Corp. AQC107]

    Scheduled Pinned Locked Moved Hardware
    81 Posts 14 Posters 23.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K
      kouled @stephenw10
      last edited by

      @stephenw10

      Indeed, so I try but it doesn't work

      I build a freebsd VM and install the appropriate package to be able to compile...

      I get the source https://github.com/Aquantia/aqtion-freebsd

      But I get error:

      usr/src/aqtion-freebsd-0.0.5/aq_main.c:197:57: error: too many arguments provided to function-like macro invocation
      197 | DRIVER_MODULE(atlantic, pci, aq_driver, aq_devclass, 0, 0);
      | ^
      /usr/include/sys/bus.h:854:9: note: macro 'DRIVER_MODULE' defined here
      854 | #define DRIVER_MODULE(name, busname, driver, evh, arg)
      | ^
      fatal error: too many errors emitted, stopping now [-ferror-limit=]

      In the main the function put 5 arguments in the bus.h that function is only expecting 5 arguments.. mismatch

      the code is not working properly

      I study the C a long time ago (I'm old :-) ) and I never used after.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.