diff options
author | Mike Fulbright <msf@redhat.com> | 2000-05-09 19:56:56 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2000-05-09 19:56:56 +0000 |
commit | 8f88fb5c95ae9e796976103b53e2b4a3be395d12 (patch) | |
tree | 9657b7f9441cf51d8b3aca440453deabe361151a /isys | |
parent | 5dc2f2f9fca021502c586d4cd84f4f9e627674bb (diff) | |
download | anaconda-8f88fb5c95ae9e796976103b53e2b4a3be395d12.tar.gz anaconda-8f88fb5c95ae9e796976103b53e2b4a3be395d12.tar.xz anaconda-8f88fb5c95ae9e796976103b53e2b4a3be395d12.zip |
add support for detecting IDE floppy type (zip,ls120) devices
Diffstat (limited to 'isys')
-rw-r--r-- | isys/isys.c | 1 | ||||
-rw-r--r-- | isys/probe.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/isys/isys.c b/isys/isys.c index efefca02e..6d304851f 100644 --- a/isys/isys.c +++ b/isys/isys.c @@ -864,6 +864,7 @@ static PyObject * probedListSubscript(probedListObject * o, int item) { case CLASS_MOUSE: case CLASS_MODEM: case CLASS_FLOPPY: + class = "floppy"; break; case CLASS_SCANNER: case CLASS_RAID: case CLASS_PRINTER: diff --git a/isys/probe.c b/isys/probe.c index b312b7a55..6b63896e4 100644 --- a/isys/probe.c +++ b/isys/probe.c @@ -139,6 +139,8 @@ int kdFindIdeList(struct knownDevices * devices, int code) { device.class = CLASS_CDROM; else if (!strcmp(path, "disk")) device.class = CLASS_HD; + else if (!strcmp(path, "floppy")) + device.class = CLASS_FLOPPY; if (device.class != CLASS_UNSPEC) { device.name = strdup(ent->d_name); |