aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/auxdisplay/cfag12864bfb.c
diff options
context:
space:
mode:
authorMikael Pettersson <mikpe@it.uu.se>2007-02-25 11:51:15 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-25 15:41:40 -0500
commit098cdff3d40286f87062c17cd07e98ca7ad94184 (patch)
tree5507d29e76b66c6a5f06835777df7267fbaa38a7 /drivers/auxdisplay/cfag12864bfb.c
parent540477b4d93f5b49f9e9ce3ae2437071103a0f8e (diff)
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 'drivers/auxdisplay/cfag12864bfb.c')
0 files changed, 0 insertions, 0 deletions