CVS commit: src/sys/dev/pci

"SAITOH Masanobu" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	msaitoh
Date:		Thu Aug 20 06:51:57 UTC 2026

Modified Files:
	src/sys/dev/pci: pciconf.c

Log Message:
pciconf(9): Configure some registers and variables for PCI-PCI bridge

Reviewed by rin@

 - Configure BARs for PCI-PCI bridge if implemented

   PCI-to-PCI Bridge Spec rev. 1.2 "3.2.5.1 Base Address registers" says
   that if the optional BARs are implemented, the configuration software
   must map address ranges.

 - Configure interrupt related registers for PCI-PCI bridge

 - Skip min_gnt/max_lat calculations for PCI-PCI bridges because those
   are not supported.

 - Handle expansion ROM base address register correctly for PCI-PCI bridges.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/sys/dev/pci/pciconf.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
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.