summaryrefslogtreecommitdiffstats
path: root/isys/probe.h
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2001-03-14 18:24:06 +0000
committerErik Troan <ewt@redhat.com>2001-03-14 18:24:06 +0000
commitf1881c05f2fb5ef726e2f29439bc75c37ffcb924 (patch)
treef7d7d07ed2e645cb83190ec3bc8e7a3cc6dce9cd /isys/probe.h
parent2dae3cac7cbdf590141f4ec915e60669d3b54c07 (diff)
downloadanaconda-f1881c05f2fb5ef726e2f29439bc75c37ffcb924.tar.gz
anaconda-f1881c05f2fb5ef726e2f29439bc75c37ffcb924.tar.xz
anaconda-f1881c05f2fb5ef726e2f29439bc75c37ffcb924.zip
added magic to work around promise raid controllers
Diffstat (limited to 'isys/probe.h')
-rw-r--r--isys/probe.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/isys/probe.h b/isys/probe.h
index ea14b5d94..90a4ee4c0 100644
--- a/isys/probe.h
+++ b/isys/probe.h
@@ -16,9 +16,15 @@ struct knownDevices {
int numKnownAlloced;
};
+/* 0 if the device should be filtered from the list, 1 if it should be
+ included */
+typedef int (*kdFilterType)(const struct kddevice * dev);
+
struct knownDevices kdInit(void);
int kdFindNetList(struct knownDevices * devices, int code);
int kdFindIdeList(struct knownDevices * devices, int code);
+int kdFindFilteredIdeList(struct knownDevices * devices, int code,
+ kdFilterType filter);
int kdFindScsiList(struct knownDevices * devices, int code);
void kdFree(struct knownDevices * devices);
void kdAddDevice(struct knownDevices * devices, enum deviceClass devClass,