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

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

 



---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux