sata_via: load DEVICE register when CTL changes
authorTejun Heo <tj@kernel.org>
Tue, 21 Oct 2008 15:45:57 +0000 (00:45 +0900)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 23 Oct 2008 00:42:47 +0000 (20:42 -0400)
commitb78152e9dbab6d6175e2adcbd8c62959e8f0f922
tree323680259a4b2a6515f30ee7bf2b167e4a9b9c59
parent816ab89782ac139a8b65147cca990822bb7e8675
sata_via: load DEVICE register when CTL changes

VIA controllers clear DEVICE register when IEN changes.  Make sure
DEVICE is updated along with CTL.

This change is separated from Joseph Chan's larger patch.

  http://thread.gmane.org/gmane.linux.kernel.commits.mm/40640

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Joseph Chan <JosephChan@via.com.tw>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_via.c