From patchwork Wed Mar 20 14:02:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukas Wunner X-Patchwork-Id: 1059227 Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=wunner.de Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 44PX0G41b4z9sNt for ; Thu, 21 Mar 2019 01:11:26 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726832AbfCTOLZ (ORCPT ); Wed, 20 Mar 2019 10:11:25 -0400 Received: from mailout1.hostsharing.net ([83.223.95.204]:37893 "EHLO mailout1.hostsharing.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726006AbfCTOLZ (ORCPT ); Wed, 20 Mar 2019 10:11:25 -0400 Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.hostsharing.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (not verified)) by mailout1.hostsharing.net (Postfix) with ESMTPS id 2A0ED101933FB; Wed, 20 Mar 2019 15:02:08 +0100 (CET) Received: from localhost (p5491779F.dip0.t-ipconnect.de [84.145.119.159]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by h08.hostsharing.net (Postfix) with ESMTPSA id D4CC7623361B; Wed, 20 Mar 2019 15:02:07 +0100 (CET) X-Mailbox-Line: From cab19e924e0f75d16edf255ccaddbfd2141635bb Mon Sep 17 00:00:00 2001 Message-Id: From: Lukas Wunner Date: Wed, 20 Mar 2019 15:02:00 +0100 Subject: [PATCH 0/6] ks8851 fixes & cleanups To: "David S. Miller" , Tristram Ha , netdev@vger.kernel.org Cc: Frank Pavlic , Eduard Mainhardt , Ben Dooks , Nishanth Menon , Stephen Boyd , Sergey Shcherbakov , Jean-Christophe PLAGNIOL-VILLARD , Felipe Balbi Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Four fixes and two cleanups for the Microchip (formerly Micrel) KSZ8851 SPI Ethernet driver. Some of the fixes might even pass as stable material, but I haven't marked them as such for cautiousness: Doesn't hurt letting them bake in linux-next for a few weeks to raise the confidence, even though we've tested them extensively on our Revolution Pi open source PLCs. Thanks, Lukas Lukas Wunner (6): net: ks8851: Dequeue RX packets explicitly net: ks8851: Reassert reset pin if chip ID check fails net: ks8851: Delay requesting IRQ until opened net: ks8851: Set initial carrier state to down net: ks8851: Fix register macro misnomers net: ks8851: Deduplicate register macros drivers/net/ethernet/micrel/ks8851.c | 42 +-- drivers/net/ethernet/micrel/ks8851.h | 93 ++++--- drivers/net/ethernet/micrel/ks8851_mll.c | 317 +---------------------- 3 files changed, 79 insertions(+), 373 deletions(-)