Gentoo Archives: gentoo-arm

From: Anish Patel <anish.mailing.list@×××××.com>
To: gentoo-arm@l.g.o, gentoo-embedded@l.g.o
Subject: [gentoo-arm] IXP400 ethernet drivers
Date: Wed, 07 Jun 2006 13:23:05
Message-Id: 003101c68a35$652410c0$0201a8c0@LiveStrong
1 Hello,
2 I am attempting to compile the IXP400 ethernet module for an ixp425.
3 When i issue the make modules i get this error dump
4
5 /home/akp/xscale/kernel/ixp400_xscale_sw/src/include/IxQueueAssignments.h:75:5:
6 warning: "IX_UTOPIAMODE" is not defined
7 /home/akp/xscale/kernel/ixp400_xscale_sw/src/include/IxQueueAssignments.h:78:5:
8 warning: "IX_MPHYSINGLEPORT" is not defined
9 drivers/net/ixp400_eth.c:434: error: `platform_bus_type' undeclared here
10 (not in a function)
11 drivers/net/ixp400_eth.c:434: error: initializer element is not constant
12 drivers/net/ixp400_eth.c:434: error: (near initialization for
13 `ixp400_eth_driver.bus')
14 drivers/net/ixp400_eth.c:439: error: elements of array `ixp400_eth_devices'
15 have incomplete type
16 drivers/net/ixp400_eth.c:442: error: unknown field `name' specified in
17 initializer
18 drivers/net/ixp400_eth.c:442: warning: excess elements in struct initializer
19 drivers/net/ixp400_eth.c:442: warning: (near initialization for
20 `ixp400_eth_devices[0]')
21 drivers/net/ixp400_eth.c:443:5: warning: "CONFIG_IXP400_ETH_NPEC_ONLY" is
22 not defined
23 drivers/net/ixp400_eth.c:446: error: unknown field `id' specified in
24 initializer
25 drivers/net/ixp400_eth.c:446: warning: excess elements in struct initializer
26 drivers/net/ixp400_eth.c:446: warning: (near initialization for
27 `ixp400_eth_devices[0]')
28 drivers/net/ixp400_eth.c:448: error: unknown field `dev' specified in
29 initializer
30 drivers/net/ixp400_eth.c:449: error: extra brace group at end of initializer
31 drivers/net/ixp400_eth.c:449: error: (near initialization for
32 `ixp400_eth_devices[0]')
33 drivers/net/ixp400_eth.c:451: warning: excess elements in struct initializer
34 drivers/net/ixp400_eth.c:451: warning: (near initialization for
35 `ixp400_eth_devices[0]')
36 drivers/net/ixp400_eth.c:455: error: unknown field `name' specified in
37 initializer
38 drivers/net/ixp400_eth.c:455: warning: excess elements in struct initializer
39 drivers/net/ixp400_eth.c:455: warning: (near initialization for
40 `ixp400_eth_devices[1]')
41 drivers/net/ixp400_eth.c:456:5: warning: "CONFIG_IXP400_ETH_NPEC_ONLY" is
42 not defined
43 drivers/net/ixp400_eth.c:459: error: unknown field `id' specified in
44 initializer
45 drivers/net/ixp400_eth.c:459: warning: excess elements in struct initializer
46 drivers/net/ixp400_eth.c:459: warning: (near initialization for
47 `ixp400_eth_devices[1]')
48 drivers/net/ixp400_eth.c:461: error: unknown field `dev' specified in
49 initializer
50 drivers/net/ixp400_eth.c:462: error: extra brace group at end of initializer
51 drivers/net/ixp400_eth.c:462: error: (near initialization for
52 `ixp400_eth_devices[1]')
53 drivers/net/ixp400_eth.c:464: warning: excess elements in struct initializer
54 drivers/net/ixp400_eth.c:464: warning: (near initialization for
55 `ixp400_eth_devices[1]')
56 drivers/net/ixp400_eth.c: In function `dev_skb_dequeue':
57 drivers/net/ixp400_eth.c:906: warning: implicit declaration of function
58 `invalidate_dcache_range'
59 drivers/net/ixp400_eth.c: In function `dev_eth_type_trans':
60 drivers/net/ixp400_eth.c:1854: error: structure has no member named `stamp'
61 drivers/net/ixp400_eth.c: In function `dev_hard_start_xmit':
62 drivers/net/ixp400_eth.c:2446: warning: implicit declaration of function
63 `clean_dcache_range'
64 drivers/net/ixp400_eth.c: In function `dev_eth_probe':
65 drivers/net/ixp400_eth.c:3199: warning: implicit declaration of function
66 `to_platform_device'
67 drivers/net/ixp400_eth.c:3199: error: invalid type argument of `->'
68 drivers/net/ixp400_eth.c: In function `dev_eth_remove':
69 drivers/net/ixp400_eth.c:3478: error: invalid type argument of `->'
70 drivers/net/ixp400_eth.c: In function `ixp400_eth_init':
71 drivers/net/ixp400_eth.c:3649: warning: implicit declaration of function
72 `platform_device_register'
73 drivers/net/ixp400_eth.c:3649: error: invalid use of undefined type `struct
74 platform_device'
75 drivers/net/ixp400_eth.c: In function `ixp400_eth_exit':
76 drivers/net/ixp400_eth.c:3816: warning: implicit declaration of function
77 `platform_device_unregister'
78 drivers/net/ixp400_eth.c:3816: error: invalid use of undefined type `struct
79 platform_device'
80 include/linux/module.h: At top level:
81 drivers/net/ixp400_eth.c:439: error: storage size of `ixp400_eth_devices'
82 isn't known
83 make[2]: *** [drivers/net/ixp400_eth.o] Error 1
84 make[1]: *** [drivers/net] Error 2
85 make: *** [drivers] Error 2
86
87 the toolchain is set to target big endian and the kernel that was compiled
88 against this tool chain it fine and boots
89
90 the dir layout is per intels guide
91
92 workdir --|
93 |
94 |
95
96 --
97 gentoo-arm@g.o mailing list

Replies

Subject Author
Re: [gentoo-arm] IXP400 ethernet drivers Yuri Vasilevski <yvasilev@g.o>