K 10 svn:author V 3 mav K 8 svn:date V 27 2013-07-08T17:20:05.046563Z K 7 svn:log V 452 MFC r252203: 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. END