Subject: Re: pci_attach_hook() tweaks
To: None <port-ofppc@NetBSD.org>
From: Toru Nishimura <locore64@alkyltechnology.com>
List: port-ofppc
Date: 11/30/2007 09:25:18
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