lkml.org 
[lkml]   [2008]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRE: [E1000-devel] linux-next: Tree for September 4 (PATCH: IXGBE)
Date
From
Randy Dunlap wrote:
> From: Randy Dunlap <randy.dunlap@oracle.com>
>
> ixgbe needs to be restricted to the same build config (m/y)
> as DCA since it calls the dca_*() functions.
>
> ixgbe_main.c:(.text+0xd9c09): undefined reference to `dca3_get_tag'
> ixgbe_main.c:(.text+0xd9cc9): undefined reference to `dca3_get_tag'
> ixgbe_main.c:(.text+0xda5c1): undefined reference to
> `dca_add_requester' ixgbe_main.c:(.text+0xda5d6): undefined reference
> to `dca_remove_requester' text+0xdc162): undefined reference to
> `dca_add_requester'
> text+0xdc1d3): undefined reference to `dca_remove_requester'
> ixgbe_main.c:(.init.text+0xa74b): undefined reference to
> `dca_register_notify' ixgbe_main.c:(.devinit.text+0xa4ca): undefined
> reference to `dca_add_requester' ixgbe_main.c:(.exit.text+0xd21):
> undefined reference to `dca_unregister_notify'
> ixgbe_main.c:(.devexit.text+0x72d): undefined reference to
> `dca_remove_requester' make[1]: *** [.tmp_vmlinux1] Error 1
>
> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
...
> + depends on PCI && INET && DCA

Looks like you set IXGBE=y and CONFIG_DCA=m. This depends DCA option is
not so great because if INTEL_IOATDMA is disabled (and therefore DCA is
disabled) then ixgbe won't show up as an option.

How about this instead, use a select INTEL_IOATDMA:

inline is whitespace busted, sorry. attached is the patch.

[unhandled content-type:application/octet-stream]
\
 
 \ /
  Last update: 2008-09-06 01:51    [W:0.097 / U:10.400 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site