From patchwork Mon Feb 21 09:04:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kurt Van Dijck X-Patchwork-Id: 83788 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 0F6B5B70BA for ; Mon, 21 Feb 2011 20:04:34 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753908Ab1BUJE1 (ORCPT ); Mon, 21 Feb 2011 04:04:27 -0500 Received: from mailrelay001.isp.belgacom.be ([195.238.6.51]:7653 "EHLO mailrelay001.isp.belgacom.be" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752234Ab1BUJEZ (ORCPT ); Mon, 21 Feb 2011 04:04:25 -0500 X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AioHAMe5YU1tgiiq/2dsb2JhbACEH5QCjgp0qQuPeIEng0F2BI9o Received: from 170.40-130-109.adsl-dyn.isp.belgacom.be (HELO e-circ.dyndns.org) ([109.130.40.170]) by relay.skynet.be with ESMTP; 21 Feb 2011 10:04:23 +0100 Received: from e-circ.dyndns.org (unknown [192.168.0.66]) by e-circ.dyndns.org (Postfix) with ESMTP id B13388A93A for ; Mon, 21 Feb 2011 10:04:20 +0100 (CET) Date: Mon, 21 Feb 2011 10:04:22 +0100 From: Kurt Van Dijck To: netdev@vger.kernel.org Subject: [PATCH] CAN: add controller hardware name for Softing cards Message-ID: <20110221090421.GF328@e-circ.dyndns.org> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org I just found that the controller hardware name is not set for the Softing driver. After this patch, "$ ip -d link show" looks nicer. Signed-off-by: Kurt Van Dijck Acked-by: Marc Kleine-Budde --- -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/net/can/softing/softing_main.c b/drivers/net/can/softing/softing_main.c index 5157e15..aeea9f9 100644 --- a/drivers/net/can/softing/softing_main.c +++ b/drivers/net/can/softing/softing_main.c @@ -633,6 +633,7 @@ static const struct net_device_ops softing_netdev_ops = { }; static const struct can_bittiming_const softing_btr_const = { + .name = "softing", .tseg1_min = 1, .tseg1_max = 16, .tseg2_min = 1,