linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Per ATA host sysfs attributes?
@ 2009-03-10 20:12 Mark Lord
  2009-03-10 23:07 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Lord @ 2009-03-10 20:12 UTC (permalink / raw)
  To: IDE/ATA development list, Tejun Heo, Jeff Garzik, Alan Cox

Guys,

I have added IRQ coalescing to sata_mv, but need a way to activate/tune it.
There are two simple parameters:  an IRQ count threshold, and a time threshold.

Whenever either the count or the time threshold is exceeded,
the chip will generate an interrupt (assuming at least one completed event).

These two parameters are per-chip (actually, per group of four ports within the chip).
How can I export these for setting/query withing sysfs ?

It is all rather easy to create per-SCSI-host attrs in sysfs,
but I don't see any obvious way to do it per-chip. 

Suggestions?

For now, I'm doing it with a module parameter,
but that's really rather stone-age in the sysfs era.

Thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-10 23:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-10 20:12 Per ATA host sysfs attributes? Mark Lord
2009-03-10 23:07 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).