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
02 Feb, 2010
1 commit
-
cev-isr reg offset for each function is better calculated using (any) eq-id
alloted to that function instead of using pci-func number(which
does not work in some configurations...)Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller
29 Jan, 2010
1 commit
-
Noticed by Ben Hutchings.
Signed-off-by: David S. Miller
28 Jan, 2010
1 commit
-
Bug fix in be2net for newer generation of BladeEngine ASIC.
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
22 Jan, 2010
1 commit
-
Pages are posted to the rxq in such a way that more than one frag
can share the page. The last frag that uses the page unmaps the
page. In the case when a page is not fully used (due to lack of space in rxq)
the last frag that uses the page is not being set as a "last_page_user";
instead, the next frag in the rxq is incorrectly being set.The fix has also been tested on ppc64 with 64k pages...
Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller
24 Dec, 2009
3 commits
-
Changes to return correct values for transceiver and supported in
ethtool get_settings function.Signed-off-by: Sarveshwar Bandi
Signed-off-by: David S. Miller -
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
12 Dec, 2009
1 commit
-
There are certain skews of the NIC which have multiple bits set in
adapter->cap. Use & instead of == to process rx completions.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller
10 Dec, 2009
1 commit
-
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits)
tree-wide: fix misspelling of "definition" in comments
reiserfs: fix misspelling of "journaled"
doc: Fix a typo in slub.txt.
inotify: remove superfluous return code check
hdlc: spelling fix in find_pvc() comment
doc: fix regulator docs cut-and-pasteism
mtd: Fix comment in Kconfig
doc: Fix IRQ chip docs
tree-wide: fix assorted typos all over the place
drivers/ata/libata-sff.c: comment spelling fixes
fix typos/grammos in Documentation/edac.txt
sysctl: add missing comments
fs/debugfs/inode.c: fix comment typos
sgivwfb: Make use of ARRAY_SIZE.
sky2: fix sky2_link_down copy/paste comment error
tree-wide: fix typos "couter" -> "counter"
tree-wide: fix typos "offest" -> "offset"
fix kerneldoc for set_irq_msi()
spidev: fix double "of of" in comment
comment typo fix: sybsystem -> subsystem
...
08 Dec, 2009
1 commit
-
Conflicts:
kernel/irq/chip.c
04 Dec, 2009
6 commits
-
That is "success", "unknown", "through", "performance", "[re|un]mapping"
, "access", "default", "reasonable", "[con]currently", "temperature"
, "channel", "[un]used", "application", "example","hierarchy", "therefore"
, "[over|under]flow", "contiguous", "threshold", "enough" and others.Signed-off-by: André Goddard Rosa
Signed-off-by: Jiri Kosina -
This patch adds support for ethtool selftest.
From: Suresh R
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Only files where David Miller is the primary git-signer.
wireless, wimax, ixgbe, etc are not modified.Compile tested x86 allyesconfig only
Not all files compiled (not x86 compatible)Added a few > 80 column lines, which I ignored.
Existing checkpatch complaints ignored.Signed-off-by: Joe Perches
Signed-off-by: David S. Miller -
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
03 Dec, 2009
1 commit
-
Due to the fact that skb_dma_map/unmap do not work correctly when a HW
IOMMU is enabled it has been recommended to go about removing the calls
from the network device drivers.Signed-off-by: Alexander Duyck
Signed-off-by: Jeff Kirsher
CC: Eilon Greenstein
Signed-off-by: David S. Miller
02 Dec, 2009
6 commits
-
Every time while doing ethtool->get_settings we are accessing
the hardware to get link status and port information.
This is not necessary. We now use the cached copy for this info
and update it when the link status changes.From: Suresh R
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Add be_rx_polls to count number of times NAPI called rx poll function.
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
port identification/beaconing is failing if device open has not been done.
Fixing it.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
Allow only valid ether addresses to be assigned and used for the interface.
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
patch to initialize netdev->perm_addr
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
patch to initialize netdev->vlan_features appropriately.
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller
24 Nov, 2009
5 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 -
Disabling msix was missing when probe fails after enabling msix.
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 -
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
09 Nov, 2009
1 commit
-
Conflicts:
drivers/net/can/usb/ems_usb.c
07 Nov, 2009
2 commits
-
Sending config commands to be2 hardware before netdev_register is
completed, is sometimes causing the async link notification to arrive
even before the driver is ready to handle it. The commands for vlan
config and flow control settings can infact wait till be_open.
This patch takes care of that.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller -
If be2 goes into suspend after a user changes the flow control settings,
we are not programming them back after resume. This patch takes care of it.
We now get the flow control settings before going to suspend mode and
then apply them during resume.Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller
06 Nov, 2009
2 commits
-
Conflicts:
drivers/net/usb/cdc_ether.cAll CDC ethernet devices of type USB_CLASS_COMM need to use
'&mbm_info'.Signed-off-by: David S. Miller
-
Signed-off-by: Sathya Perla
Signed-off-by: David S. Miller
29 Oct, 2009
1 commit
-
This patch adds the PCI IDs for the next generation chip to the
PCI_DEVICE_ID table.Signed-off-by: Ajit Khaparde
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
17 Oct, 2009
1 commit
-
Add new PCI ids to support next generation of BladeEngine device.
Signed-off-by: Ajit Khaparde
Signed-off-by: David S. Miller