From ef42229f3b1fcaa7db257dfa968b08a77f9daf09 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 20 Dec 2007 16:33:15 -0500 Subject: Update EDD code for new probing code. --- isys/eddsupport.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'isys/eddsupport.c') 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 #include -#include - #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) { -- cgit