[PATCH 00/12] staging: comedi: amplc_pc236: remove legacy PCI attach and tidy up

From: Ian Abbott
Date: Fri Jul 25 2014 - 05:08:55 EST


The "amplc_pc236" driver supports both ISA cards (Amplicon PC36AT) and PCI
cards (PCI236). I plan to split it into separate drivers with a module for
common code, but let's reorganise it a bit first.

The driver still supports manual attachment of PCI devices via the
`COMEDI_DEVCONFIG` ioctl and the comedi driver `attach` hook. That can go,
though the attach hook is still needed for ISA devices.

01) staging: comedi: amplc_pc236: reformat header comments
02) staging: comedi: amplc_pc236: remove some boilerplate comments
03) staging: comedi: amplc_pc236: remove manual configuration of PCI boards
04) staging: comedi: amplc_pc236: no need to manipulate PCI ref count
05) staging: comedi: amplc_pc236: no need to set hw_dev
06) staging: comedi: amplc_pc236: absorb pc236_pci_common_attach()
07) staging: comedi: amplc_pc236: remove 'model' member
08) staging: comedi: amplc_pc236: split pc236_boards[] into ISA & PCI
09) staging: comedi: amplc_pc236: don't check bus type in attach
10) staging: comedi: amplc_pc236: Simplify PCI board look-up
11) staging: comedi: amplc_pc236: remove PCI device ID macros
12) staging: comedi: amplc_pc236: set board_name before common attach

drivers/staging/comedi/drivers/amplc_pc236.c | 282 +++++++--------------------
1 file changed, 74 insertions(+), 208 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/