On Fri, Nov 15, 2013 at 11:25:50PM +0100, Sebastian Benoit wrote: > Don't buy this one (yet). The Marvell 88SE9230 SATA does not work. > i know cause i have one ;-)
Hmm, looks like support was added in FreeBSD back in June 2012: http://lists.freebsd.org/pipermail/svn-src-stable-9/2012-June/002131.html so hopefully it wouldn't be to hard for somebody with the right skill set (unfortunately not me when it comes to low level drivers <sigh>) to tune it up for openbsd. Looking at the backstory behind that commit: http://forums.freebsd.org/showthread.php?t=32563 evidentally marvell doesn't follow the AHCI spec very well and the freebsd driver has workarounds for various quirks. Stupid marvell :(, too bad supermicro didn't use a better sata chip. Poking through the freebsd code, it looks like it has a workaround for "Marvell controllers do not wait for readyness" which appears to be adding in an extra delay when the controller is reset, and "Some weird controllers do not return signature in FIS receive area. Read it from PxSIG register.", which copies some results from a different location overwriting what was copied in from the standard location. Other than that, I don't see any other kludges, the rest is just the standard ahci stuff. I see the openbsd ahci driver is completely different than the freebsd one, so dunno how easily such workarounds could be implemented.

