[lkml]   [2009]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] libata: Export AHCI capabilities
On Fri, Jul 17, 2009 at 10:49:15PM -0600, Robert Hancock wrote:

> Surely there's a better format for exporting this information to
> userspace than making it parse out the bits from the raw register
> contents.. how about separate sysfs files for ESP, HPCP, etc? Or
> something more abstracted at a higher level that other drivers (if they
> have access to similar information) could use?

I could split out more of the information, but there's a balance between
exposing enough that we won't need to add more values in the near future
and ending up with one sysfs file for pretty much every capabilities
bit. I'm not aware of any cases where we can currently generalise this
to other controllers, but I'm happy to be proven wrong on that.

Matthew Garrett |

 \ /
  Last update: 2009-07-18 07:05    [W:0.070 / U:0.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site