8260 fcc_enet driver newbie question

Vijay Kumar vijaykumar at bravegnu.org
Thu Aug 11 15:47:58 EST 2005


I was going through the fcc_enet driver
(linux-2.6.12.2/arch/ppc/8260_io/fcc_enet.c).

The driver accesses the CPM memory map using 
immap = (cpm2_map_t *)CPM_MAP_ADDR;

There is also a global variable cpm2_immr defined in
arch/ppc/syslib/cpm2_common.c

If I were to write a new driver which one should I use
to access the CPM memory map?

Vijay




More information about the Linuxppc-embedded mailing list