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:		Sun Jul  5 08:53:26 UTC 2026

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

Log Message:
ahcisata_pci: Add sanity check for BAR5 to prevent panic

 Inte volume management can't be attach to ahcisata_pci.
It doesn't conform the AHCI specification. The AHCI specification says it's
32bit BAR. According to the PCI specification, if a BAR is the lower 32-bit
register of a 64-bit register, the next register represents the upper 32
bits. However, BARs only go up to 5, and there is no BAR 6.


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/sys/dev/pci/ahcisata_pci.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.