From fb072b8c1cacba318db7fe70f99463e55c617cce Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 22 Sep 2005 19:59:02 +0000 Subject: don't probe for uninteresting devices. speeds things up (floppy probe is slow) --- src/kmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kmodule.c b/src/kmodule.c index 138c481f..01db7666 100644 --- a/src/kmodule.c +++ b/src/kmodule.c @@ -97,7 +97,7 @@ int main(int argc, char **argv) char *bus = NULL, *class = NULL; int x, rc, isdaemon = 0; enum deviceBus probeBus = BUS_UNSPEC & ~BUS_SERIAL; - enum deviceClass probeClass = CLASS_UNSPEC; + enum deviceClass probeClass = CLASS_UNSPEC & ~CLASS_FLOPPY & ~CLASS_HD & ~CLASS_CDROM; poptContext context; struct device **devs; struct poptOption options[] = { -- cgit v1.2.1