31 Jul, 2010

1 commit

  • PCI sysfs resource files currently only allow mmap'ing. On x86 this
    works fine for memory backed BARs, but doesn't work at all for I/O
    port backed BARs. Add read/write to I/O port PCI sysfs resource
    files to allow userspace access to these device regions.

    Acked-by: Chris Wright
    Signed-off-by: Alex Williamson
    Signed-off-by: Jesse Barnes

    Alex Williamson
     

13 Jun, 2009

1 commit


21 Mar, 2009

1 commit

  • This patch adds an attribute named "remove" to a PCI device's sysfs
    directory. Writing a non-zero value to this attribute will remove the PCI
    device and any children of it.

    Trent Piepho wrote the original implementation and documentation.

    Thanks to Vegard Nossum for testing under kmemcheck and finding locking
    issues with the sysfs interface.

    Cc: Trent Piepho
    Tested-by: Vegard Nossum
    Signed-off-by: Alex Chiang
    Signed-off-by: Jesse Barnes

    Alex Chiang
     

05 Feb, 2009

1 commit

  • This patch makes the ROM reading code return an error to user space if
    the size of the ROM read is equal to 0.

    The patch also emits a warnings if the contents of the ROM are invalid,
    and documents the effects of the "enable" file on ROM reading.

    Signed-off-by: Timothy S. Nelson
    Acked-by: Alex Villacis-Lasso
    Signed-off-by: Jesse Barnes

    Timothy S. Nelson
     

12 Jun, 2008

1 commit


18 Feb, 2007

1 commit


10 Jan, 2006

1 commit

  • idr gently pointed out today that not only is the sysfs rom file
    interface somewhat unintuitive (despite my efforts and initial
    implementation), but it's also undocumented! This patch to
    Documentation/filesystems/sysfs-pci.txt corrects the latter problem; the
    former is a userland ABI now though, so we're stuck with it for awhile
    at least.

    Signed-off-by: Jesse Barnes
    Signed-off-by: Greg Kroah-Hartman

    Jesse Barnes
     

18 May, 2005

1 commit

  • The driver model has a "detach_state" mechanism that:

    - Has never been used by any in-kernel drive;
    - Is superfluous, since driver remove() methods can do the same thing;
    - Became buggy when the suspend() parameter changed semantics and type;
    - Could self-deadlock when called from certain suspend contexts;
    - Is effectively wasted documentation, object code, and headspace.

    This removes that "detach_state" mechanism; net code shrink, as well
    as a per-device saving in the driver model and sysfs.

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     

17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds