diff options
author | Mikael Pettersson <mikpe@it.uu.se> | 2007-02-25 19:51:15 +0300 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-25 23:41:40 +0300 |
commit | 098cdff3d40286f87062c17cd07e98ca7ad94184 (patch) | |
tree | 5507d29e76b66c6a5f06835777df7267fbaa38a7 /include | |
parent | 540477b4d93f5b49f9e9ce3ae2437071103a0f8e (diff) | |
download | linux-098cdff3d40286f87062c17cd07e98ca7ad94184.tar.xz |
sata_promise: simplify port setup
Each place in pdc_ata_init_one() that initialises a SATA
port first calls pdc_ata_setup_port(), and then manually
assigns the port's ->scr_addr. Simplify the code by extending
pdc_ata_setup_port() to also handle scr_addr initialisation;
for PATA ports we pass NULL as scr_addr.
The initialisation of the PATA-only 20619 redundantly set
up scr_addr for the ports. Remove this.
Tested on 20619, 20575, and 20775 chips.
Signed-off-by: Mikael Pettersson <mikpe@it.uu.se>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions