Date: Fri, 22 Jul 2011 16:37:04 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ata ata-pci.c ata-pci.h src/sys/dev/ata/chipsets ata-acard.c ata-acerlabs.c ata-intel.c ata-promise.c Message-ID: <201107221637.p6MGbQhg097490@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mav 2011-07-22 16:37:04 UTC
FreeBSD src repository
Modified files:
sys/dev/ata ata-pci.c ata-pci.h
sys/dev/ata/chipsets ata-acard.c ata-acerlabs.c ata-intel.c
ata-promise.c
Log:
SVN rev 224270 on 2011-07-22 16:37:04Z by mav
- Use mutex to serialize index/data register pair usage, when
accessing SATA registers. Unserialized access under heavy load caused
wrong speed reporting and potentially could cause device loss.
- To free memory and other resources (including above), allocated
during chipinit() method call on attach, add new chipdeinit() method,
called during driver detach.
Submitted by: Andrew Boyer <aboyer@averesystems.com> (initial version)
Approved by: re (kib)
MFC after: 1 week
Revision Changes Path
1.155 +3 -3 src/sys/dev/ata/ata-pci.c
1.128 +3 -0 src/sys/dev/ata/ata-pci.h
1.7 +18 -1 src/sys/dev/ata/chipsets/ata-acard.c
1.16 +24 -1 src/sys/dev/ata/chipsets/ata-acerlabs.c
1.29 +45 -7 src/sys/dev/ata/chipsets/ata-intel.c
1.23 +1 -1 src/sys/dev/ata/chipsets/ata-promise.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107221637.p6MGbQhg097490>
