From 683433f5b3ed22a377a3823ceebdeb971a63fc00 Mon Sep 17 00:00:00 2001 From: Ian Abbott Date: Wed, 1 Oct 2008 16:18:56 +0000 Subject: [PATCH] Patch from Anders Blomdell: pick first board when bus/slot unspecified. --- comedi/drivers/daqboard2000.c | 1 + 1 file changed, 1 insertion(+) diff --git a/comedi/drivers/daqboard2000.c b/comedi/drivers/daqboard2000.c index e7aefeef..ba5ff0bd 100644 --- a/comedi/drivers/daqboard2000.c +++ b/comedi/drivers/daqboard2000.c @@ -745,6 +745,7 @@ static int daqboard2000_attach(comedi_device * dev, comedi_devconfig * it) continue; } } + break; /* found one */ } if (!card) { if (bus || slot) -- 2.26.2