Split the "amplc_dio200" driver into separate drivers for ISA boards and PCI boards. The original "amplc_dio200" module is split into 3 modules: amplc_dio200: this now only handles ISA boards. The old name is retained to hopefully not break scripts that modprobe the module. amplc_dio200_pci: this handles PCI and PCIe boards. Most systems will auto-load it. amplc_dio200_common: this holds the common code for the two driver modules. 01) staging: comedi: amplc_dio200: split dio200_boards[] into ISA & PCI 02) staging: comedi: amplc_dio200: don't check bus type in attach 03) staging: comedi: amplc_dio200: Simplify PCI board look-up 04) staging: comedi: amplc_dio200: embed board layout in board structure 05) staging: comedi: amplc_dio200: shrink struct dio200_subdev_intr 06) staging: comedi: amplc_dio200: dio200_common_attach() return 0 07) staging: comedi: amplc_dio200: set board_name before common attach 08) staging: comedi: amplc_dio200: remove DIO200_DRIVER_NAME 09) staging: comedi: amplc_dio200: remove dio200_report_attach() 10) staging: comedi: amplc_dio200: don't check bus-type in dio200_common_attach() 11) staging: comedi: amplc_dio200: refactor dio200_handle_read_intr() 12) staging: comedi: amplc_dio200: split into ISA, PCI and common drivers/staging/comedi/drivers/Makefile | 4 +- drivers/staging/comedi/drivers/amplc_dio200.c | 1961 ++------------------ drivers/staging/comedi/drivers/amplc_dio200.h | 95 + .../staging/comedi/drivers/amplc_dio200_common.c | 1320 +++++++++++++ drivers/staging/comedi/drivers/amplc_dio200_pci.c | 492 +++++ 5 files changed, 2017 insertions(+), 1855 deletions(-) _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel