打印

at91sam9260中DM9000的驱动问题

[复制链接]
1970|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
qchwu|  楼主 | 2008-8-8 14:06 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
我已经按9260EK对U-BOOT和LINUX内核进行了编译。但我在板子上增加的网络接口DM9000。在程序中该如何初始化和驱动呢。需要增加或修改那些文件。有没有相关的说明。
从U-BOOT中的lib_arm中的board.c中可以看到初始化过程:
init_fnc_t *init_sequence[] = {
    cpu_init,        /* basic cpu dependent setup */
    board_init,        /* basic board dependent setup */
    interrupt_init,        /* set up exceptions */
    env_init,        /* initialize environment */
    init_baudrate,        /* initialze baudrate settings */
    serial_init,        /* serial communications setup */
    console_init_f,        /* stage 1 init of console */
    display_banner,        /* say that we are here */
#if defined(CONFIG_DISPLAY_CPUINFO)
    print_cpuinfo,        /* display cpu info (and speed) */
#endif
#if defined(CONFIG_DISPLAY_BOARDINFO)
    checkboard,        /* display board info */
#endif
    dram_init,        /* configure available RAM banks */
    display_dram_config,
    NULL,
};

其中并没有外加的设备的初始化。

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

29

主题

126

帖子

0

粉丝