This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

FEC driver problem


hi

i have MPC860T based custom board
and try to activate the FEC
driver ( viper based )
Working with a recent cvs version.

it seems that the MII communication
is not working properly.

after enabling the FEC i am trying to
get the id register of the PHY (DP83843 PHYTER)
( containing an organizational unique id ) but
i always get 0x60E7ffff. (0xffff = data)
(reading every other register results in the
same behaviour)

if_fec.c:

  fec->eControl = eControl_EN | eControl_MUX;
  :
  .
  os_printf("%08x\n", phy_read(0x02, PHY_ADDRESS );

any idea?

best regards, christoph
    
-- 
cd /pub
more beer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]