From patchwork Thu Mar 15 06:26:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ching Huang X-Patchwork-Id: 10283929 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C699460291 for ; Thu, 15 Mar 2018 06:26:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B913628865 for ; Thu, 15 Mar 2018 06:26:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ADDB928869; Thu, 15 Mar 2018 06:26:37 +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=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,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 5285E28865 for ; Thu, 15 Mar 2018 06:26:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751866AbeCOG00 (ORCPT ); Thu, 15 Mar 2018 02:26:26 -0400 Received: from mail-io0-f196.google.com ([209.85.223.196]:45769 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750722AbeCOG0Z (ORCPT ); Thu, 15 Mar 2018 02:26:25 -0400 Received: by mail-io0-f196.google.com with SMTP id m22so7203785iob.12 for ; Wed, 14 Mar 2018 23:26:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=areca-com-tw.20150623.gappssmtp.com; s=20150623; h=subject:from:to:cc:date:message-id:mime-version :content-transfer-encoding; bh=UAsOAmIBCQZCeh4oMsBAFTgEyaBpdGDuLW0+R0OF6Ys=; b=r4Es/fLIbQWVbhYQI2u1lib9tcCzVlEjBLqMSRnHIjAUdYvZw3vI2lbivIoRXgYqAt DKdXDRx4qeA9iFqeGwzxcQh1JbS9fyv6KUDLbFWbsK5c6ODGonZV8UOOdX8dOwhF9Fxs /YPyCPMSzKPpc/x3mUwIW3EXMtu2fp88EVYbORgMGZLkFVr3bDTuQmHlkIBbzFMuUV9x zTgAJS7utKEYJLOMd8SZGufui2eYWRcIVD/TleetYbRokspINH71q/mWVoU/cc6141I3 71asvsIYALNDHH2U2m+zFy3w6lUOCDT9Bp6P8XJAxE396JdvFMgomFEhShsC04gWnSoX w/wA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:date:message-id:mime-version :content-transfer-encoding; bh=UAsOAmIBCQZCeh4oMsBAFTgEyaBpdGDuLW0+R0OF6Ys=; b=ComD6nesW/ppQJK+X2oxp8FW0ixYWlBsU31hMlFXatO69Gv3G4kYAn5H1fgwwvZkqJ bZoSVZOnzEwluM/y3HJVUjDqMtBXqOXAd30J3ry5Nphdqo5BSPQzfSdMkcgYlWq9cPnP WbuRcYkJh8gqXsAzDAIhpkxTU7j93T4zZ1eTEqrNtbvgKbC5PwLgKXRNi3imVPS03dKH 8zH07hFNJ1LJ+P7Jt5rQlaGzqzhpVaAvHvOu1V4n1qI6jR0p4HoL+8W9iUcGxNatrAR3 9IvRILi75WQvMcA3EZiOxeIPpODl4z8qknUT3kCk8c5mCeT0B+wdgvQjWQmhgw5sxJAV Kg2A== X-Gm-Message-State: AElRT7HnoFN3mjztybOAYGjKU07sfQD+ttZTrdPCwP08fx3PYZtqBKdR o17V4PcBE2GJB755yQhqQvXuJg== X-Google-Smtp-Source: AG47ELu1wmfWgcbVtSDXl1dN3NXAV8RTU/az4v0qd9mDxD4JxPxMbBJYXUQbNYcsdhMRVOgedJAYkQ== X-Received: by 10.107.162.135 with SMTP id l129mr7674414ioe.158.1521095184542; Wed, 14 Mar 2018 23:26:24 -0700 (PDT) Received: from [192.168.0.124] (60-248-88-209.HINET-IP.hinet.net. [60.248.88.209]) by smtp.gmail.com with ESMTPSA id o189sm629591iof.87.2018.03.14.23.26.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Mar 2018 23:26:23 -0700 (PDT) Subject: [PATCH 1/4] scsi: arcmsr: Rename ACB_F_BUS_HANG_ON to ACB_F_ADAPTER_REMOVED for adapter hot-plug From: Ching Huang To: martin.petersen@oracle.com, James.Bottomley@HansenPartnership.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Cc: dan.carpenter@oracle.com, hch@infradead.org, colin.king@canonical.com Date: Thu, 15 Mar 2018 14:26:15 +0800 Message-ID: <1521095175.31371.26.camel@Centos6.3-64> Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 (2.32.3-37.el6) 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 From: Ching Huang Rename ACB_F_BUS_HANG_ON to ACB_F_ADAPTER_REMOVED for adapter hot-plug. Signed-off-by: Ching Huang diff --git a/drivers/scsi/arcmsr/arcmsr.h b/drivers/scsi/arcmsr/arcmsr.h index f375f35..842b77a 100755 --- a/drivers/scsi/arcmsr/arcmsr.h +++ b/drivers/scsi/arcmsr/arcmsr.h @@ -779,12 +779,12 @@ struct AdapterControlBlock /* message clear rqbuffer */ #define ACB_F_MESSAGE_WQBUFFER_READED 0x0040 #define ACB_F_BUS_RESET 0x0080 -#define ACB_F_BUS_HANG_ON 0x0800/* need hardware reset bus */ #define ACB_F_IOP_INITED 0x0100 /* iop init */ #define ACB_F_ABORT 0x0200 #define ACB_F_FIRMWARE_TRAP 0x0400 +#define ACB_F_ADAPTER_REMOVED 0x0800 #define ACB_F_MSG_GET_CONFIG 0x1000 struct CommandControlBlock * pccb_pool[ARCMSR_MAX_FREECCB_NUM]; /* used for memory free */