[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49734FC6.9070500@garzik.org>
Date: Sun, 18 Jan 2009 10:50:30 -0500
From: Jeff Garzik <jeff@...zik.org>
To: Pavel Machek <pavel@...e.cz>
CC: Carsten Schlote <c.schlote@...zeptpark.de>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][ATA] Add ide-disk led-trigger to ATA subsystem
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists