public inbox for gentoo-embedded@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-embedded] IXP400 ethernet drivers
@ 2006-06-07 13:22 Anish Patel
  0 siblings, 0 replies; 2+ messages in thread
From: Anish Patel @ 2006-06-07 13:22 UTC (permalink / raw
  To: gentoo-arm, gentoo-embedded

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-embedded] IXP400 ethernet drivers
@ 2006-06-07 14:39 Anish Patel
  0 siblings, 0 replies; 2+ messages in thread
From: Anish Patel @ 2006-06-07 14:39 UTC (permalink / raw
  To: gentoo-arm, gentoo-embedded

sorry i forgot to say, i am using the 1.5.1 intel provided ethernet drivers, 
and i have thier access libraries and all too (rev 2.1)

workdir--|-linux src
               |
               |ixp400_xscale_sw
               |
               |ixp_osal


Anish Patel 

-- 
gentoo-embedded@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-06-07 14:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-07 14:39 [gentoo-embedded] IXP400 ethernet drivers Anish Patel
  -- strict thread matches above, loose matches on Subject: below --
2006-06-07 13:22 Anish Patel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox