pata_sis: extract a sis_port_base() method
authorDan McGee <dpmcgee@gmail.com>
Wed, 7 Sep 2011 16:23:18 +0000 (11:23 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 8 Oct 2011 04:07:15 +0000 (00:07 -0400)
This is similar to the existing sis_old_port_base() method. We do this
same calculation and logic in multiple places (with one more to come in
a future patch), so extracting it into a method makes sense.

Reviewed-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Dan McGee <dpmcgee@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

No differences found