diff options
author | Bill Nottingham <notting@redhat.com> | 2007-12-20 16:33:15 -0500 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2007-12-20 18:11:52 -0500 |
commit | ef42229f3b1fcaa7db257dfa968b08a77f9daf09 (patch) | |
tree | 21b718ee334ed0a9e5bc3bdcf92071c3777fdb18 /isys/eddsupport.c | |
parent | 2e6cb0d664b17c98ad6d2a6a094d99b65415be11 (diff) | |
download | anaconda-ef42229f3b1fcaa7db257dfa968b08a77f9daf09.tar.gz anaconda-ef42229f3b1fcaa7db257dfa968b08a77f9daf09.tar.xz anaconda-ef42229f3b1fcaa7db257dfa968b08a77f9daf09.zip |
Update EDD code for new probing code.
Diffstat (limited to 'isys/eddsupport.c')
-rw-r--r-- | isys/eddsupport.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/isys/eddsupport.c b/isys/eddsupport.c index 361da8dc8..ae974c565 100644 --- a/isys/eddsupport.c +++ b/isys/eddsupport.c @@ -36,14 +36,11 @@ #include <sys/types.h> #include <linux/types.h> -#include <kudzu/kudzu.h> - #include "eddsupport.h" +#include "devices.h" #include "isys.h" - - #define EDD_DIR "/sys/firmware/edd" #define SIG_FILE "mbr_signature" #define MBRSIG_OFFSET 0x1b8 @@ -104,7 +101,7 @@ int probeBiosDisks() { static struct device ** createDiskList(){ - return probeDevices (CLASS_HD, BUS_UNSPEC, PROBE_ALL); + return getDevices (DEVICE_DISK); } static int readDiskSig(char *device, uint32_t *disksig) { |