[Patch] debian-installer/tools/ddetect/cddetect.c
Hi,
another patch. In this patch, I have disabled isa_detect because for the
moment, discover doesn't support it.
Here is the patch :
Index: cddetect.c
===================================================================
RCS file: /cvs/debian-boot/debian-installer/tools/ddetect/cddetect.c,v
retrieving revision 1.2
diff -u -r1.2 cddetect.c
--- cddetect.c 2000/11/30 04:04:34 1.2
+++ cddetect.c 2002/05/03 15:04:42
@@ -6,10 +6,10 @@
#include <stdio.h>
-#include <detect.h>
+#include <discover.h>
#include <unistd.h>
-#include "cddetect.h"
+/* #include "cddetect.h" */
#include "ddetect.h"
int
@@ -17,22 +17,26 @@
{
struct bus_lst bus = { 0 };
struct cdrom_info *cdrom = (struct cdrom_info *) NULL;
- int i = 0;
+/* int i = 0; */
ddetect_getopts (argc, argv);
sync ();
+ /* libdiscover doesn't support isa_lst */
+ /*
while (lst[i].vendor)
{
lst[i].next = &lst[++i];
}
lst[i - 1].next = NULL;
-
+ */
bus.ide = ide_detect ();
bus.scsi = scsi_detect ();
- if (!passive_detection)
+ /*
+ if (!passive_detection)
bus.isa = isa_detect (lst);
+ */
if (((cdrom = cdrom_detect (&bus)) != NULL) && (debug == 1))
=======
Thanks.
--
Thomas Poindessous
thomas@poindessous.com
--
To UNSUBSCRIBE, email to debian-boot-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: