lkml.org 
[lkml]   [2006]   [Jan]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: RFC: ipath ioctls and their replacements
    On Wed, Jan 18, 2006 at 04:43:31PM -0800, Bryan O'Sullivan wrote:
    > For EEPROM/flash management:
    >
    > READ_EEPROM reads the flash. WRITE_EEPROM writes it. I don't
    > see a standard way of doing this in the kernel; many drivers
    > provide their own private ioctls, some on dedicated special
    > files. I think that using read and write instead would be okay
    > (with a small qualm about semantics), but this idea makes an
    > influential coworker barf violently. I can't see how we could
    > use the ethtool flash interface: the low-level driver doesn't
    > look like a regular net device, and we support partial updates
    > of the flash.

    Use the firmware subsystem for this. It uses sysfs so ioctl needed at
    all.

    thanks,

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

    \
     
     \ /
      Last update: 2006-01-19 01:55    [W:0.039 / U:0.056 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site