Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp2033489ybf; Mon, 2 Mar 2020 00:21:19 -0800 (PST) X-Google-Smtp-Source: APXvYqyJGkOAsxg7YSrb/UD9PNoLhIciTzzZvjpIl+QqWRagmv/3m3od7N5MIfKWI3TM2khvKP3c X-Received: by 2002:a05:6830:154c:: with SMTP id l12mr12335817otp.275.1583137279134; Mon, 02 Mar 2020 00:21:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1583137279; cv=none; d=google.com; s=arc-20160816; b=S/m34QxKVU1RpSWc+K9KWEGcyx6qiPd5Qc2rVZBBZ/bRxbgmHG36GlI7LjaSLZQ8qH m/J1lTEKsVtbd9knixkNl016YM2sqcd1b0zLQI6iwu8eui/H2KaA7qd8XFjXcgPl3L1K UYDQETqdS47hzeJEK7BilInHbrku2lpVYzTozIEjLpNqxGJWs6hqp1j8TCJY6sg6dcl8 uKYk2LZiFakzApSYiEm/vgFWpypR68ZeAYyo58PkL3l0yG9ZbbGY0+7dWt0fiABP6zJY WexFM+wLH935m8rKpSg17t/eNVnNcYgOjgR15FRrcpHr126UyinCYANx3ZceaGkwAiRz Az4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=BD3LFlhQCDQ9V37K7vDMWcn0nezRgBw6KFdIZy9kZlY=; b=nGVUfBVw6PYeJC4TDeoAdKV8bz9tQqFYderHBn/apm18Bx1OC/wS6UGHLlJHhd7ZAy VcBQdxZSm5juGNS30/ZLpiiQFJNuBhWfg9WarTRXKSmvb4Hgmpsvz9j3H6IWGd9Q71Or hlVNCC5PBnqUO5eLSxr5nxYUI03OUuQIcV9dkuCEl7r0yeePH9q3U3+drFnEU2zhE0am +nLQfJV93OlDh6ZRfe+cC8bbjTeUgV59Uzi9gR/luy1bwJjsWFrxA04Twjuo4D8rdjz+ VrGZxzc5avxOMuRaNDghawQUk64U6N1KQfqoEF0bolmdJKr7VACzbeWLO/Dpv24hKMEI gDrg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XVg1QNhi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w142si5969159oia.132.2020.03.02.00.21.07; Mon, 02 Mar 2020 00:21:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=XVg1QNhi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727930AbgCBIT0 (ORCPT + 99 others); Mon, 2 Mar 2020 03:19:26 -0500 Received: from mail.kernel.org ([198.145.29.99]:56672 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726960AbgCBIQT (ORCPT ); Mon, 2 Mar 2020 03:16:19 -0500 Received: from mail.kernel.org (ip5f5ad4e9.dynamic.kabel-deutschland.de [95.90.212.233]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E075E246B6; Mon, 2 Mar 2020 08:16:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1583136979; bh=XsQJ1i4+U1vKLIHBb0iuZxTTYKZjKKpjTdHYQ+ASJBg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=XVg1QNhic0ebfUl+Cdak06D/0msKDQp70nvO31BvDpJrDErWJFDUilsXQj/a733z1 h2+QUfPRMymErWgf02cxnvCO8bebZrH/ZR4qISSsd1Mp6M8RxCA63MF1pkJwyxAMoO XOXwrneVk96/e7J6n+iCdhfO0UX3hb8IpV5Fk7Nw= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1j8gFN-0003wr-1o; Mon, 02 Mar 2020 09:16:17 +0100 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , "James E.J. Bottomley" , linux-scsi@vger.kernel.org Subject: [PATCH 03/42] docs: scsi: convert 53c700.txt to ReST Date: Mon, 2 Mar 2020 09:15:36 +0100 Message-Id: X-Mailer: git-send-email 2.21.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Mauro Carvalho Chehab --- Documentation/scsi/{53c700.txt => 53c700.rst} | 61 +++++++++---------- Documentation/scsi/index.rst | 2 + MAINTAINERS | 2 +- 3 files changed, 33 insertions(+), 32 deletions(-) rename Documentation/scsi/{53c700.txt => 53c700.rst} (75%) diff --git a/Documentation/scsi/53c700.txt b/Documentation/scsi/53c700.rst similarity index 75% rename from Documentation/scsi/53c700.txt rename to Documentation/scsi/53c700.rst index e31aceb6df15..53a0e9f9c198 100644 --- a/Documentation/scsi/53c700.txt +++ b/Documentation/scsi/53c700.rst @@ -1,3 +1,9 @@ +.. SPDX-License-Identifier: GPL-2.0 + +======================= +The 53c700 Driver Notes +======================= + General Description =================== @@ -16,9 +22,9 @@ fill in to get the driver working. Compile Time Flags ================== -A compile time flag is: +A compile time flag is:: -CONFIG_53C700_LE_ON_BE + CONFIG_53C700_LE_ON_BE define if the chipset must be supported in little endian mode on a big endian architecture (used for the 700 on parisc). @@ -51,9 +57,11 @@ consistent with the best operation of the chip (although some choose to drive it off the CPU or bus clock rather than going to the expense of an extra clock chip). The best operation clock speeds are: -53c700 - 25MHz -53c700-66 - 50MHz -53c710 - 40Mhz +========= ===== +53c700 25MHz +53c700-66 50MHz +53c710 40Mhz +========= ===== Writing Your Glue Driver ======================== @@ -69,7 +77,7 @@ parameters that matter to you (see below), plumb the NCR_700_intr routine into the interrupt line and call NCR_700_detect with the host template and the new parameters as arguments. You should also call the relevant request_*_region function and place the register base -address into the `base' pointer of the host parameters. +address into the 'base' pointer of the host parameters. In the release routine, you must free the NCR_700_Host_Parameters that you allocated, call the corresponding release_*_region and free the @@ -78,7 +86,7 @@ interrupt. Handling Interrupts ------------------- -In general, you should just plumb the card's interrupt line in with +In general, you should just plumb the card's interrupt line in with request_irq(irq, NCR_700_intr, , , host); @@ -95,41 +103,32 @@ Settable NCR_700_Host_Parameters The following are a list of the user settable parameters: clock: (MANDATORY) - -Set to the clock speed of the chip in MHz. + Set to the clock speed of the chip in MHz. base: (MANDATORY) - -set to the base of the io or mem region for the register set. On 64 -bit architectures this is only 32 bits wide, so the registers must be -mapped into the low 32 bits of memory. + Set to the base of the io or mem region for the register set. On 64 + bit architectures this is only 32 bits wide, so the registers must be + mapped into the low 32 bits of memory. pci_dev: (OPTIONAL) - -set to the PCI board device. Leave NULL for a non-pci board. This is -used for the pci_alloc_consistent() and pci_map_*() functions. + Set to the PCI board device. Leave NULL for a non-pci board. This is + used for the pci_alloc_consistent() and pci_map_*() functions. dmode_extra: (OPTIONAL, 53c710 only) - -extra flags for the DMODE register. These are used to control bus -output pins on the 710. The settings should be a combination of -DMODE_FC1 and DMODE_FC2. What these pins actually do is entirely up -to the board designer. Usually it is safe to ignore this setting. + Extra flags for the DMODE register. These are used to control bus + output pins on the 710. The settings should be a combination of + DMODE_FC1 and DMODE_FC2. What these pins actually do is entirely up + to the board designer. Usually it is safe to ignore this setting. differential: (OPTIONAL) - -set to 1 if the chip drives a differential bus. + Set to 1 if the chip drives a differential bus. force_le_on_be: (OPTIONAL, only if CONFIG_53C700_LE_ON_BE is set) - -set to 1 if the chip is operating in little endian mode on a big -endian architecture. + Set to 1 if the chip is operating in little endian mode on a big + endian architecture. chip710: (OPTIONAL) - -set to 1 if the chip is a 53c710. + Set to 1 if the chip is a 53c710. burst_disable: (OPTIONAL, 53c710 only) - -disable 8 byte bursting for DMA transfers. - + Disable 8 byte bursting for DMA transfers. diff --git a/Documentation/scsi/index.rst b/Documentation/scsi/index.rst index 3ef7ad65372a..99efc77c3ac2 100644 --- a/Documentation/scsi/index.rst +++ b/Documentation/scsi/index.rst @@ -7,4 +7,6 @@ Linux SCSI Subsystem .. toctree:: :maxdepth: 1 + 53c700 + scsi_transport_srp/figures diff --git a/MAINTAINERS b/MAINTAINERS index 09b04505e7c3..1552db209e69 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9445,7 +9445,7 @@ LASI 53c700 driver for PARISC M: "James E.J. Bottomley" L: linux-scsi@vger.kernel.org S: Maintained -F: Documentation/scsi/53c700.txt +F: Documentation/scsi/53c700.rst F: drivers/scsi/53c700* LEAKING_ADDRESSES -- 2.21.1