[Home]

Summary:DAHLIN-00094: [patch] wctc4xxp fails building with kernel 2.6.30-rc3: implicit declaration of function ‘netif_rx_complete’
Reporter:Tzafrir Cohen (tzafrir)Labels:
Date Opened:2009-04-23 18:04:55Date Closed:2009-12-08 14:31:13.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:dahdi_transcode
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) 0001-wctc4xxp-Change-netif_rx_xxx-to-napi_xxx.patch
( 1) wctc4xxp_2630_netif.diff
Description:I'm trying to build DAHDI-linux vs. kernel 2.6.30-rc3 .

Here's the first error I encounter:

/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/wctc4xxp/base.c: In function 'wctc4xxp_poll':
/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/wctc4xxp/base.c:668: error: implicit declaration of function 'netif_rx_complete'
/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/wctc4xxp/base.c: In function 'wctc4xxp_net_capture_cmd':
/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/wctc4xxp/base.c:850: error: implicit declaration of function 'netif_rx_schedule'
make[3]: *** [/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/wctc4xxp/base.o] Error 1
make[2]: *** [/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi/wctc4xxp] Error 2
make[1]: *** [_module_/home/tzafrir/Proj/Asterisk/Svn/dahdi-linux/drivers/dahdi] Error 2


The attached patch makes it build. See also:

http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=288379f050284087578b77e04f040b57db3db3f8
Comments:By: Shaun Ruffell (sruffell) 2009-04-23 23:09:11

The attached 0001-wctc4xxp-Change-netif_rx_xxx-to-napi_xxx.patch is what I had for the same issue.

By: Digium Subversion (svnbot) 2009-04-29 12:48:41

Repository: dahdi
Revision: 6526

U   linux/trunk/drivers/dahdi/wctc4xxp/base.c

------------------------------------------------------------------------
r6526 | sruffell | 2009-04-29 12:48:40 -0500 (Wed, 29 Apr 2009) | 7 lines

wctc4xxp: Change netif_rx_xxx to napi_xxx

The netif_rx_xxx functions were dropped from the linux kernel source on
2009-01-21 in commit 288379f050284087578b77e04f040b57db3db3f8.

(closes issue DAHLIN-94)
Reported by: tzafrir
------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=6526