EXPORT_SYMBOL_GPL(ata_pio_sectors) ?
Tejun / Jeff,
Any objections if I EXPORT ata_pio_sectors() for use from sata_mv.c ? The code there is complex enough that I'd rather not duplicate it.
It will be needed for an errata workaround that's being worked on, and I'll post a patch for it along with the errata patch once it is ready.
Thanks
Quoted 8 lines · Mark Lord
Tejun / Jeff,
Any objections if I EXPORT
ata_pio_sectors()for use fromsata_mv.c? The code there is complex enough that I'd rather not duplicate it.It will be needed for an errata workaround that's being worked on, and I'll post a patch for it along with the errata patch once it is ready.
That's fine...
Quoted 4 lines · Jeff Garzik
Quoted 3 lines · Mark Lord
Tejun / Jeff,
Any objections if I EXPORT
ata_pio_sectors()for use fromsata_mv.c?
..
Quoted 1 line
That's fine...
..
Well, it turns out that EXPORTing ata_pio_queue_task() was even more useful. Patches are now awaiting your queue for 2.6.30.
No sata_mv target mode yet, but it's coming soon.
It appears that the GEN_IIE chips can be used to implement a pretty decent SATA protocol tracer/analyzer too..
Cheers