]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/commit
Merge r254306:
authorscottl <scottl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 15 Aug 2013 12:19:16 +0000 (12:19 +0000)
committerscottl <scottl@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 15 Aug 2013 12:19:16 +0000 (12:19 +0000)
commit92dfa299707d3e721646b29b3d337180bde4e5c0
treedec9fab3f4fb965192bf5d9f701866e71ec678f5
parent5a6baf411fd8d11a929c9f3795d6de06d0abeadb
 Merge r254306:

 Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI
 command register.  The lazy BAR allocation code in FreeBSD sometimes
 disables this bit when it detects a range conflict, and will re-enable
 it on demand when a driver allocates the BAR.  Thus, the bit is no longer
 a reliable indication of capability, and should not be checked.  This
 results in the elimination of a lot of code from drivers, and also gives
 the opportunity to simplify a lot of drivers to use a helper API to set
 the busmaster enable bit.

 This changes fixes some recent reports of disk controllers and their
 associated drives/enclosures disappearing during boot.

Submitted by: jhb
Reviewed by: jfv, marius, adrian, achim
Approved by: re

git-svn-id: svn://svn.freebsd.org/base/releng/9.2@254364 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
65 files changed:
sys/dev/aacraid/aacraid_pci.c
sys/dev/advansys/adw_pci.c
sys/dev/aic7xxx/ahc_pci.c
sys/dev/aic7xxx/ahd_pci.c
sys/dev/amr/amr_pci.c
sys/dev/an/if_an_pci.c
sys/dev/arcmsr/arcmsr.c
sys/dev/asr/asr.c
sys/dev/ata/ata-pci.c
sys/dev/bktr/bktr_os.c
sys/dev/buslogic/bt_pci.c
sys/dev/dpt/dpt_pci.c
sys/dev/e1000/if_em.c
sys/dev/e1000/if_igb.c
sys/dev/e1000/if_lem.c
sys/dev/fatm/if_fatm.c
sys/dev/firewire/fwohci_pci.c
sys/dev/fxp/if_fxp.c
sys/dev/hatm/if_hatm.c
sys/dev/ida/ida_pci.c
sys/dev/ips/ips_pci.c
sys/dev/isp/isp_pci.c
sys/dev/iwn/if_iwn.c
sys/dev/ixgb/if_ixgb.c
sys/dev/ixgbe/ixv.c
sys/dev/mfi/mfi_pci.c
sys/dev/mlx/mlx_pci.c
sys/dev/mly/mly.c
sys/dev/mn/if_mn.c
sys/dev/mps/mps_pci.c
sys/dev/mpt/mpt_pci.c
sys/dev/mwl/if_mwl_pci.c
sys/dev/mxge/if_mxge.c
sys/dev/pccbb/pccbb_pci.c
sys/dev/pst/pst-pci.c
sys/dev/rp/rp_pci.c
sys/dev/safe/safe.c
sys/dev/sound/pci/als4000.c
sys/dev/sound/pci/aureal.c
sys/dev/sound/pci/cmi.c
sys/dev/sound/pci/cs4281.c
sys/dev/sound/pci/csa.c
sys/dev/sound/pci/ds1.c
sys/dev/sound/pci/emu10k1.c
sys/dev/sound/pci/emu10kx.c
sys/dev/sound/pci/envy24.c
sys/dev/sound/pci/envy24ht.c
sys/dev/sound/pci/es137x.c
sys/dev/sound/pci/fm801.c
sys/dev/sound/pci/hdspe.c
sys/dev/sound/pci/maestro.c
sys/dev/sound/pci/maestro3.c
sys/dev/sound/pci/neomagic.c
sys/dev/sound/pci/solo.c
sys/dev/sound/pci/t4dwave.c
sys/dev/sound/pci/via82c686.c
sys/dev/sound/pci/vibes.c
sys/dev/stge/if_stge.c
sys/dev/sym/sym_hipd.c
sys/dev/tdfx/tdfx_pci.c
sys/dev/twa/tw_osl_freebsd.c
sys/dev/tws/tws.c
sys/dev/ubsec/ubsec.c
sys/dev/wi/if_wi_pci.c
sys/pci/ncr.c