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 3/9] NetXen: hw initilization routines
Date: Tue, 19 Sep 2006 08:23:04 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0609190821410.25990@dut39> (raw)
In-Reply-To: <Pine.LNX.4.64.0609151140360.7710@dut39>
diff -u linux-2.6.18-rc7/drivers/net/netxen/netxen_nic_init.c linux-2.6.18-rc7/drivers/net/netxen/netxen_nic_init.c
--- linux-2.6.18-rc7/drivers/net/netxen/netxen_nic_init.c 2006-09-15 10:51:59.000000000 -0700
+++ linux-2.6.18-rc7/drivers/net/netxen/netxen_nic_init.c 2006-09-19 07:51:20.000000000 -0700
@@ -208,8 +208,8 @@
ops->handle_phy_intr = netxen_nic_gbe_handle_phy_intr;
ops->macaddr_set = netxen_niu_macaddr_set;
ops->set_mtu = netxen_nic_set_mtu_gb;
- ops->set_promisc_mode = netxen_niu_set_promiscuous_mode;
- ops->unset_promisc_mode = netxen_niu_set_promiscuous_mode;
+ ops->set_promisc = netxen_niu_set_promiscuous_mode;
+ ops->unset_promisc = netxen_niu_set_promiscuous_mode;
ops->phy_read = netxen_niu_gbe_phy_read;
ops->phy_write = netxen_niu_gbe_phy_write;
ops->init_port = netxen_niu_gbe_init_port;
@@ -225,8 +225,8 @@
ops->handle_phy_intr = netxen_nic_xgbe_handle_phy_intr;
ops->macaddr_set = netxen_niu_xg_macaddr_set;
ops->set_mtu = netxen_nic_set_mtu_xgb;
- ops->set_promisc_mode = netxen_niu_xg_set_promiscuous_mode;
- ops->unset_promisc_mode = netxen_niu_xg_set_promiscuous_mode;
+ ops->set_promisc = netxen_niu_xg_set_promiscuous_mode;
+ ops->unset_promisc = netxen_niu_xg_set_promiscuous_mode;
ops->stop_port = netxen_niu_disable_xg_port;
break;
@@ -535,8 +535,8 @@
struct netxen_recv_context *recv_ctx =
&(adapter->recv_ctx[ctx]);
u32 consumer;
- struct status_desc_t *desc_head;
- struct status_desc_t *desc; /* used to read status desc here */
+ struct status_desc *desc_head;
+ struct status_desc *desc; /* used to read status desc here */
consumer = recv_ctx->status_rx_consumer;
desc_head = recv_ctx->rcv_status_desc_head;
@@ -584,7 +584,7 @@
*/
void
netxen_process_rcv(struct netxen_adapter *adapter, int ctxid,
- struct status_desc_t *desc)
+ struct status_desc *desc)
{
struct netxen_port *port = adapter->port[STATUS_DESC_PORT(desc)];
struct pci_dev *pdev = port->pdev;
@@ -674,8 +674,8 @@
u32 netxen_process_rcv_ring(struct netxen_adapter *adapter, int ctxid, int max)
{
struct netxen_recv_context *recv_ctx = &(adapter->recv_ctx[ctxid]);
- struct status_desc_t *desc_head = recv_ctx->rcv_status_desc_head;
- struct status_desc_t *desc; /* used to read status desc here */
+ struct status_desc *desc_head = recv_ctx->rcv_status_desc_head;
+ struct status_desc *desc; /* used to read status desc here */
u32 consumer = recv_ctx->status_rx_consumer;
int count = 0, ring;
@@ -829,9 +829,9 @@
__FUNCTION__);
}
-/**
+/*
* netxen_post_rx_buffers puts buffer in the Phantom memory
- **/
+ */
void netxen_post_rx_buffers(struct netxen_adapter *adapter, u32 ctx, u32 ringid)
{
struct pci_dev *pdev = adapter->ahw.pdev;
@@ -841,7 +841,7 @@
struct netxen_recv_crb *crbarea = &recv_crb_registers[ctx];
struct netxen_rcv_desc_crb *rcv_desc_crb = NULL;
u32 producer;
- struct rcv_desc_t *pdesc;
+ struct rcv_desc *pdesc;
struct netxen_rx_buffer *buffer;
int count = 0;
int index = 0;
next prev parent reply other threads:[~2006-09-19 15:23 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 [this message]
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
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.0609190821410.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