From: "Anish Patel" <anish.mailing.list@gmail.com>
To: <gentoo-arm@lists.gentoo.org>, <gentoo-embedded@lists.gentoo.org>
Subject: [gentoo-embedded] IXP400 ethernet drivers
Date: Wed, 7 Jun 2006 09:22:13 -0400 [thread overview]
Message-ID: <003101c68a35$652410c0$0201a8c0@LiveStrong> (raw)
Hello,
I am attempting to compile the IXP400 ethernet module for an ixp425.
When i issue the make modules i get this error dump
/home/akp/xscale/kernel/ixp400_xscale_sw/src/include/IxQueueAssignments.h:75:5:
warning: "IX_UTOPIAMODE" is not defined
/home/akp/xscale/kernel/ixp400_xscale_sw/src/include/IxQueueAssignments.h:78:5:
warning: "IX_MPHYSINGLEPORT" is not defined
drivers/net/ixp400_eth.c:434: error: `platform_bus_type' undeclared here
(not in a function)
drivers/net/ixp400_eth.c:434: error: initializer element is not constant
drivers/net/ixp400_eth.c:434: error: (near initialization for
`ixp400_eth_driver.bus')
drivers/net/ixp400_eth.c:439: error: elements of array `ixp400_eth_devices'
have incomplete type
drivers/net/ixp400_eth.c:442: error: unknown field `name' specified in
initializer
drivers/net/ixp400_eth.c:442: warning: excess elements in struct initializer
drivers/net/ixp400_eth.c:442: warning: (near initialization for
`ixp400_eth_devices[0]')
drivers/net/ixp400_eth.c:443:5: warning: "CONFIG_IXP400_ETH_NPEC_ONLY" is
not defined
drivers/net/ixp400_eth.c:446: error: unknown field `id' specified in
initializer
drivers/net/ixp400_eth.c:446: warning: excess elements in struct initializer
drivers/net/ixp400_eth.c:446: warning: (near initialization for
`ixp400_eth_devices[0]')
drivers/net/ixp400_eth.c:448: error: unknown field `dev' specified in
initializer
drivers/net/ixp400_eth.c:449: error: extra brace group at end of initializer
drivers/net/ixp400_eth.c:449: error: (near initialization for
`ixp400_eth_devices[0]')
drivers/net/ixp400_eth.c:451: warning: excess elements in struct initializer
drivers/net/ixp400_eth.c:451: warning: (near initialization for
`ixp400_eth_devices[0]')
drivers/net/ixp400_eth.c:455: error: unknown field `name' specified in
initializer
drivers/net/ixp400_eth.c:455: warning: excess elements in struct initializer
drivers/net/ixp400_eth.c:455: warning: (near initialization for
`ixp400_eth_devices[1]')
drivers/net/ixp400_eth.c:456:5: warning: "CONFIG_IXP400_ETH_NPEC_ONLY" is
not defined
drivers/net/ixp400_eth.c:459: error: unknown field `id' specified in
initializer
drivers/net/ixp400_eth.c:459: warning: excess elements in struct initializer
drivers/net/ixp400_eth.c:459: warning: (near initialization for
`ixp400_eth_devices[1]')
drivers/net/ixp400_eth.c:461: error: unknown field `dev' specified in
initializer
drivers/net/ixp400_eth.c:462: error: extra brace group at end of initializer
drivers/net/ixp400_eth.c:462: error: (near initialization for
`ixp400_eth_devices[1]')
drivers/net/ixp400_eth.c:464: warning: excess elements in struct initializer
drivers/net/ixp400_eth.c:464: warning: (near initialization for
`ixp400_eth_devices[1]')
drivers/net/ixp400_eth.c: In function `dev_skb_dequeue':
drivers/net/ixp400_eth.c:906: warning: implicit declaration of function
`invalidate_dcache_range'
drivers/net/ixp400_eth.c: In function `dev_eth_type_trans':
drivers/net/ixp400_eth.c:1854: error: structure has no member named `stamp'
drivers/net/ixp400_eth.c: In function `dev_hard_start_xmit':
drivers/net/ixp400_eth.c:2446: warning: implicit declaration of function
`clean_dcache_range'
drivers/net/ixp400_eth.c: In function `dev_eth_probe':
drivers/net/ixp400_eth.c:3199: warning: implicit declaration of function
`to_platform_device'
drivers/net/ixp400_eth.c:3199: error: invalid type argument of `->'
drivers/net/ixp400_eth.c: In function `dev_eth_remove':
drivers/net/ixp400_eth.c:3478: error: invalid type argument of `->'
drivers/net/ixp400_eth.c: In function `ixp400_eth_init':
drivers/net/ixp400_eth.c:3649: warning: implicit declaration of function
`platform_device_register'
drivers/net/ixp400_eth.c:3649: error: invalid use of undefined type `struct
platform_device'
drivers/net/ixp400_eth.c: In function `ixp400_eth_exit':
drivers/net/ixp400_eth.c:3816: warning: implicit declaration of function
`platform_device_unregister'
drivers/net/ixp400_eth.c:3816: error: invalid use of undefined type `struct
platform_device'
include/linux/module.h: At top level:
drivers/net/ixp400_eth.c:439: error: storage size of `ixp400_eth_devices'
isn't known
make[2]: *** [drivers/net/ixp400_eth.o] Error 1
make[1]: *** [drivers/net] Error 2
make: *** [drivers] Error 2
the toolchain is set to target big endian and the kernel that was compiled
against this tool chain it fine and boots
the dir layout is per intels guide
workdir --|
|
|
--
gentoo-embedded@gentoo.org mailing list
next reply other threads:[~2006-06-07 13:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-07 13:22 Anish Patel [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-06-07 14:39 [gentoo-embedded] IXP400 ethernet drivers Anish Patel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='003101c68a35$652410c0$0201a8c0@LiveStrong' \
--to=anish.mailing.list@gmail.com \
--cc=gentoo-arm@lists.gentoo.org \
--cc=gentoo-embedded@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox