Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Adding SMC91X Ethernet driver to AT91 board
PostPosted: Thu Feb 07, 2008 11:31 am 
Offline

Joined: Mon Nov 19, 2007 6:05 pm
Posts: 7
Hello,
I would like to add the SMC91X Ethernet driver to my AT91 board running Linux 2.6.23. I specified the SMC91x support in the Kernel configuration but I am a newbie in Linux and I do not know what I need to do to get this driver linked with the device.
The physical device is mapped on the AT91 bus at a certain address and with a certain IRQ assigned to it . So, which files need to be modified ? (I suppose board-sam9260ek.c and at91sam9260_devices.c but I am not so sure) and how they must be modified ? is there a standard way or some suggestions about how adding a device ? does anybody can help me ?

Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 10, 2008 7:16 pm 
Offline
User avatar

Joined: Wed May 12, 2004 6:59 pm
Posts: 161
Location: Bergamo, Italia
Schematics are the first requirement to complete such task
BTW main points could be to add your device in your board_init() arch/arm/mach-at91/board-xxx and verify driver parameters in driver/net/smc91x.c
Happy hacking :wink:

_________________
Marco Cavallini
Koan s.a.s. - Bergamo - ITALIA
Embedded and Real-Time Software Engineering
- Atmel Third Party Consultant
Tel. +39-(0)35-255.235 - Fax +39-178-223.9748
http://www.KoanSoftware.com | http://www.KaeilOS.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: