17 Feb, 2010
1 commit
-
Before sending a command to the ASIC, set version properly.
This is necessary for the ARM firmware to send correct data to the driver.
This also fixes a bug in certain skews of the ASIC where the statistics
are misreported.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller
23 Jan, 2010
1 commit
-
Only the first two fields of mcc wrb - embedded, payload_len
need to be cpu_to_le32() swapped while issuing a cmd to the hw.
The fields tag0, tag1 are opaque and returned back to cpu as is...Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller
24 Dec, 2009
2 commits
-
NIC controller has to be set to an appropriate mode before doing a loopback
test. Test will fail otherwise.Signed-off-by: Sarveshwar Bandi
Signed-off-by: David S. Miller -
This change ensures that loopback test command gives up after 4 seconds when
the hardware is not responsive. This could happen if the ports are connected
properly in loopback mode.Signed-off-by: Sarveshwar Bandi
Signed-off-by: David S. Miller
04 Dec, 2009
3 commits
-
This patch adds support for ethtool selftest.
From: Suresh R
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Add support for WOL using Magic Packet after suspend is done.
Signed-off-by: Sarveshwar Bandi
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
When a firmware command fails, only the failure codes are printed.
It is difficult to co-relate this to the actual command that has failed.
These changes will now print the command code that has failed.Signed-off-by: Sarveshwar Bandi
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller
24 Nov, 2009
3 commits
-
The driver can run out of mccq wrbs when completions don't arrive
due to an unresponsive card. This must not hit a BUG_ON(); instead
log a msg and return an error.Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller -
These cmds are issued to the fw in probe/resume and remove/suspend
paths to help fw execute some initialization and cleanup code.This change needed the be_hw_up() code to be refactored as be_get_config().
Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller -
To send upto 64 addresses in the multicast-set cmd, the non-embeeded cmd format
that provides for a bigger buffer is used instead of an embedded format.Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller
21 Nov, 2009
1 commit
-
Please apply patch to update redboot section while firmware update. Code
checks if section needs to be updated before actually doing it.Signed-off-by: Sarveshwar Bandi
Signed-off-by: David S. Miller
28 Oct, 2009
1 commit
-
Update ethtool get_settings function to:
- get current link speed settings from controller
- get port transceiver type from controller
- fill appropriate values for supported, phy_addressSigned-off-by: Sarveshwar Bandi
Signed-off-by: David S. Miller
27 Oct, 2009
1 commit
-
Conflicts:
drivers/net/sh_eth.c
15 Oct, 2009
2 commits
-
Before issuing any cmds to the FW, the driver must first wait
till the fW becomes ready. This is needed for PCI hot plug when
the driver can be probed while the card fw is being initialized.Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller -
Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller
13 Oct, 2009
1 commit
-
Signed-off-by: Sarveshwar Bandi
Signed-off-by: David S. Miller
05 Oct, 2009
1 commit
-
This patch fixes a bug that got introduced in commit 76998bc7.
During preparation of mcc wrb, req was being wrongly overwritten
and the flash operation was failing.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller
01 Oct, 2009
1 commit
-
vtp bit in RX completion descriptor could be wrongly set in
some skews of BladEngine. Ignore this bit if vtm is not set.
Resending because the previous patch was against net-next tree.
This patch is against the net-2.6 tree.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller
18 Sep, 2009
1 commit
-
All cmds issued to BE after the creation of mccq must now use the mcc-q
(and not mbox) to avoid a hw issue that results in mbox poll timeout.Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller
07 Sep, 2009
1 commit
-
Changes to support flashing of the be2 network adapter using the
request_firmware() & ethtool infrastructure. The trigger to flash the device
will come from ethtool utility. The driver will invoke request_firmware()
to start the flash process. The file containing the flash image is expected
to be available in /lib/firmware/Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller
06 Aug, 2009
1 commit
-
This patch is a bug fix to avoid system going into a bad state when
driver is loaded in context of kdump kernel. The patch fixes the issue
by performing a soft reset of pci function at probe time.Signed-off-by: sarveshwarb
Signed-off-by: David S. Miller
02 Aug, 2009
5 commits
-
When the driver loads the POST stage of the card is expected to be
POST_STAGE_ARMFW_RDY.Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller -
be_mbox_db_ring() has been changed to be_mbox_notify() (to be consistent with
be_mcc_notify()) and struct be_mcc_cq_entry changed to be_mcc_compl
to be consistent with rx/tx_compl.Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller -
And get rid of some unnecessary printks.
Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller -
pci function is available as PCI_FUNC(pdev->devfn); no need for a
separate field.Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller -
Currently only the be_ctrl_info struct ptr (instead of adapter) is
passed to all the routines in be_cmds.c. Instead pass be_adapter
ptr to allow access to all its fields. Merge the contents of struct be_ctrl_info
into be_adapter. The resulting code is simpler.Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller
19 Jun, 2009
4 commits
-
Rcv and process ansync link status notifications from BE instead of polling
for link status in the be_worker thread.Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller -
Cleanup multicast_set method to avoid an extra copy of mc_list
and unwanted promiscuos sets to BE.Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller -
Currenlty multicast_set and promiscuous_config cmds -- that may be called in BH context --
use the blocking MCC mbox to post cmds.
An mbox cmd is protected via a spin_lock(cmd_lock) and not spin_lock_bh() as it is undesirable
to disable BHs while a blocking mbox cmd is in progress (and take long to finish.)
This can lockup a cmd in progress in process context.
So, these two cmds in BH context must use the MCC queue to post cmds.Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller -
Currenlty all cmds use the blocking MCC mbox to post cmds. An mbox cmd is protected
via a spin_lock(cmd_lock) and not spin_lock_bh() as it is undesirable
to disable BHs while a blocking mbox cmd is in progress (and take long to finish.)
This can lockup a cmd in progress in process context. Instead cmds that may be
called in BH context must use the MCC queue to post cmds. The cmd completions
are rcvd in a separate completion queue and the events are placed in the tx-event
queue.Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller
12 Mar, 2009
1 commit
-
Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller