• Hannes Reinecke's avatar
    [PATCH] Floppy: Add cmos attribute to floppy driver · 94fd0db7
    Hannes Reinecke authored
    Currently only a device 'fdX' shows up in sysfs; the other possible
    device for this drive (like fd0h1440 etc) must be guessed from there.
    
    This patch corrects the floppy driver to create a platform device for
    each floppy found; each platform device also has an attribute 'cmos'
    which represents the cmos type for this drive. From this attribute the
    other possible device types can be computed.
    
    From: Hannes Reinecke <hare@suse.de>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    94fd0db7
floppy.c 119 KB