summaryrefslogtreecommitdiffstats
path: root/lib/libc/regex/regex2.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-06-25 09:15:49 +0000
committermav <mav@FreeBSD.org>2013-06-25 09:15:49 +0000
commit31c4611906c55be194f60bda629482a5257950d8 (patch)
tree8458ff41f01f7b51ec0f627672e20bb117e64585 /lib/libc/regex/regex2.h
parentcf77f1cdfb8d0de597efcb4e96147b99d921d1fc (diff)
downloadFreeBSD-src-31c4611906c55be194f60bda629482a5257950d8.zip
FreeBSD-src-31c4611906c55be194f60bda629482a5257950d8.tar.gz
Add test for SATA registers writability and skip using them if it failed.
There are some systems reported, where PCI BAR(5), used for SATA registers access, is present, but not functional. Attempt to use it brakes devices detection logic. Try to detect those cases on attach by setting and testing some bits in SControl register. If bits are unsettable, fallback to legacy ATA without hot-plug detection, speed control/reporting, etc. MFC after: 2 weeks
Diffstat (limited to 'lib/libc/regex/regex2.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud