freebsd-dev/sys/dev/twa
Scott Long c68534f1d5 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, achadd, achim
MFC after:	1 day
2013-08-12 23:30:01 +00:00
..
tw_cl_externs.h
tw_cl_fwif.h
tw_cl_init.c
tw_cl_intr.c
tw_cl_io.c
tw_cl_ioctl.h
tw_cl_misc.c Give tw_osl_dbg_printf format string to pacify clang warning. 2012-11-09 15:29:52 +00:00
tw_cl_share.h
tw_cl.h
tw_osl_cam.c MFprojects/camlock r248982: 2013-04-14 09:55:48 +00:00
tw_osl_externs.h
tw_osl_freebsd.c Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI 2013-08-12 23:30:01 +00:00
tw_osl_includes.h
tw_osl_inline.h
tw_osl_ioctl.h
tw_osl_share.h
tw_osl_types.h
tw_osl.h Reform the busdma API so that new types may be added without modifying 2013-02-12 16:57:20 +00:00