linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* PCI Config access doesn't return correct data...
@ 2001-07-19  6:29 ashish anand
  2001-07-19 17:55 ` Mark A. Greer
  0 siblings, 1 reply; 2+ messages in thread
From: ashish anand @ 2001-07-19  6:29 UTC (permalink / raw)
  To: linuxppc-dev, linuxppc-dev


Hi all,
I found a strange behaviour of pci config access on my board.
my host bridge is MPC107(address map b)
indirect pci config access method with config_addr and config_data ports
at 0xfec00000 and 0xfee00000.

I am using sandpoint+750 board and Bluecat Linux.
I have a case of pci config not returning devid and vendorid correctly
sometime 0x00000000 , hence the cards put in slot are not even detected ,
in following conditions.
(card not behaving correctly are scsi aha 294xxx and 3c905b n/w card
but surprisingly INTEL 82559 always behaves correctly)

1> when you boot through osloader

2> when you put your scsi or 3com card in OUTER slot only

but when i put mb() in definition of pcibios_xxxx_config_xxxx in file indirect_pci.c
before and after the reading and writing the pci_config_addr and pci_config_data ports
everything behaves correctly.

it is clear that it was a reordering problem.
i want a further comment on this ,why it should happen?
noteworthy point is that it only happens when you ,

boot through osloader + with scsi and 3com cards not intel one +  only when cards are put
in OUTER slots.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

* Re: PCI Config access doesn't return correct data...
  2001-07-19  6:29 PCI Config access doesn't return correct data ashish anand
@ 2001-07-19 17:55 ` Mark A. Greer
  0 siblings, 0 replies; 2+ messages in thread
From: Mark A. Greer @ 2001-07-19 17:55 UTC (permalink / raw)
  To: ashish anand; +Cc: linuxppc-dev


ashish anand wrote:

> Hi all,
> I found a strange behaviour of pci config access on my board.
> my host bridge is MPC107(address map b)
> indirect pci config access method with config_addr and config_data ports
> at 0xfec00000 and 0xfee00000.
>
> I am using sandpoint+750 board and Bluecat Linux.

Do yourself a favor and either use the latest 2_4_devel kernel or hhl2.0 kernel from mvista
for the sandpoint.

>
> I have a case of pci config not returning devid and vendorid correctly
> sometime 0x00000000 , hence the cards put in slot are not even detected ,
> in following conditions.
> (card not behaving correctly are scsi aha 294xxx and 3c905b n/w card
> but surprisingly INTEL 82559 always behaves correctly)
>
> 1> when you boot through osloader
>
> 2> when you put your scsi or 3com card in OUTER slot only
>
> but when i put mb() in definition of pcibios_xxxx_config_xxxx in file indirect_pci.c
> before and after the reading and writing the pci_config_addr and pci_config_data ports
> everything behaves correctly.
>
> it is clear that it was a reordering problem.
> i want a further comment on this ,why it should happen?
> noteworthy point is that it only happens when you ,
>
> boot through osloader + with scsi and 3com cards not intel one +  only when cards are put
> in OUTER slots.
>


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2001-07-19 17:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-19  6:29 PCI Config access doesn't return correct data ashish anand
2001-07-19 17:55 ` Mark A. Greer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).