Date: Thu, 9 Sep 2010 13:17:30 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ata ata-all.h ata-lowlevel.c src/sys/dev/ata/chipsets ata-serverworks.c Message-ID: <201009091317.o89DHojS078900@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
nwhitehorn 2010-09-09 13:17:30 UTC FreeBSD src repository Modified files: sys/dev/ata ata-all.h ata-lowlevel.c sys/dev/ata/chipsets ata-serverworks.c Log: SVN rev 212359 on 2010-09-09 13:17:30Z by nwhitehorn Fix a problem where device detection would work unreliably on Serverworks K2 SATA controllers. The chip's status register must be read first, and as a long, for other registers to be correctly updated after a command, and this includes the command sequence in device detection as well as the previously handled case after interrupts. While here, clean up some previous hacks related to this controller. Reported by: many Reviewed by: mav MFC after: 3 weeks Revision Changes Path 1.157 +1 -0 src/sys/dev/ata/ata-all.h 1.89 +8 -2 src/sys/dev/ata/ata-lowlevel.c 1.16 +25 -18 src/sys/dev/ata/chipsets/ata-serverworks.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009091317.o89DHojS078900>