From: Hannes Reinecke Date: Fri, 15 Jul 2005 08:09:25 +0000 (+0200) Subject: [PATCH] Floppy: Add cmos attribute to floppy driver X-Git-Tag: v2.6.14-rc1~751^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94fd0db7bfb4a03da202fd426d4e8e7eab42ab86;p=pandora-kernel.git [PATCH] Floppy: Add cmos attribute to floppy driver 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed