Re: [PATCH][ATA] Add ide-disk led-trigger to ATA subsystem

From: Jeff Garzik
Date: Sun Jan 18 2009 - 10:50:47 EST


Pavel Machek wrote:
On Sat 2009-01-10 16:08:27, Carsten Schlote wrote:
void ata_sff_exec_command(struct ata_port *ap, const struct
ata_taskfile *tf)
{
+ ledtrig_ide_activity();
+
DPRINTK("ata%u: cmd 0x%X\n", ap->print_id, tf->command);
iowrite8(tf->command, ap->ioaddr.command_addr);


Is there a more generic place so that we won't have to modify all the
libata drivers?


One would think you could do this at the block layer...

Jeff



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/