From patchwork Mon May 3 22:49:09 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Miller X-Patchwork-Id: 51533 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 381D7B7D18 for ; Tue, 4 May 2010 08:49:13 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759320Ab0ECWtH (ORCPT ); Mon, 3 May 2010 18:49:07 -0400 Received: from 74-93-104-97-Washington.hfc.comcastbusiness.net ([74.93.104.97]:43246 "EHLO sunset.davemloft.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757150Ab0ECWtD (ORCPT ); Mon, 3 May 2010 18:49:03 -0400 Received: from localhost (localhost [127.0.0.1]) by sunset.davemloft.net (Postfix) with ESMTP id 149F724C090; Mon, 3 May 2010 15:49:10 -0700 (PDT) Date: Mon, 03 May 2010 15:49:09 -0700 (PDT) Message-Id: <20100503.154909.107135972.davem@davemloft.net> To: David.Choi@Micrel.Com Cc: netdev@vger.kernel.org Subject: Re: [PATCH linux-2.6.34-rc5] drivers/net/phy: micrel phy driver From: David Miller In-Reply-To: <20100503.154415.160071433.davem@davemloft.net> References: <20100503.154415.160071433.davem@davemloft.net> X-Mailer: Mew version 6.3 on Emacs 23.1 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: David Miller Date: Mon, 03 May 2010 15:44:15 -0700 (PDT) > From: "Choi, David" > Date: Thu, 29 Apr 2010 09:12:41 -0700 > >> To whom it may have concerned: >> >> From: David J. Choi >> Body of the explanation: This is the first version of phy driver from Micrel Inc. >> Signed-off-by: David J. Choi > > Applied, thank you. When I merged this into net-next-2.6 from net-2.6, I added the appropriate module device table to the driver. phy/micrel: Add module device ID table for autoloading. Signed-off-by: David S. Miller --- drivers/net/phy/micrel.c | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/net/phy/micrel.c b/drivers/net/phy/micrel.c index 0cd80e4..68dd107 100644 --- a/drivers/net/phy/micrel.c +++ b/drivers/net/phy/micrel.c @@ -102,3 +102,12 @@ module_exit(ksphy_exit); MODULE_DESCRIPTION("Micrel PHY driver"); MODULE_AUTHOR("David J. Choi"); MODULE_LICENSE("GPL"); + +static struct mdio_device_id micrel_tbl[] = { + { PHY_ID_KSZ9021, 0x000fff10 }, + { PHY_ID_VSC8201, 0x00fffff0 }, + { PHY_ID_KS8001, 0x00fffff0 }, + { } +}; + +MODULE_DEVICE_TABLE(mdio, micrel_tbl);