/dev/sda to ata_host

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Tue Aug 20 08:28:46 EDT 2013


On Tue, 20 Aug 2013 00:25:24 -0700, Com Developer said:
> I am doing some custom work and I am not interested in recompiling kernel with
> ahci and libata compiled separately.

That still doesn't actually explain what problem you're trying to solve
by finding the ata_host structure.  I suspect it's something along the
lines of "Once I have the ata_host structure, then I can XYZ in order
to ABC".  There's a very good chance that either (a) there's a better way
to XYZ already in-kernel, so there's no need to find the ata_host structure
first (and thus no easy way to do so), or (b) you probably should be doing DEF
instead of ABC.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 865 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130820/43492dd7/attachment.bin 


More information about the Kernelnewbies mailing list