]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r325383:
authordelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 20 Nov 2017 06:49:05 +0000 (06:49 +0000)
committerdelphij <delphij@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 20 Nov 2017 06:49:05 +0000 (06:49 +0000)
commitf659b7f4892371dee86b0936d5fe9c0bb8227941
treee53e29a94049cc415571c97e69608e1d32374e68
parent4a542ad1f583d1175d504c155f72e9d6ca6dbba1
MFC r325383:

Avoid calling get_controller_count() until attaching, this would avoid
costly PCI config space operations that slows down systems without the
hardware.

Many thanks to HighPoint for continued support of FreeBSD!

Submitted by: Steve Chang
Reported by: cperciva

git-svn-id: svn://svn.freebsd.org/base/stable/10@326006 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/hpt27xx/hpt27xx_config.c
sys/dev/hpt27xx/hpt27xx_osm_bsd.c
sys/dev/hptnr/hptnr_config.c
sys/dev/hptnr/hptnr_osm_bsd.c