From: Pradeep Dalvi <pradeep@netxen.com>
To: netdev@vger.kernel.org
Cc: Jeff Garzik <jeff@garzik.org>,
Sanjeev Jorapur <sanjeev@netxen.com>, Rob Mapes <rob@netxen.com>,
unmproj@linsyssoft.com, brazilnut@us.ibm.com, wendyx@us.ibm.com,
"Amit S. Kale" <amitkale@netxen.com>,
Randy Dunlap <rdunlap@xenotime.net>
Subject: Re: [PATCH 2.6.18-rc7 4/9] NetXen: intr routines and niu handling
Date: Tue, 19 Sep 2006 08:25:18 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0609190823110.25990@dut39> (raw)
In-Reply-To: <Pine.LNX.4.64.0609151144070.7710@dut39>
diff -u linux-2.6.18-rc7/drivers/net/netxen/netxen_nic_niu.c linux-2.6.18-rc7/drivers/net/netxen/netxen_nic_niu.c
--- linux-2.6.18-rc7/drivers/net/netxen/netxen_nic_niu.c 2006-09-15 10:51:59.000000000 -0700
+++ linux-2.6.18-rc7/drivers/net/netxen/netxen_nic_niu.c 2006-09-19 07:51:20.000000000 -0700
@@ -34,7 +34,7 @@
#include "netxen_nic.h"
#include <linux/delay.h>
-/**
+/*
* netxen_niu_gbe_phy_read - read a register from the GbE PHY via
* mii management interface.
*
@@ -46,7 +46,7 @@
* @returns 0 on success
* -1 on error
*
- **/
+ */
int netxen_niu_gbe_phy_read(struct netxen_adapter *adapter, long phy,
long reg, __le32 * readval)
{
@@ -134,7 +134,7 @@
return result;
}
-/**
+/*
* netxen_niu_gbe_phy_write - write a register to the GbE PHY via
* mii management interface.
*
@@ -146,7 +146,7 @@
* @returns 0 on success
* -1 on error
*
- **/
+ */
int netxen_niu_gbe_phy_write(struct netxen_adapter *adapter,
long phy, long reg, __le32 val)
{
@@ -282,10 +282,10 @@
return result;
}
-/**
+/*
* netxen_niu_gbe_set_mii_mode- Set 10/100 Mbit Mode for GbE MAC
*
- **/
+ */
void netxen_niu_gbe_set_mii_mode(struct netxen_adapter *adapter,
int port, long enable)
{
@@ -321,9 +321,9 @@
printk(KERN_ERR PFX "ERROR clearing PHY interrupts\n");
}
-/**
+/*
* netxen_niu_gbe_set_gmii_mode- Set GbE Mode for GbE MAC
- **/
+ */
void netxen_niu_gbe_set_gmii_mode(struct netxen_adapter *adapter,
int port, long enable)
{
@@ -407,11 +407,11 @@
return result;
}
-/**
+/*
* netxen_niu_gbe_handle_phy_interrupt - Handles GbE PHY interrupts
* @param enable 0 means don't enable the port
* 1 means enable (or re-enable) the port
- **/
+ */
int netxen_niu_gbe_handle_phy_interrupt(struct netxen_adapter *adapter,
int port, long enable)
{
@@ -500,10 +500,10 @@
return result;
}
-/**
+/*
* Return the current station MAC address.
* Note that the passed-in value must already be in network byte order.
- **/
+ */
int netxen_niu_macaddr_get(struct netxen_adapter *adapter,
int phy, netxen_ethernet_macaddr_t * addr)
{
@@ -530,10 +530,10 @@
return 0;
}
-/**
+/*
* Set the station MAC address.
* Note that the passed-in value must already be in network byte order.
- **/
+ */
int netxen_niu_macaddr_set(struct netxen_port *port,
netxen_ethernet_macaddr_t addr)
{
@@ -680,7 +680,7 @@
if (netxen_nic_hw_read_wx(adapter, NETXEN_NIU_GB_DROP_WRONGADDR,
®, 4))
return -EIO;
- if (mode == NETXEN_NIU_PROMISCOUS_MODE) {
+ if (mode == NETXEN_NIU_PROMISC_MODE) {
switch (port) {
case 0:
netxen_clear_gb_drop_gb0(reg);
@@ -721,10 +721,10 @@
return 0;
}
-/**
+/*
* Set the MAC address for an XG port
* Note that the passed-in value must already be in network byte order.
- **/
+ */
int netxen_niu_xg_macaddr_set(struct netxen_port *port,
netxen_ethernet_macaddr_t addr)
{
@@ -749,10 +749,10 @@
return 0;
}
-/**
+/*
* Return the current station MAC address.
* Note that the passed-in value must already be in network byte order.
- **/
+ */
int netxen_niu_xg_macaddr_get(struct netxen_adapter *adapter, int phy,
netxen_ethernet_macaddr_t * addr)
{
@@ -789,7 +789,7 @@
if (netxen_nic_hw_read_wx(adapter, NETXEN_NIU_XGE_CONFIG_1, ®, 4))
return -EIO;
- if (mode == NETXEN_NIU_PROMISCOUS_MODE)
+ if (mode == NETXEN_NIU_PROMISC_MODE)
reg = (reg | 0x2000UL);
else
reg = (reg & ~0x2000UL);
next prev parent reply other threads:[~2006-09-19 15:25 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-15 18:33 [PATCH 2.6.18-rc7 0/9] NetXen: 1G/10G Ethernet Driver Amit S. Kale
2006-09-15 18:39 ` [PATCH 2.6.18-rc7 1/9] NetXen: Makefile and driver main file Amit S. Kale
2006-09-19 15:18 ` Pradeep Dalvi
2006-09-15 18:40 ` [PATCH 2.6.18-rc7 2/9] NetXen: Hardware access routines Amit S. Kale
2006-09-19 15:20 ` Pradeep Dalvi
2006-09-15 18:44 ` [PATCH 2.6.18-rc7 3/9] NetXen: hw initilization routines Amit S. Kale
2006-09-19 15:23 ` Pradeep Dalvi
2006-09-15 18:45 ` [PATCH 2.6.18-rc7 4/9] NetXen: intr routines and niu handling Amit S. Kale
2006-09-19 15:25 ` Pradeep Dalvi [this message]
2006-09-15 18:48 ` [PATCH 2.6.18-rc7 5/9] NetXen: ethtool interface Amit S. Kale
2006-09-19 15:26 ` Pradeep Dalvi
2006-09-15 18:51 ` [PATCH 2.6.18-rc7 6/9] NetXen: Main header file Amit S. Kale
2006-09-15 19:41 ` Randy.Dunlap
2006-09-19 15:28 ` Pradeep Dalvi
2006-09-15 18:57 ` [PATCH 2.6.18-rc7 7/9] NetXen: hw access routines " Amit S. Kale
2006-09-19 15:30 ` Pradeep Dalvi
2006-09-15 19:01 ` [PATCH 2.6.18-rc7 8/9] NetXen: Header file and ioctl " Amit S. Kale
2006-09-15 19:04 ` [PATCH 2.6.18-rc7 9/9] NetXen: CRB reg definitions Amit S. Kale
2006-09-19 15:32 ` Pradeep Dalvi
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=Pine.LNX.4.64.0609190823110.25990@dut39 \
--to=pradeep@netxen.com \
--cc=amitkale@netxen.com \
--cc=brazilnut@us.ibm.com \
--cc=jeff@garzik.org \
--cc=netdev@vger.kernel.org \
--cc=rdunlap@xenotime.net \
--cc=rob@netxen.com \
--cc=sanjeev@netxen.com \
--cc=unmproj@linsyssoft.com \
--cc=wendyx@us.ibm.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