tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/pci




> On May 16, 2018, at 12:02 PM, Jonathan A. Kollasch <jakllsch%netbsd.org@localhost> wrote:
> 
> Module Name:	src
> Committed By:	jakllsch
> Date:		Wed May 16 19:02:00 UTC 2018
> 
> Modified Files:
> 	src/sys/dev/pci: pci_map.c
> 
> Log Message:
> Enable the appropriate memory or I/O space decode in the PCI
> Command/Status Register upon mapping a BAR.
> 
> This should fix PR #53286.  It's also possible there are other similar
> PRs that might be fixed by this.

This change makes me a tad uneasy, mainly because it doesn’t seem to ensure that that the BAR contains something sensible before enabling the decode.

-- thorpej



Home | Main Index | Thread Index | Old Index