From: Cloud Ren <cjren@qca.qualcomm.com>
To: <davem@davemloft.net>, <netdev@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Cc: <qca-linux-team@qualcomm.com>, <nic-devel@qualcomm.com>,
Cloud Ren <cjren@qca.qualcomm.com>
Subject: [PATCH 3/3] atl1c: refine driver description
Date: Thu, 1 Mar 2012 13:41:09 +0800 [thread overview]
Message-ID: <1330580469-23348-4-git-send-email-cjren@qca.qualcomm.com> (raw)
In-Reply-To: <1330580469-23348-1-git-send-email-cjren@qca.qualcomm.com>
refine driver description make it more precise. And add a print information,
when loading driver.
Signed-off-by: Cloud Ren <cjren@qca.qualcomm.com>
---
drivers/net/ethernet/atheros/atl1c/atl1c_main.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
index 815f683..1d5218a 100644
--- a/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
+++ b/drivers/net/ethernet/atheros/atl1c/atl1c_main.c
@@ -22,6 +22,9 @@
#include "atl1c.h"
char atl1c_driver_name[] = "atl1c";
+static const char atl1c_drv_description[] =
+ "Qualcomm Atheros(R) AR813x/AR815x PCI-E Ethernet Network Driver";
+
#define PCI_DEVICE_ID_ATTANSIC_L2C 0x1062
#define PCI_DEVICE_ID_ATTANSIC_L1C 0x1063
#define PCI_DEVICE_ID_ATHEROS_L2C_B 0x2060 /* AR8152 v1.1 Fast 10/100 */
@@ -53,7 +56,7 @@ static DEFINE_PCI_DEVICE_TABLE(atl1c_pci_tbl) = {
MODULE_DEVICE_TABLE(pci, atl1c_pci_tbl);
MODULE_AUTHOR("Qualcomm Corporation, <nic-devel@qualcomm.com>");
-MODULE_DESCRIPTION("Atheros 1000M Ethernet Network Driver");
+MODULE_DESCRIPTION("Qualcomm Atheros Gigabit Ethernet Driver");
MODULE_LICENSE("GPL");
static int atl1c_stop_mac(struct atl1c_hw *hw);
@@ -2907,6 +2910,7 @@ static struct pci_driver atl1c_driver = {
*/
static int __init atl1c_init_module(void)
{
+ pr_info("%s\n", atl1c_drv_description);
return pci_register_driver(&atl1c_driver);
}
--
1.7.7
next prev parent reply other threads:[~2012-03-01 5:41 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-01 5:41 [PATCH 0/3] atl1c: update some information of atl1c driver Cloud Ren
2012-03-01 5:41 ` [PATCH 1/3] atl1c: remove ATL1C_DRV_VERSION stuff Cloud Ren
2012-03-01 5:41 ` [PATCH 2/3] atl1c: change author Cloud Ren
2012-03-01 7:13 ` Rodriguez, Luis
2012-03-01 12:27 ` Eric Dumazet
2012-03-01 5:41 ` Cloud Ren [this message]
2012-03-01 19:05 ` [PATCH 3/3] atl1c: refine driver description Francois Romieu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1330580469-23348-4-git-send-email-cjren@qca.qualcomm.com \
--to=cjren@qca.qualcomm.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=nic-devel@qualcomm.com \
--cc=qca-linux-team@qualcomm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).