Iam reading the MAC ID from EEPROM of The Chip and same Mac Id I programmed 
into the chip using below code of rltk8139 driver(if_8139.c)

  if (enaddr != NULL) {
    for (i = 0; i < 6; ++i) {
      rltk8139_info->mac[i] = enaddr[i];
      OUTB(enaddr[i], rltk8139_info->base_address + IDR0 + i);
    }
  }

After this code I reading the MAC Id using below code and Its giving same MAC 
Id.

  for (i = 0; i < 6; ++i)
{
    rltk8139_info->mac[i] = INB(rltk8139_info->base_address + IDR0 + i);
    diag_printf("%x:",rltk8139_info->mac[i]);
}

In MAC Id I didn't find any chanage.

Srinivas Rao.Ch


----- Original Message ----
From: Srinivas rao <[EMAIL PROTECTED]>
To: Andrew Lunn <[EMAIL PROTECTED]>
Cc: ecos <[EMAIL PROTECTED]>
Sent: Tuesday, 6 March, 2007 2:14:03 PM
Subject: Re: [ECOS] Operation timed out

Sorry!  for the late response

Iam not reading and programming the MAC id from EEPROM.
Iam not receving the broadcast packets also.

Srinivas Rao.Ch



----- Original Message ----
From: Andrew Lunn <[EMAIL PROTECTED]>
To: Srinivas rao <[EMAIL PROTECTED]>
Cc: ecos <[EMAIL PROTECTED]>
Sent: Thursday, 15 February, 2007 6:40:26 PM
Subject: Re: [ECOS] Operation timed out

On Thu, Feb 15, 2007 at 03:59:24PM +0530, Srinivas rao wrote:
> Hi,
> 

> Iam using rltk 8139 pci card and eCos rltk 8139 eternet drinver for
> my NUPort Board

> Iam testing the ping_test case on my NUPort Board. 

> the request packets are sending but reply packets are not recieving,
> I checked in the Ehtereal.

Another thing to check is if the device knows its own MAC
addresses. Sometimes you need to read if from an EEPROM and program it
into the chip. Check if you receive Ethernet broadcast packets, but
not unicast packets addressed to the device.

    Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss






        
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss






                
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to