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  [ 1 post ] 
Author Message
 Post subject: Linux 2.6 ARM header files.
PostPosted: Mon Jan 28, 2008 6:50 pm 
Offline

Joined: Mon Nov 22, 2004 4:15 pm
Posts: 73
Location: Florence.
I am porting an AT91RM9200 driver developed in Linux 2.4.27 to 2.6.15
I note that hw header files
1)changed names AT91RM9200.h -> at91rm9200.h

2)all structure declarations c/o Atmel Rousset were completely removed
e.g in AT91RM9200.h the following declaration
#ifndef __ASSEMBLY__
typedef volatile unsigned int AT91RM_REG;
#endif
was removed in at91rm9200.h

2)macro definitions for hw register bits changed !
e.g
#define AT91C_ST_WDRST (0x1 << 0) in AT91RM9200_SYS.H
became ( a 'C" is missing...)
#define AT91_ST_WDRST (0x1 << 0) in at91rm9200_sys.h

3)macro definitions for hw registers bits have now a different distribution'
in the different header files...

As my driver accessed directly the hw registers, according to ATMEL
structures and macros, I am now very puzzled...

Which is the reason for this troublesome header files rearrangement ?
Any hint for a simple porting of AT91RM9200 driver projects ?
Thank you for your attention.


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users 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: