History log of /drivers/staging/comedi/drivers/addi-data/addi_eeprom.c
Revision Date Author Comments
57517878df4e5769885e80aba895f4e69b1ddbe9 16-May-2011 Ian Abbott <abbotti@mev.co.uk> staging: comedi: addi-data: Don't overwrite read-only data

The drivers for ADDI-DATA cards can override some static parameters for
the board type using information read from EEPROM. Unfortunately, they
currently write the parameters from the EEPROM back to the shared,
read-only board data! The problem has been masked during compilation by
type-casting away the const-ness of the data.

This patch changes the code to use an area in the private data for the
board instance to hold the parameters read from EEPROM (after
initializing the parameters from the static board data). It also
changes the type-casts to the read-only data to preserve the const
qualifier.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
25417922694e60f04cd4dc8448ada9236f18c532 25-Sep-2010 Justin P. Mattock <justinmattock@gmail.com> staging: update web addresses in staging

The below patch, is a simple fix to a broken web address not using a period in it's
name.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
f69b0d6451679f1466381a46ac7ab671a7b5668c 12-Jul-2010 Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Staging: fix typos concerning "address"

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
56b8421ceef7f2dae95b882034ebf6958bad58f6 10-Jun-2010 Arun Thomas <arun.thomas@gmail.com> Staging: comedi: Remove typedefs

Remove all remaining typedefs from comedi drivers

Signed-off-by: Arun Thomas <arun.thomas@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
39cfb97b0d89a99c8e50782b17e65114b89c2e59 18-Dec-2009 Adam Buchbinder <adam.buchbinder@gmail.com> staging: Fix misspelling of "should" and "shouldn't" in comments.

Some comments misspell "should" or "shouldn't"; this fixes them. No code changes.

Signed-off-by: Adam Buchbinder <adam.buchbinder@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
ff89514f8d46f470ffafeda129138ce73efd4c60 23-Apr-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: move while to same line as } in do loops

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
814900c904140cfe7f3e48cabec06b3eec57e0ea 23-Apr-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: more fix "foo * bar" should be "foo *bar"

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
56e9e16619a0c14dc948cf88b3a7aaa70ac92b45 23-Apr-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: more remove C99 comments

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
dae0dc30be7fa21b15a9d9534589286c6c3e68a3 23-Apr-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove parens around return values

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
356cdbcb838ebcc234a43ec81621a39231fdcb7a 09-Apr-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: Comedi: change space indentation to tabs

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
53106ae68acf6eda9593150a25fc44e30fd5ff68 09-Apr-2009 Bill Pemberton <wfp5p@virginia.edu> Staging Comedi: fix spacing around parens

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
da91b2692e0939b307f9047192d2b9fe07793e7a 09-Apr-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: fix "foo * bar" should be "foo *bar"

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2696fb57e6af653dd8b4df41b16754579f42fc78 27-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove C99 comments

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
6a037d5f655fbf1853d28cd8a02ffe5c466d81a5 25-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove str_AnalogInputHeader typedef in addi-data/addi_eeprom.c

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
73b0d70aeb089bcfa131d8f14f547dcd933335d6 25-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove str_TimerMainHeader typedef in addi-data/addi_eeprom.c

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
cc0ea813f2f3027f43e7233add423be676dd8ff3 25-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove str_TimerDetails typedef in addi-data/addi_eeprom.c

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
d2e0cc9ae156b1b9d6143d6b1855e515c93a7997 25-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove str_DigitalOutputHeader typedef in addi-data/addi_eeprom.c

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
a28f34b7e9c41464bb70a3dfe849efe74084e45d 25-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove str_DigitalInputHeader typedef in addi-data/addi_eeprom.c

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
8881b568bf6665a6705daf2251ce40526ee4691d 25-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove str_MainHeader typedef in addi-data/addi_eeprom.c

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
756e9d7ca6292ba21a6a63bf35ed1abc5250b98d 25-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove DWORD and *PDWORD typedefs in addi-data

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
117102b0f6e0a9ab3ea4fa9fd89b7eb4a8888fb9 25-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove UINT and *PUINT typedefs in addi-data

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
74b894e56abcb2403894b268100773f4aabe1999 25-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove INT and *PINT typedefs in addi-data

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
babf0ede302697486a6633e72d051bbb8e31e2b2 25-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove WORD and *PWORD typedefs in addi-data

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
1783fbfe023b7c2b912fbb020e01ff46985aa0ab 25-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove BYTE and *PBYTE typedefs in addi-data

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
180027136b30d25f3824573e77c080056dc3e6d4 19-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove CHAR, *PCHAR, and *PCSTR typedefs in addi-data

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
3019b4106bf8c2658343a84361f4f1abb6280633 19-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove use of VOID typedef in addi-data

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
71b5f4f11971dea972832ad63a994c7e5b45db6b 17-Mar-2009 Bill Pemberton <wfp5p@virginia.edu> Staging: comedi: Remove comedi_device typedef

Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
c995fe9475e062bab6f5a45ed28cd2d3d955ef43 13-Feb-2009 ADDI-DATA GmbH <info@addi-data.com> Staging: comedi: add addi-data drivers

This adds the addi-data family of comedi drivers to the staging tree

From: ADDI-DATA GmbH <info@addi-data.com>
Cc: David Schleef <ds@schleef.org>
Cc: Frank Mori Hess <fmhess@users.sourceforge.net>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>