[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[PATCH 2/3] Update EDD code for new probing code.



---
 isys/eddsupport.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diff --git a/isys/eddsupport.c b/isys/eddsupport.c
index 361da8d..ae974c5 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) {
-- 
1.5.3.7


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]