Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Problem in pci-bridge or NIC driver..?
@ 2003-04-09 14:52 ashish  anand
  2003-04-09 16:47 ` Jun Sun
  0 siblings, 1 reply; 2+ messages in thread
From: ashish  anand @ 2003-04-09 14:52 UTC (permalink / raw)
  To: linux-mips

Hello,

I am not able to conclude whether my problem belongs to pci-bridge 
side or towards my NIC drivers.

1> I am using thee network cards in my BSP process ..Intel 82557 , 
RealTek 8139 and 3COM
3c905b ..all these three card works fine on different machine.

2>I have great difficulty in having serial eeprom and mdio 
interface both working and responding correctly to pci 
transactions.

3>in pci io space i can't use 82557 and RTL8139 cards as simply i 
amn't able to read serial eeprom and hence their MAC addresss 
remains undetected  while on other machine same two card's serial 
eeprom responds fine in pci io space as well.
serial eeprom response in pci mem space is fine but other nasty 
problems.

However my 3com card serial eeprom responds perfectly fine on my 
developement system.

So, where is the probelm ..i am confused..

4>but my 3COM card MII interface doesn't respond ( it is having 
only pci io bar) in pci io space.

while i am yet to get diagnostic reports from mii diag programmes 
for these card..meantime I want a hint if I need to see anything 
on PCI bridge side.

Best Regards,
Ashish Anand


_______________________________________________________________________
Odomos - the only  mosquito protection outside 4 walls -
Click here to know more!
http://r.rediff.com/r?http://clients.rediff.com/odomos/Odomos.htm&&odomos&&wn

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problem in pci-bridge or NIC driver..?
  2003-04-09 14:52 Problem in pci-bridge or NIC driver..? ashish  anand
@ 2003-04-09 16:47 ` Jun Sun
  0 siblings, 0 replies; 2+ messages in thread
From: Jun Sun @ 2003-04-09 16:47 UTC (permalink / raw)
  To: ashish anand; +Cc: linux-mips, jsun

On Wed, Apr 09, 2003 at 02:52:28PM -0000, ashish  anand wrote:
> Hello,
> 
> I am not able to conclude whether my problem belongs to pci-bridge 
> side or towards my NIC drivers.
> 
> 1> I am using thee network cards in my BSP process ..Intel 82557 , 
> RealTek 8139 and 3COM
> 3c905b ..all these three card works fine on different machine.
> 
> 2>I have great difficulty in having serial eeprom and mdio 
> interface both working and responding correctly to pci 
> transactions.
> 
> 3>in pci io space i can't use 82557 and RTL8139 cards as simply i 
> amn't able to read serial eeprom and hence their MAC addresss 
> remains undetected  while on other machine same two card's serial 
> eeprom responds fine in pci io space as well.
> serial eeprom response in pci mem space is fine but other nasty 
> problems.
> 
> However my 3com card serial eeprom responds perfectly fine on my 
> developement system.
>

Is 3com's serial eeprom in IO space or MEM space?  If it is in 
MEM space, it probably means that your IO space is not setup 
right.  You need to use substractive decoding to translate
PCI IO address when you memory-map PCI IO space.

Which board/controller chip are you using?

If you use pci_auto to assign PCI resource, you should be able
to see the IO/MEM resources assigned to those cards.  They
are very useful for probing the problem.

Jun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-04-09 16:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-09 14:52 Problem in pci-bridge or NIC driver..? ashish  anand
2003-04-09 16:47 ` Jun Sun

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox