Start cleaning up this driver by reworking the board attach to use the comedi PCI auto config mechanism and cleanup all the attach code. H Hartley Sweeten (20): staging: comedi: s626: remove boardinfo staging: comedi: s626: use attach_pci callback staging: comedi: s626: store the pci_dev in the comedi_device staging: comedi: s626: use dev->board_name for resource name staging: comedi: s626: remove unneeded local variable in attach_pci() staging: comedi: s626: remove 'got_regions' from private data staging: comedi: s626: cleanup ioremap() staging: comedi: s626: remove unnecessary checks of 'devpriv->base_addr' staging: comedi: s626: factor out the dma buffer allocation staging: comedi: s626: cleanup request_irq in s626_attach_pci() staging: comedi: s626: factor out the board init code staging: comedi: s626: remove unneeded clear of private data staging: comedi: s626: add final attach message staging: comedi: s626: remove 'allocatedBuf' from private data staging: comedi: s626: #if 0 out the "SAA7146 BUG WORKAROUND" staging: comedi: s626: remove 'IsBoardRevA' comment staging: comedi: s626: remove 'ChargeEnabled' from private data staging: comedi: s626: remove 'WDInterval' from private data staging: comedi: s626: remove clear of kzalloc'ed data staging: comedi: s626: cleanup comments in s626_initialize() drivers/staging/comedi/drivers/s626.c | 690 ++++++++++++++-------------------- drivers/staging/comedi/drivers/s626.h | 1 - 2 files changed, 283 insertions(+), 408 deletions(-) -- 1.7.11 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/devel