]> bbs.cooldavid.org Git - net-next-2.6.git/commit
sata_promise: TX2plus PATA support
authorMikael Pettersson <mikpe@it.uu.se>
Tue, 9 Jan 2007 09:50:27 +0000 (10:50 +0100)
committerJeff Garzik <jeff@garzik.org>
Fri, 9 Feb 2007 22:39:29 +0000 (17:39 -0500)
commit870ae337d568e8633ec30ca6f6afb7b58a558ba3
treee846c14922310b6a30b491bdc07cf3810376eeb1
parent7a44e910f43cbb5186e7242f4c32b3a5d2fb6666
sata_promise: TX2plus PATA support

This patch implements a simple way of setting up per-port
flags on the SATA+PATA Promise TX2plus chips, which is a
prerequisite for supporting the PATA port on those chips.

It is based on the observation that ap->flags isn't really
used until after ->port_start() has been invoked. So it
places the "exceptional" per-port flags array in the driver's
private host structure, and uses it in ->port_start() to
finalise the port's flags.

This patch obsoletes the #promise-sata-pata branch included
in the #all branch.

Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_promise.c