#19545: x86 TG3 driver not compatible with x86 pcie boards
------------------------+------------------------
  Reporter:  bigtman43  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:
 Component:  packages   |    Version:  Trunk
Resolution:             |   Keywords:
------------------------+------------------------

Comment (by bigtman43):

 barrier breaker, I have cross compiled it finally on ubuntu with the
 openwrt toolchain. I did a normal compile with openwrt then my
 crosscompile.

 The conflict I am getting is in my tg3.mod.c file that gets generated
 after the compile. I am just not sure where to add these 3 dependencies
 prior to the build??

 my version
 #include <linux/module.h>
 #include <linux/vermagic.h>
 #include <linux/compiler.h>


 struct module __this_module
 __attribute__((section(".gnu.linkonce.this_module"))) = {
         .name = KBUILD_MODNAME,
         .init = init_module,
 #ifdef CONFIG_MODULE_UNLOAD
         .exit = cleanup_module,
 #endif
         .arch = MODULE_ARCH_INIT,
 };

 static const char __module_depends[]
 __used
 __attribute__((section(".modinfo"))) =
 "depends=";

 openwrt version
 #include <linux/module.h>
 #include <linux/vermagic.h>
 #include <linux/compiler.h>


 struct module __this_module
 __attribute__((section(".gnu.linkonce.this_module"))) = {
         .name = KBUILD_MODNAME,
         .init = init_module,
 #ifdef CONFIG_MODULE_UNLOAD
         .exit = cleanup_module,
 #endif
         .arch = MODULE_ARCH_INIT,
 };

 static const char __module_depends[]
 __used
 __attribute__((section(".modinfo"))) =
 "depends=libphy,ptp,hwmon";

--
Ticket URL: <https://dev.openwrt.org/ticket/19545#comment:2>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to