commit | 023a0175ad4beaa14b303e133963c971ad31c338 | [log] [tgz] |
---|---|---|
author | Dan McGee <dpmcgee@gmail.com> | Wed Sep 07 11:23:18 2011 -0500 |
committer | Jeff Garzik <jgarzik@redhat.com> | Sat Oct 08 00:07:15 2011 -0400 |
tree | b42523c36ddb185248632556270a4a1fbf9ec57c | |
parent | 904c04feaf13ed58790a34a0b11cd7b885b94b4b [diff] |
pata_sis: extract a sis_port_base() method 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>