Re: pci_attach_hook() tweaks

"Toru Nishimura" <[email protected]>
Newsgroups gmane.os.netbsd.ports.ofppc
Message-ID <000801c832e7$7e224b30$1718a8c0@tpad3>
Frank Wille asked;

> When reading the register on a Pegasos2 it shows Pin=0 (A) and line=14.

Pin field is 1-origin and 0 means no PCI pin.  0/14 are reasonable for 0x8a
case.

> But why do we only clear the pin-assignment and not the line-assignment?

0. pin/line fields are merely "informational" for SW and brings no functional
change in PCIIDE HW.
1. "no PCI pin for 0x8a" is a part of PCIIDE specification. 
2. It's the matter of SW if it respects the line field.  Clearing the field is
insignificant.

Toru Nishimura / ALKYL Technology
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.