]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] libata: propogate host private data from probe function
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Tue, 8 Nov 2005 14:09:44 +0000 (14:09 +0000)
committerJeff Garzik <jgarzik@pobox.com>
Fri, 11 Nov 2005 13:19:55 +0000 (08:19 -0500)
commitc237ee6a13976ac73a989db01d7d2a5729575b1d
tree749f7803380b81eb711acf5818b2c2db2bbc9cd2
parent886e269aa6b242afdc69df7d4a6db872ab4957b4
[PATCH] libata: propogate host private data from probe function

This will let me chop the code size of several drivers right down. In
many cases the actual private data is very useful and constant for a
given host controller so being able to just pass it at probe time would
be very useful indeed (eg with the via driver would could pass the udma
clocking and reduce the code size, or with the AMD one the UDMA
multiplier and the offset)

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-core.c
include/linux/libata.h