From patchwork Tue Oct 9 15:26:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hannes Reinecke X-Patchwork-Id: 10632875 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 B433B1867 for ; Tue, 9 Oct 2018 15:27:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A19A52888B for ; Tue, 9 Oct 2018 15:27:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 95DD328FA0; Tue, 9 Oct 2018 15:27:06 +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 3A92428F9E for ; Tue, 9 Oct 2018 15:27:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727141AbeJIWoc (ORCPT ); Tue, 9 Oct 2018 18:44:32 -0400 Received: from mx2.suse.de ([195.135.220.15]:45362 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726600AbeJIWob (ORCPT ); Tue, 9 Oct 2018 18:44:31 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 95E25AF4C; Tue, 9 Oct 2018 15:27:03 +0000 (UTC) From: Hannes Reinecke To: Jens Axboe Cc: "Martin K. Petersen" , James Bottomley , Christoph Hellwig , linux-block@vger.kernel.org, linux-scsi@vger.kernel.org, Hannes Reinecke Subject: [PATCHv4 0/3] Deprecate DAC960 driver Date: Tue, 9 Oct 2018 17:26:58 +0200 Message-Id: <20181009152701.5542-1-hare@suse.de> X-Mailer: git-send-email 2.16.4 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 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 ---- 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 | 3829 ++++++++++++++++++ drivers/scsi/myrb.h | 970 +++++ drivers/scsi/myrs.c | 3423 ++++++++++++++++ drivers/scsi/myrs.h | 1141 ++++++ include/linux/pci_ids.h | 2 + 12 files changed, 9397 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