diff options
| author | H Hartley Sweeten <hsweeten@visionengravers.com> | 2014-03-11 10:03:31 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-03-17 12:38:53 -0700 |
| commit | 7211806a7c8a1066aae7b0ddd200af7f071c3166 (patch) | |
| tree | b1c47863de2bd8dd82049a9eba9f488cb1dae660 /tools/perf/scripts/python/netdev-times.py | |
| parent | 16a86abea711d9ea5893cd60a6cd608393f9698c (diff) | |
staging: comedi: jr3_pci: introduce boardinfo for the supported boards
Create an enum for the boards supported by this driver and pass that enum in
the pci_driver id_table as the driver_data.
Introduce a boardinfo struct to hold the board specific data for the boards
supported by this driver. Use the boardinfo when attaching to the driver
instead of using the pcidev->device and the switch.
Since the PCI device ids are now only used in the id_table, remove the
defines and open code the device ids.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions
