OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
CVS: cvs.openbsd.org: src

From: Brad Smith (bradcvs.openbsd.org)
Date: Tue Oct 02 2007 - 02:22:18 CDT


CVSROOT: /cvs
Module name: src
Changes by: bradcvs.openbsd.org 2007/10/02 01:22:18

Modified files:
        sys/dev/pci : if_vr.c

Log message:
In vr_attach() only touch the VR_STICKHW register if the adapter
is found to have PCI power management capability. It has been
found that unconditionally touching this register with the original
VIA Rhine chipset, which does not have power management capability,
and due to the shorter width of the IO addess space, it is possible
for the vr(4) driver to do bad things with hw with IO address space
adjacent to a vr(4) adapter.

Tested by a few users, brad and jmc.

ok dlg