Ian Abbott 00ca688418 staging: comedi: add 'ioenabled' flag to device
Add 1-bit bit-field member `ioenabled` of type `bool` to `struct
comedi_device`.  Use this to keep track of whether a PCI device and its
BARs have been successfully enabled by `comedi_pci_enable()`.  This
avoids overloading the meaning of the `iobase` member which is used by
several drivers to hold the base port I/O address of a board's "main"
registers.  Other drivers using MMIO use `iobase` as a flag to indicate
that the preceding call to `comedi_pci_enable()` was successful.  They
no longer need to do that.

The name `ioenabled` is intended to be PCI-agnostic so it can be used
for similar purposes by non-PCI drivers.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-03-15 09:16:31 -07:00
..
2013-02-21 15:27:22 -08:00
2013-02-27 19:10:15 -08:00
2013-02-27 19:10:15 -08:00
2013-02-27 19:10:15 -08:00
2013-03-01 13:39:00 -08:00
2013-02-21 12:11:44 -08:00
2013-03-01 22:45:52 +00:00
2013-02-28 20:00:40 -08:00
2013-02-27 19:10:17 -08:00
2013-03-02 08:31:39 -08:00
2013-03-02 16:33:54 -08:00
2013-02-21 15:38:49 -08:00
2013-02-27 19:10:18 -08:00
2013-02-26 09:34:29 -08:00
2013-02-27 19:10:18 -08:00
2013-02-28 09:37:12 +01:00
2013-03-02 11:42:16 -08:00
2013-02-21 15:27:22 -08:00
2013-02-27 19:10:19 -08:00
2013-03-03 10:24:57 -08:00
2013-02-27 19:10:19 -08:00
2013-02-28 19:59:34 -08:00
2013-03-03 14:22:53 -08:00
2013-02-22 23:31:31 -05:00
2013-02-21 13:57:13 -08:00