* Re: [parisc-linux] Dino PCI and I/O spaces (fwd)
@ 1999-06-15 5:34 Bill Katz
1999-06-15 12:53 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Bill Katz @ 1999-06-15 5:34 UTC (permalink / raw)
To: parisc-linux
|Alan Cox wrote:
|> > > accesses. There seems to be no way to do byte sized config accesses, do
|> > > I just read 32bits mask and write 32bits ?
|> >
|> > I thought Dino will forward the byte enables to the PCI bus.
|> > PCI-PCI bridge numbering I think depends on this.
|>
|> So how do I set those. The documentaiton also says the low two bits of
|> the register read back as 0. I guess that doesnt actually imply that the
|> write of it has no affect.
|
|The PCI_CONFIG_ADDR register (offset 0x64) is used to source the
|word address. So it's not surprising the lower order bits are RO.
|
|"Byte enables" are GSC and PCI bus signals - not register contents.
|The PA processor generates byte enable signals on the GSC bus and
|Dino forwards those for the appropriate bytes (swapped to match
|the swapping/endian conversion done for the PCI_CONFIG_DATA register.)
|The byte enable signals are taken when a processor read/write targets
|the PCI_CONFIG_DATA register (offset 0x68). The contents of PCI_CONFIG_ADDR
|and bytes enable signals from GSC bus are combined to generate a read/write
|transaction on the PCI bus.
|
|(Disclaimer: I'm not as certain of the above as it sounds though I
|believe it's correct - remember, I'm a SW engineer :^)
|
Grant has it right. I've watchedd Dino with a full logic analyzer on
both GSC and PCI... The 4 byte enables get swapped as Grant described
and if you do a single byte access, a single byte pops out the other side.
-Bill
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [parisc-linux] Dino PCI and I/O spaces (fwd)
1999-06-15 5:34 [parisc-linux] Dino PCI and I/O spaces (fwd) Bill Katz
@ 1999-06-15 12:53 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 1999-06-15 12:53 UTC (permalink / raw)
To: Bill Katz; +Cc: parisc-linux
> Grant has it right. I've watchedd Dino with a full logic analyzer on
> both GSC and PCI... The 4 byte enables get swapped as Grant described
> and if you do a single byte access, a single byte pops out the other side.
Thanks. I'll go and change my PCI code to reflect reality
Alan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1999-06-15 13:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-06-15 5:34 [parisc-linux] Dino PCI and I/O spaces (fwd) Bill Katz
1999-06-15 12:53 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox