[#3900] SVN Trunk EZKIT-BF548 compiles error.

Document created by Aaronwu Employee on Aug 28, 2013
Version 1Show Document
  • View in full screen mode

[#3900] SVN Trunk EZKIT-BF548 compiles error.

Submitted By: Bryan Wu

Open Date

2008-02-15 02:44:56     Close Date

2008-02-15 11:14:15

Priority:

Medium     Assignee:

Michael Hennerich

Status:

Closed     Fixed In Release:

N/A

Found In Release:

N/A     Release:

Category:

N/A     Board:

EZKIT Lite

Processor:

BF548     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Duplicate

Uboot version or rev.:

    Toolchain version or rev.:

App binary format:

N/A     

Summary: SVN Trunk EZKIT-BF548 compiles error.

Details:

 

Because the upstream net_device API changed:

 

[NET]: Make NAPI polling independent of struct net_device objects.

  git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=bea3348eef27e6044b6161fd04c3152215f96411

 

---

  CC      drivers/net/smsc911x.o

drivers/net/smsc911x.c: In function ‘smsc911x_poll’:

drivers/net/smsc911x.c:1016: error: ‘struct net_device’ has no member named ‘quota’

drivers/net/smsc911x.c:1016: warning: type defaults to ‘int’ in declaration of ‘_x’

drivers/net/smsc911x.c:1016: error: ‘struct net_device’ has no member named ‘quota’

drivers/net/smsc911x.c:1069: error: ‘struct net_device’ has no member named ‘quota’

drivers/net/smsc911x.c:1075: error: too few arguments to function ‘netif_rx_complete’

drivers/net/smsc911x.c: In function ‘smsc911x_irqhandler’:

drivers/net/smsc911x.c:1542: error: too few arguments to function ‘netif_rx_schedule’

drivers/net/smsc911x.c: In function ‘smsc911x_init’:

drivers/net/smsc911x.c:2025: error: ‘struct net_device’ has no member named ‘poll’

drivers/net/smsc911x.c:2026: error: ‘struct net_device’ has no member named ‘weight’

drivers/net/smsc911x.c: In function ‘smsc911x_drv_probe’:

drivers/net/smsc911x.c:2113: error: implicit declaration of function ‘SET_MODULE_OWNER’

make[2]: *** [drivers/net/smsc911x.o] Error 1

make[1]: *** [drivers/net] Error 2

make: *** [drivers] Error 2

---

 

Thanks

-Bryan Wu

 

Follow-ups

 

--- Mike Frysinger                                           2008-02-15 13:23:39

dupe of [#3888]

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes