Skip to content
  • Bernhard Walle's avatar
    add new_id to PCMCIA drivers · 6179b556
    Bernhard Walle authored
    
    
    PCI drivers have the new_id file in sysfs which allows new IDs to be added
    at runtime.  The advantage is to avoid re-compilation of a driver that
    works for a new device, but it's ID table doesn't contain the new device.
    This mechanism is only meant for testing, after the driver has been tested
    successfully, the ID should be added in source code so that new revisions
    of the kernel automatically detect the device.
    
    The implementation follows the PCI implementation. The interface is documented
    in Documentation/pcmcia/driver.txt. Computations should be done in userspace,
    so the sysfs string contains the raw structure members for matching.
    
    Signed-off-by: default avatarBernhard Walle <bwalle@suse.de>
    Cc: Dominik Brodowski <linux@dominikbrodowski.net>
    Cc: Greg KH <greg@kroah.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    6179b556