Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

how to modify the ethernet driver

dear all,

I do according to hippo, now i can run uclinux on my custom board ,because my board is not the altera board ,so i should modify the lan91c111 driver ,could you give me how to modify the ethernet driver?

best regards

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by nwpu_zhf2004@Jul 2 2006, 11:04 PM

    dear all,

    i do according to hippo, now i can run uclinux on my custom board ,because my board is not the altera board ,so i should modify the lan91c111 driver ,could you give me how to modify the ethernet driver?

    best regards

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=16609)

    --- quote end ---

    --- Quote End ---

    If you follow altera dev board to design your scm91111, it should run without modification.

    check include/nios2_system.h

    does the uclinux detect smc91111 during bootup?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I have ever run a web server on my costum board(LAN91C111 is work in 16 bit with nios2,this is not same altera dev board)with uCOS2.I think the hardware of 91c111 is good.

    Now I compile the 91c111 driver into the uClinux,but the 91c111 does not run because the led of the J45 is not light.

    Should I modfide the 91c111 driver?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    originally posted by nwpu_zhf2004@Jul 3 2006, 12:48 PM

    i have ever run a web server on my costum board(lan91c111 is work in 16 bit with nios2,this is not same altera dev board)with ucos2.i think the hardware of 91c111 is good.

    now i compile the 91c111 driver into the uclinux,but the 91c111 does not run because the led of the j45 is not light.

    should i modfide the 91c111 driver?

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=16619)

    --- quote end ---

    --- Quote End ---

    in drivers/net/smc91111.c

    try define CONFIG_SMC16BITONLY