Re: Exporting PCI ROMs via syfs

Valdis.Kletnieks_at_vt.edu
Date: 05/22/04

  • Next message: Andrew Morton: "Re: overlaping printk"
    To: Jon Smirl <jonsmirl@yahoo.com>
    Date:	Fri, 21 May 2004 19:38:31 -0400
    
    
    

    On Thu, 20 May 2004 18:05:10 PDT, Jon Smirl <jonsmirl@yahoo.com> said:
    > GregKH has suggested that a good interface for accessing the contents of PCI
    > ROMs from user space would be to make them available from sysfs. What would be a
    > good way to structure the code for doing this? Should this be part of the pci
    > driver, and how would this interface into class_simple to make the attribute
    > appear?

    Hmm... how do you make that fit with the "one file, one value" rule for sysfs?
    Have the "one value" be a nnnK binary blob representing the ROM image?

    
    

    -
    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/


    • application/pgp-signature attachment: stored

  • Next message: Andrew Morton: "Re: overlaping printk"

    Relevant Pages

    • Re: Exporting PCI ROMs via syfs
      ... > GregKH has suggested that a good interface for accessing the contents of PCI ... what about just the sysfs code for the pci device ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • 2.6.17-rc1-mm3: time-i386-clocksource-drivers*.patch broke userspace apps
      ... netconsole: remote port 6666 ... Enabling unmasked SIMD FPU exception support... ... ACPI: bus type pci registered ... Probing IDE interface ide0... ...
      (Linux-Kernel)
    • Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model
      ... but a kobject is still needed internally for the lifespan ... exactly - "internally" to the driver model (or drivers which ride ... To sysfs, it has no function other than being an opaque token. ... Removing kobject from the interface doesn't change anything about this. ...
      (Linux-Kernel)
    • Re: [PATCHSET 3/4] sysfs: divorce sysfs from kobject and driver model
      ... to jump through hoops to use sysfs. ... interface is straight forward proc-fs like interface and should be ... not want to allow the use of sysfs without creating a backing kobject ... driver model to allow entities outside of driver model to use sysfs, ...
      (Linux-Kernel)
    • Re: configfs/sysfs
      ... take a good stab at it (configfs is better than sysfs at this, ... I can't do an ioctl or a syscall from a shell script ... The maintainer of the subsystem should provide a library that talks to the binary interface and a CLI program that talks to the library. ...
      (Linux-Kernel)