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(-) _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel