lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Mon, 31 May 2010 22:33:04 +0200
From:	Martin Homuth-Rosemann <homuth-rosemann@...ptomys.de>
To:	Greg Kroah-Hartman <gregkh@...e.de>
CC:	linux-kernel@...r.kernel.org
Subject: [PATCH] staging: comedi - correct parameter gainlkup for DAQCard-6024E
 in driver ni_mio_cs.c

From: Martin Homuth-Rosemann <homuth-rosemann@....net>

Correct at least one of the incorrect specs for a national instrument 
data acquisition card DAQCard-6024E. This card has only four different 
gain settings (+-10V, +-5V, +-0.5V, +-0.05V).
Signed-off-by: Martin Homuth-Rosemann <homuth-rosemann@....net>
---
--- linux-2.6.33/drivers/staging/comedi/drivers/ni_mio_cs.c.orig    
2010-02-24 19:52:17.000000000 +0100
+++ linux-2.6.33/drivers/staging/comedi/drivers/ni_mio_cs.c    
2010-05-27 12:26:22.000000000 +0200
@@ -121,11 +121,11 @@ static const struct ni_board_struct ni_b
       .name = "DAQCard-6024E",    /* specs incorrect! */
       .n_adchan = 16,
       .adbits = 12,
       .ai_fifo_depth = 1024,
       .alwaysdither = 0,
-     .gainlkup = ai_gain_16,
+     .gainlkup = ai_gain_4,
       .ai_speed = 5000,
       .n_aochan = 2,
       .aobits = 12,
       .ao_fifo_depth = 0,
       .ao_range_table = &range_bipolar10,


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ