Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp745562ybz; Fri, 1 May 2020 07:49:31 -0700 (PDT) X-Google-Smtp-Source: APiQypKytAYeE28aHC4dto1+BTcvtnYDdkdeFfR2rWcdhRDJPR/cTCPu/GstPpzDQhI2e8Ce205L X-Received: by 2002:a17:906:4ecb:: with SMTP id i11mr3435217ejv.79.1588344571840; Fri, 01 May 2020 07:49:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1588344571; cv=none; d=google.com; s=arc-20160816; b=gEZHGrNlp3ZKet1Y5evxwRxxjdunQxBNH4QRYXlzwR+adNz2GG6PhDTjTIrHxt78PX v4qoQzHngTTao9uzl+3IpvQG7iQMJm7VGi6P8mtpGnqUEbbdJ8WqLhLVbV/zTUkcnEAb Y3r3tyKhqnm+UC6xE6V+fP8+lXUP56OK4AE+UN6INMZk7vF6PSmWXYrR9TW2L8RwbRIQ RXnu9uOyC1t0ZPdvEWOfJKhxNsX/kuWsfHaVt4XPm53y69h9D7kQgPo+BXrNoi/1fEje DeBS/nH0Ge93RAD0Ke4bvOXFFKAN/vabZVMEPhFZ8sw8mYhTauAqbcbull8ER3AP7Cau hpFQ== 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=0Zm3MgFmD0Wi+d54V4aZhmvCRSJMm0J8x+3q5I/4/4E=; b=xoWgaQ52qH1XZbcVK6Br7E6txHls836hBS+frRIDBkbwSzvlKJvq+BV2wEvy8fSk4d RoqQdg4VAR7yT9p1fYgHCb65JLB/XQpWJkdnlFVWSECBtkNV+6UHQO13QxmlXJltAlth kk3eWoW53JSrrPd5n7qCaDbeFbmTMiNoXWjVI+vPHQcprPmnKqoexCOwbY0DbsHLuIeb Wmrs3z2PmazuC75u9PZ8wzrRJ7DNCghZkHdExTybb2kvfKg0SnoaKWVa6BCipSWti0LS tZb2cBzLE2NNrhQPhz+fDqebpLLVmrq97MlrEzC3Whq9duI/ifyCCzKIiDHzSlGcrGU+ BRxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BFGSpleW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id g26si1729881edu.55.2020.05.01.07.49.08; Fri, 01 May 2020 07:49:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=BFGSpleW; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1730189AbgEAOrE (ORCPT + 99 others); Fri, 1 May 2020 10:47:04 -0400 Received: from mail.kernel.org ([198.145.29.99]:52676 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729556AbgEAOpJ (ORCPT ); Fri, 1 May 2020 10:45:09 -0400 Received: from mail.kernel.org (ip5f5ad5c5.dynamic.kabel-deutschland.de [95.90.213.197]) (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 DCC592499C; Fri, 1 May 2020 14:45:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1588344307; bh=sOS2kIMOD03hQNs2x+NWyCYOuV8A+66xLSrlH1J7Uek=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BFGSpleWi0IozZd/em/lmgjlgzafNSx9O9bYi7I3aC36WSkfXZOmnOgzkUS8qIM60 AP0ZgVpbyr7ywvft4Y3tBfpbSsIOr7BqV8Pif0yjVrhGufcwpddy41AprNLrR2R60J N2lhJhYx1TkyKRvAEXIecZjJhwpkAns9GRaeM8FI= Received: from mchehab by mail.kernel.org with local (Exim 4.92.3) (envelope-from ) id 1jUWuU-00FCf0-1K; Fri, 01 May 2020 16:45:02 +0200 From: Mauro Carvalho Chehab To: Linux Doc Mailing List Cc: Mauro Carvalho Chehab , linux-kernel@vger.kernel.org, Jonathan Corbet , "David S. Miller" , Jakub Kicinski , netdev@vger.kernel.org Subject: [PATCH 31/37] docs: networking: device drivers: convert smsc/smc9.txt to ReST Date: Fri, 1 May 2020 16:44:53 +0200 Message-Id: <38bf787b343aad259bdd5168099d3c6be3bae44e.1588344146.git.mchehab+huawei@kernel.org> X-Mailer: git-send-email 2.25.4 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 - add SPDX header; - mark code blocks and literals as such; - adjust identation, whitespaces and blank lines where needed; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab --- .../networking/device_drivers/index.rst | 1 + .../networking/device_drivers/smsc/smc9.rst | 49 +++++++++++++++++++ .../networking/device_drivers/smsc/smc9.txt | 42 ---------------- drivers/net/ethernet/smsc/Kconfig | 4 +- 4 files changed, 52 insertions(+), 44 deletions(-) create mode 100644 Documentation/networking/device_drivers/smsc/smc9.rst delete mode 100644 Documentation/networking/device_drivers/smsc/smc9.txt diff --git a/Documentation/networking/device_drivers/index.rst b/Documentation/networking/device_drivers/index.rst index 77270d59943b..3479e6f576c3 100644 --- a/Documentation/networking/device_drivers/index.rst +++ b/Documentation/networking/device_drivers/index.rst @@ -46,6 +46,7 @@ Contents: neterion/vxge qualcomm/rmnet sb1000 + smsc/smc9 .. only:: subproject and html diff --git a/Documentation/networking/device_drivers/smsc/smc9.rst b/Documentation/networking/device_drivers/smsc/smc9.rst new file mode 100644 index 000000000000..7cdcb9139942 --- /dev/null +++ b/Documentation/networking/device_drivers/smsc/smc9.rst @@ -0,0 +1,49 @@ +.. SPDX-License-Identifier: GPL-2.0 + +================ +SMC 9xxxx Driver +================ + +Revision 0.12 + +3/5/96 + +Copyright 1996 Erik Stahlman + +Released under terms of the GNU General Public License. + +This file contains the instructions and caveats for my SMC9xxx driver. You +should not be using the driver without reading this file. + +Things to note about installation: + + 1. The driver should work on all kernels from 1.2.13 until 1.3.71. + (A kernel patch is supplied for 1.3.71 ) + + 2. If you include this into the kernel, you might need to change some + options, such as for forcing IRQ. + + + 3. To compile as a module, run 'make'. + Make will give you the appropriate options for various kernel support. + + 4. Loading the driver as a module:: + + use: insmod smc9194.o + optional parameters: + io=xxxx : your base address + irq=xx : your irq + ifport=x : 0 for whatever is default + 1 for twisted pair + 2 for AUI ( or BNC on some cards ) + +How to obtain the latest version? + +FTP: + ftp://fenris.campus.vt.edu/smc9/smc9-12.tar.gz + ftp://sfbox.vt.edu/filebox/F/fenris/smc9/smc9-12.tar.gz + + +Contacting me: + erik@mail.vt.edu + diff --git a/Documentation/networking/device_drivers/smsc/smc9.txt b/Documentation/networking/device_drivers/smsc/smc9.txt deleted file mode 100644 index d1e15074e43d..000000000000 --- a/Documentation/networking/device_drivers/smsc/smc9.txt +++ /dev/null @@ -1,42 +0,0 @@ - -SMC 9xxxx Driver -Revision 0.12 -3/5/96 -Copyright 1996 Erik Stahlman -Released under terms of the GNU General Public License. - -This file contains the instructions and caveats for my SMC9xxx driver. You -should not be using the driver without reading this file. - -Things to note about installation: - - 1. The driver should work on all kernels from 1.2.13 until 1.3.71. - (A kernel patch is supplied for 1.3.71 ) - - 2. If you include this into the kernel, you might need to change some - options, such as for forcing IRQ. - - - 3. To compile as a module, run 'make' . - Make will give you the appropriate options for various kernel support. - - 4. Loading the driver as a module : - - use: insmod smc9194.o - optional parameters: - io=xxxx : your base address - irq=xx : your irq - ifport=x : 0 for whatever is default - 1 for twisted pair - 2 for AUI ( or BNC on some cards ) - -How to obtain the latest version? - -FTP: - ftp://fenris.campus.vt.edu/smc9/smc9-12.tar.gz - ftp://sfbox.vt.edu/filebox/F/fenris/smc9/smc9-12.tar.gz - - -Contacting me: - erik@mail.vt.edu - diff --git a/drivers/net/ethernet/smsc/Kconfig b/drivers/net/ethernet/smsc/Kconfig index 64ca1b36b91e..4fcc5858a750 100644 --- a/drivers/net/ethernet/smsc/Kconfig +++ b/drivers/net/ethernet/smsc/Kconfig @@ -28,7 +28,7 @@ config SMC9194 option if you have a DELL laptop with the docking station, or another SMC9192/9194 based chipset. Say Y if you want it compiled into the kernel, and read the file - . + . To compile this driver as a module, choose M here. The module will be called smc9194. @@ -43,7 +43,7 @@ config SMC91X This is a driver for SMC's 91x series of Ethernet chipsets, including the SMC91C94 and the SMC91C111. Say Y if you want it compiled into the kernel, and read the file - . + . This driver is also available as a module ( = code which can be inserted in and removed from the running kernel whenever you want). -- 2.25.4