From: Pradeep Dalvi <pradeep@netxen.com>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"jeff@garzik.org" <jeff@garzik.org>,
"sanjeev@netxen.com" <sanjeev@netxen.com>,
"unmproj@linsyssoft.com" <unmproj@linsyssoft.com>,
"rob@netxen.com" <rob@netxen.com>,
amitkale@netxen.com
Subject: Re: [PATCH 2.6.17 1/9] NetXen: Makefile and driver main file (name prefix change)
Date: Mon, 21 Aug 2006 03:01:57 -0700 (PDT) [thread overview]
Message-ID: <Pine.LNX.4.64.0608210259170.22771@dut39> (raw)
In-Reply-To: <Pine.LNX.4.64.0608180739290.6875@dut39>
diff -u linux-2.6.17/drivers/net/netxen/netxen_nic_main.c linux-2.6.17/drivers/net/netxen/netxen_nic_main.c
--- linux-2.6.17/drivers/net/netxen/netxen_nic_main.c 2006-08-17 07:12:34.000000000 -0700
+++ linux-2.6.17/drivers/net/netxen/netxen_nic_main.c 2006-08-21 02:20:00.000000000 -0700
@@ -211,8 +211,8 @@
adapter->ahw.pci_base = mem_ptr;
spin_lock_init(&adapter->tx_lock);
spin_lock_init(&adapter->lock);
-
- initialize_adapter_sw(adapter); /* initialize the buffers in adapter */
+ /* initialize the buffers in adapter */
+ netxen_initialize_adapter_sw(adapter);
/*
* Set the CRB window to invalid. If any register in window 0 is
* accessed it should set the window to 0 and then reset it to 1.
@@ -222,7 +222,7 @@
* Adapter in our case is quad port so initialize it before
* initializing the ports
*/
- initialize_adapter_hw(adapter); /* initialize the adapter */
+ netxen_initialize_adapter_hw(adapter); /* initialize the adapter */
init_timer(&adapter->watchdog_timer);
adapter->ahw.xg_linkup = 0;
@@ -243,8 +243,8 @@
adapter->flags |= NETXEN_NIC_MSI_ENABLED;
#endif
- if (is_flash_supported(adapter) == 0 &&
- get_flash_mac_addr(adapter, mac_addr) == 0)
+ if (netxen_is_flash_supported(adapter) == 0 &&
+ netxen_get_flash_mac_addr(adapter, mac_addr) == 0)
valid_mac = 1;
else
valid_mac = 0;
@@ -345,7 +345,7 @@
writel(0, NETXEN_CRB_NORMALIZE(adapter, CRB_CMD_CONSUMER_OFFSET));
writel(0, NETXEN_CRB_NORMALIZE(adapter, CRB_HOST_CMD_ADDR_LO));
- phantom_init(adapter);
+ netxen_phantom_init(adapter);
/*
* delay a while to ensure that the Pegs are up & running.
* Otherwise, we might see some flaky behaviour.
@@ -423,9 +423,9 @@
netxen_nic_stop_all_ports(adapter);
/* leave the hw in the same state as reboot */
- pinit_from_rom(adapter, 0);
+ netxen_pinit_from_rom(adapter, 0);
udelay(500);
- load_firmware(adapter);
+ netxen_load_firmware(adapter);
if ((adapter->flags & NETXEN_NIC_MSI_ENABLED))
netxen_nic_disable_int(adapter);
@@ -486,7 +486,7 @@
int ctx, ring;
if (adapter->is_up != NETXEN_ADAPTER_UP_MAGIC) {
- err = init_firmware(adapter);
+ err = netxen_init_firmware(adapter);
if (err != 0) {
printk(KERN_ERR "Failed to init firmware\n");
return -EIO;
next prev parent reply other threads:[~2006-08-21 10:01 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-18 14:38 [PATCH 2.6.17 0/9] NetXen: 1G/10G Ethernet Driver Amit S. Kale
2006-08-18 14:44 ` [PATCH 2.6.17 1/9] NetXen: Makefile and driver main file Amit S. Kale
2006-08-18 14:58 ` [PATCH 2.6.17 2/9] NetXen: Hardware access routines Amit S. Kale
2006-08-18 15:16 ` Stephen Hemminger
2006-08-21 8:27 ` Amit S. Kale
2006-08-21 14:03 ` Stephen Hemminger
2006-08-25 18:23 ` Sanjeev Jorapur
2006-08-28 9:52 ` Amit S. Kale
2006-08-21 9:55 ` [PATCH 2.6.17 2/9] NetXen: Hardware access routines (name prefixed) Pradeep Dalvi
2006-08-21 10:01 ` Pradeep Dalvi [this message]
2006-08-18 15:01 ` [PATCH 2.6.17 3/9] NetXen: hw initialization routines Amit S. Kale
2006-08-21 10:04 ` [PATCH 2.6.17 3/9] NetXen: hw initialization routines (name prefix change) Pradeep Dalvi
2006-08-18 15:04 ` [PATCH 2.6.17 4/9] NetXen: intr routines and niu handling Amit S. Kale
2006-08-18 15:22 ` Stephen Hemminger
2006-08-21 8:40 ` Amit S. Kale
2006-08-18 15:06 ` [PATCH 2.6.17 5/9] NetXen: ethtool interface Amit S. Kale
2006-08-18 15:10 ` [PATCH 2.6.17 6/9] NetXen: Main header file Amit S. Kale
2006-08-21 10:05 ` [PATCH 2.6.17 6/9] NetXen: Main header file (Name prefix change) Pradeep Dalvi
2006-08-18 15:12 ` [PATCH 2.6.17 7/9] NetXen: hw access routines header file Amit S. Kale
2006-08-18 15:14 ` [PATCH 2.6.17 8/9] NetXen: Header file and ioctl " Amit S. Kale
2006-08-18 15:17 ` [PATCH 2.6.17 9/9] NetXen: CRB reg defininitions Amit S. Kale
2006-08-22 7:43 ` [PATCH 2.6.17 0/9] NetXen: 1G/10G Ethernet Driver Pradeep Dalvi
2006-08-24 0:04 ` Don Fry
2006-08-25 13:19 ` Amit S. Kale
2006-08-24 20:36 ` [PATCH 2.6.17 0/9] NetXen: 1G/10G Ethernet Driver - patch for big-endian systems wen xiong
2006-08-24 21:29 ` Michael Buesch
2006-08-24 21:40 ` Francois Romieu
2006-08-25 13:18 ` Amit S. Kale
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.0608210259170.22771@dut39 \
--to=pradeep@netxen.com \
--cc=amitkale@netxen.com \
--cc=jeff@garzik.org \
--cc=netdev@vger.kernel.org \
--cc=rob@netxen.com \
--cc=sanjeev@netxen.com \
--cc=shemminger@osdl.org \
--cc=unmproj@linsyssoft.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