Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-arm
Navigation:
Lists: gentoo-arm: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: <gentoo-arm@g.o>, <gentoo-embedded@g.o>
From: "Anish Patel" <anish.mailing.list@...>
Subject: IXP400 ethernet drivers
Date: Wed, 7 Jun 2006 09:22:13 -0400
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-arm@g.o mailing list


Replies:
Re: IXP400 ethernet drivers
-- Yuri Vasilevski
Navigation:
Lists: gentoo-arm: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
HELP WITH DRIVERS IN iMX21
Next by thread:
Re: IXP400 ethernet drivers
Previous by date:
HELP WITH DRIVERS IN iMX21
Next by date:
Re: IXP400 ethernet drivers


Updated Jun 17, 2009

Summary: Archive of the gentoo-arm mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.