[#5236] BF518F-EZBRD fails in linux-2.6.30 due to DSA changes

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

[#5236] BF518F-EZBRD fails in linux-2.6.30 due to DSA changes

Submitted By: Mike Frysinger

Open Date

2009-06-11 08:07:37     Close Date

2009-09-16 19:21:36

Priority:

Medium     Assignee:

Graf Yang

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

trunk

Category:

N/A     Board:

N/A

Processor:

BF518     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

trunk

App binary format:

N/A     

Summary: BF518F-EZBRD fails in linux-2.6.30 due to DSA changes

Details:

 

the DSA framework in 2.6.30 has changed:

arch/blackfin/mach-bf518/boards/ezbrd.c:123: error: unknown field ‘mii_bus’ specified in initializer

arch/blackfin/mach-bf518/boards/ezbrd.c:125: error: unknown field ‘port_names’ specified in initializer

 

this is because struct dsa_platform_data has been refactored to have an embedded struct dsa_chip_data which contains mii_bus and port_names and such

 

Follow-ups

 

--- Mike Frysinger                                           2009-06-11 09:27:27

ive updated the platform resources, but there's more build failures in the core

dsa code:

 

net/dsa/tag_stpid.c: In function ‘stpid_xmit’:

net/dsa/tag_stpid.c:46: error: ‘struct dsa_switch’ has no member named

‘master_netdev’

make[2]: *** [net/dsa/tag_stpid.o] Error 1

make[2]: *** Waiting for unfinished jobs....

net/dsa/dsa.c: In function ‘dsa_uses_stpid_tags’:

net/dsa/dsa.c:226: error: ‘struct dsa_switch’ has no member named

‘tag_protocol’

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

net/dsa/slave.c:52: warning: ‘dsa_slave_init’ defined but not used

net/dsa/slave.c:61: warning: ‘dsa_slave_open’ defined but not used

net/dsa/slave.c:99: warning: ‘dsa_slave_close’ defined but not used

net/dsa/slave.c:117: warning: ‘dsa_slave_change_rx_flags’ defined but not

used

net/dsa/slave.c:128: warning: ‘dsa_slave_set_rx_mode’ defined but not used

net/dsa/slave.c:137: warning: ‘dsa_slave_set_mac_address’ defined but not

used

net/dsa/slave.c:165: warning: ‘dsa_slave_ioctl’ defined but not used

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

 

--- Graf Yang                                                2009-06-11 21:53:16

Mike,

Thanks, I will take a look.

 

--- Graf Yang                                                2009-06-15 23:15:22

Fixed on trunk.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes