From patchwork Fri Oct 12 07:15:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hannes Reinecke X-Patchwork-Id: 10637993 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 46828933 for ; Fri, 12 Oct 2018 07:16:04 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 321F228AAF for ; Fri, 12 Oct 2018 07:16:04 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 25FA82BE64; Fri, 12 Oct 2018 07:16:04 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C2A1028AAF for ; Fri, 12 Oct 2018 07:16:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727013AbeJLOrF (ORCPT ); Fri, 12 Oct 2018 10:47:05 -0400 Received: from mx2.suse.de ([195.135.220.15]:40950 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726485AbeJLOrF (ORCPT ); Fri, 12 Oct 2018 10:47:05 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 54CB7AF6D; Fri, 12 Oct 2018 07:16:00 +0000 (UTC) From: Hannes Reinecke To: Jens Axboe Cc: "Martin K. Petersen" , Christoph Hellwig , James Bottomley , linux-scsi@vger.kernel.org, linux-block@vger.kernel.org, Hannes Reinecke Subject: [PATCHv5 0/3] Deprecate DAC960 driver Date: Fri, 12 Oct 2018 09:15:45 +0200 Message-Id: <20181012071548.129113-1-hare@suse.de> X-Mailer: git-send-email 2.12.3 Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi all, as we're trying to get rid of the remaining request_fn drivers here's a patchset to move the DAC960 driver to the SCSI stack. As per request from hch I've split up the driver into two new SCSI drivers called 'myrb' and 'myrs'. The 'myrb' driver only supports the earlier (V1) firmware interface, which doesn't have a SCSI interface for the logical drives; for those I've added a (pretty rudimentary, admittedly) SCSI translation for them. The 'myrs' driver supports the newer (V2) firmware interface, which is SCSI based and doesn't need the translation layer. And the weird proc interface from DAC960 has been converted to sysfs attributes. Tested with eXtremeRAID 1100 (for V1 Firmware) and Mylex AcceleRAID 170 (for V2 Firmware). Changes to v4: - checkpatch fixes - Remove remaining camel case naming - Include reviews from Christoph - More codingstyle fixes Changes to v3: - Rename structures to match the general codingstyle - Replace typedefs Changes to v2: - Move to dma_pool API - Fixup 0-day build issues - Add myrb_biosparam - Dropped patch merged with upstream Changes to v1: - Split into two drivers - Improve scanning for V1 firmware interface Hannes Reinecke (3): myrb: Add Mylex RAID controller (block interface) myrs: Add Mylex RAID controller (SCSI interface) drivers/block: Remove DAC960 driver Documentation/blockdev/README.DAC960 | 756 ---- MAINTAINERS | 7 + drivers/block/DAC960.c | 7229 ---------------------------------- drivers/block/DAC960.h | 4414 --------------------- drivers/block/Kconfig | 12 - drivers/block/Makefile | 1 - drivers/scsi/Kconfig | 30 + drivers/scsi/Makefile | 2 + drivers/scsi/myrb.c | 3656 +++++++++++++++++ drivers/scsi/myrb.h | 958 +++++ drivers/scsi/myrs.c | 3267 +++++++++++++++ drivers/scsi/myrs.h | 1134 ++++++ include/linux/pci_ids.h | 2 + 13 files changed, 9056 insertions(+), 12412 deletions(-) delete mode 100644 Documentation/blockdev/README.DAC960 delete mode 100644 drivers/block/DAC960.c delete mode 100644 drivers/block/DAC960.h create mode 100644 drivers/scsi/myrb.c create mode 100644 drivers/scsi/myrb.h create mode 100644 drivers/scsi/myrs.c create mode 100644 drivers/scsi/myrs.h Reviewed-by: Christoph Hellwig