CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2010/10/01 20:54:40
Modified files:
sys/dev/pci : Tag: OPENBSD_4_8 pci_map.c
Log message:
MFC:
- - -
revision 1.29
date: 2010/09/06 12:30:35; author: kettenis; state: Exp; lines: +4 -5
Some stupid hardware marks PCI BARs as prefetchable that aren't side-effect
free. Mapping those with BUS_SPACE_MAP_PREFETCHABLE can have disastrous
effects, like the NMIs observed by jsg@ with certain Intel 10Gb Ethernet
devices. So stop trusting the devices and instead require drivers to
explicitly pass the BUS_SPACE_MAP_PREFECTHABLE flag to pci_mapreg_map().
- - -
from sthen
ok deraadt