[kernel] r16547 - dists/sid/linux-2.6/debian/patches/features/all
Dann Frazier
dannf at alioth.debian.org
Sun Nov 14 23:38:02 UTC 2010
Author: dannf
Date: Sun Nov 14 23:37:57 2010
New Revision: 16547
Log:
Add git log
Modified:
dists/sid/linux-2.6/debian/patches/features/all/qlcnic-driver.patch
Modified: dists/sid/linux-2.6/debian/patches/features/all/qlcnic-driver.patch
==============================================================================
--- dists/sid/linux-2.6/debian/patches/features/all/qlcnic-driver.patch Sun Nov 14 23:30:32 2010 (r16546)
+++ dists/sid/linux-2.6/debian/patches/features/all/qlcnic-driver.patch Sun Nov 14 23:37:57 2010 (r16547)
@@ -1,3 +1,1173 @@
+commit 0b932312409ca7730b6bb65a774f59726f0d976b
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Wed Jan 13 00:37:25 2010 +0000
+
+ qlcnic: Qlogic ethernet driver for CNA devices
+
+ o 1G/10G Ethernet Driver for Qlgic QLE8240 and QLE8242 CNA devices.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 3566cc0090ce70c8bf251a1a553c527da3cc7384
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Mon Feb 1 05:24:54 2010 +0000
+
+ qlcnic: use DEFINE_PCI_DEVICE_TABLE
+
+ Use DEFINE_PCI_DEVICE_TABLE() so we get place PCI ids table into
+ correct section in every case.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit ac1742c45f3d05da54c12f52ff40bc7fbb42154c
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Mon Feb 1 05:24:55 2010 +0000
+
+ qlcnic: add ethernet identifier in board info
+
+ Added missing identifier that distinguishes between
+ FCOE/ISCSI/ETHERNET functions.
+
+ Signed-off-by: Rajesh K Borundia <rajesh.borundia at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 7002a572a4aa7727b4b7b4a295d0265dfd54f250
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Wed Jan 13 00:37:26 2010 +0000
+
+ NET: Add Qlogic ethernet driver for CNA devices
+
+ o Separate Ethernet driver for Qlogic CNA devices
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 021c34435b3484eb1a5f5b5c10975ea2ca11fe7e
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Mon Feb 1 05:24:56 2010 +0000
+
+ qlcnic: clear device reset state after fw recovery
+
+ o After firmware recovery, clear device reset state transition register.
+ Otherwise firmware reload can occur unnecessary.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit af24971cba1a324da3218ba60a8f4f574000f6a3
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Mon Feb 1 05:24:57 2010 +0000
+
+ qlcnic: protect resoruce cleanup by rtnl lock
+
+ o context resources can be in used, while resoruce cleanup is in progress,
+ during fw recover.
+ o Null pointer execption can occur in send_cmd_desc, if fw recovery
+ module frees tx ring without rtnl lock.
+ o Same applies to ethtool register dump and FW health registers should be dump
+ in any case.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 0201d4b88138fe5e8ef1304b288c5a4b7174b6f8
+Author: Sucheta Chakraborty <sucheta at dut6195.unminc.com>
+Date: Mon Feb 1 05:24:58 2010 +0000
+
+ qlcnic: support LED blink for device identification
+
+ Added support of device identification by blinking LED for specified time.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 76eb303960d762fe41f19cd8eb378128d6ff3852
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Mon Feb 1 05:24:59 2010 +0000
+
+ qlcnic: add interrupt diagnostic test
+
+ Interrupt test (offline) added in ethtool self test.
+ Register a temporary interrupt handler and then send command to fw
+ to raise an interrupt.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit d2a8cff6181e6d7f2e577fa33b678f49a8e4c28c
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Mon Feb 1 05:25:00 2010 +0000
+
+ qlcnic: add loopback diagnostic test
+
+ Loopback test (offline) added in ethtool self test.
+ o Set device in loopback mode
+ o Send packets
+ o Process receive packets in qlcnic_process_rcv_ring_diag()
+ o Compare packets
+ o Reset device in normal mode.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 2045add41db0df1b6646533f3a56e1318f2eb457
+Author: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+Date: Mon Mar 8 00:14:45 2010 +0000
+
+ qlcnic: fix tx csum status
+
+ Kernel default tx csum function (ethtool_op_get_tx_csum) doesn't show
+ correct csum status. It takes various FLAGS (NETIF_F_ALL_CSUM) in account
+ to show tx csum status, which driver doesn't set while disabling tx csum.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit b2b424557943d57ecfa0df7167c8d2ebb2c2833b
+Author: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+Date: Mon Mar 8 00:14:46 2010 +0000
+
+ qlcnic: additional driver statistics.
+
+ Statistics added for lro/lso bytes, count for tx stop queue and
+ wake queue and skb alloc failure count.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 67215fc38d870a513b0da27dbd732cc8e011202d
+Author: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+Date: Mon Mar 8 00:14:47 2010 +0000
+
+ qlcnic: fix multicast handling
+
+ For promiscuous mode, driver send request to device for deleting
+ multicast addresses and again it send request for adding them back
+ while exiting from this mode, this is bad for performance.
+ Just setting device in promiscuous mode is enough, no need to del/add
+ multicast addresses.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit bcadca1f0b6c6cc25b8056e079ac9b858989d0a0
+Author: Sucheta Chakraborty <sucheta at dut6195.unminc.com>
+Date: Mon Mar 8 00:14:48 2010 +0000
+
+ qlcnic: validate unified fw image
+
+ Validate all sections of unified fw image, before accessing them,
+ to avoid seg fault.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta at dut6195.unminc.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 0dc101d1cae56b2c60e9e1569ffd1aba5b68709a
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Mon Mar 8 00:14:49 2010 +0000
+
+ qlcnic: fix bios version check
+
+ Bios sub version from unified fw image is calculated incorrect.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 21376314d7824c72a5819c11b4a7b346a95193de
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Mon Mar 8 00:14:50 2010 +0000
+
+ qlcnic: remove extra space from board names
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit b5e266067f54a934d1fbd35350d2ba303f6a4ca5
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu Apr 1 19:01:28 2010 +0000
+
+ qlcnic: fix fw load from file
+
+ Rarely: Fw file size can be unaligned to 8.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit e9832e672934dfb0f466f6e0844c120d4b5e9664
+Author: Dhananjay Phadke <dhananjay.phadke at qlogic.com>
+Date: Thu Apr 1 19:01:29 2010 +0000
+
+ qlcnic: handle queue manager access
+
+ Check the access by tools for hardware queue engine and handle it
+ separately than other block registers, otherwise incorrect data
+ is returned.
+
+ Signed-off-by: Dhananjay Phadke <dhananjay.phadke at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 210222b25084b9dc35fc0d99868100b8be301787
+Author: Dhananjay Phadke <dhananjay.phadke at qlogic.com>
+Date: Thu Apr 1 19:01:30 2010 +0000
+
+ qlcnic: update oncard memory size check
+
+ All QLogic converged NICs have 128-bit 128MB on card memory.
+ Fix the limit check from 64MB to 128MB and remove unnecessary
+ 64-bit read/write checks.
+
+ Signed-off-by: Dhananjay Phadke <dhananjay.phadke at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit bc90fe57dd4a9cdc9444a50ebe80899d5be2f7a2
+Author: Dhananjay Phadke <dhananjay.phadke at qlogic.com>
+Date: Thu Apr 1 19:01:31 2010 +0000
+
+ qlcnic: fix onchip memory access
+
+ Fix incorrect offset calculation and remove unnecessary remap
+ of the region in bar 0 to access onchip memory.
+
+ This was leading to read incorrect values by debug tools.
+
+ Signed-off-by: Dhananjay Phadke <dhananjay.phadke at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 73a3eb1fafaae016979a8ca087b72584da8dd169
+Author: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+Date: Thu Apr 1 19:01:32 2010 +0000
+
+ qlcnic: use IDC defined timeout value
+
+ o USE/Read IDC defined timeout value from ROM.
+ o While resetting chip, don't wait for other pci-func to respond,
+ more than reset_ack_timeo seconds,
+
+ Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit cffee125624e6674dac2ee0d775de483c11773cf
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu Apr 1 19:01:33 2010 +0000
+
+ qlcnic: add driver debug support
+
+ Add debug print in driver, can be tuned by ethtool msg level
+ callback.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 84222603c34b6c35a87073d2aeba3691a8a9e893
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu Apr 1 19:01:34 2010 +0000
+
+ qlcnic: fix interface attach sequence
+
+ Interface should be visible even if resource allocation fails.
+ netif_device_attach should be called for every netif_device_detach.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit bdf9b966726f04f5111f5f9de645155d9e54f7e9
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu Apr 1 19:01:35 2010 +0000
+
+ qlcnic: fix endianness in fw validation
+
+ cpu_to_le32 was missing and used improperly.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit ac5153f51b0c4506d7aea82efd272e08cdfec911
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu Apr 1 19:01:36 2010 +0000
+
+ qlcnic: update version to 5.0.1
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 50889df8bb9f9653468648e8915eeb18a99ea381
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Wed Apr 7 16:51:49 2010 -0700
+
+ qlcnic: fix set mac addr
+
+ If interface is down, mac address request are not sent to fw
+ but it is getting add in driver mac list.
+ Driver mac list should be in sync with fw i.e addresses communicated
+ to fw.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit f291c9d2adbb63d88a445f6d8a4286aeaa1e71e4
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu Apr 22 02:51:35 2010 +0000
+
+ qlcnic: additional driver statistics
+
+ Added additional driver statistics to track errors in rcv/tx path.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 87bfed3336cf907dd4e1d7ef4f6b33895b3469a0
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu Apr 22 02:51:36 2010 +0000
+
+ qlcnic: fix defines as per IDC document
+
+ Different class of drivers co-exist for CNA device,
+ there is some minimal interaction that will be required amongst
+ the drivers for performing some device level operations.
+
+ All the driver should follow inter driver coexistence document.
+
+ Fixing polling interval and spelling mistake.
+
+ Signed-off-by: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit b4f088040cf812933c90bbb82601ebfaa74e9e3e
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu Apr 22 02:51:37 2010 +0000
+
+ qlcnic: fix fw initialization responsibility
+
+ Now any pci-func can start fw, whoever sees the reset ack first.
+ Before this, pci-func which sets the RESET state has the responsibility
+ to start fw.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit c2625f1fa2e35e3e78388f413c34d032a9114e7a
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu Apr 22 02:51:38 2010 +0000
+
+ qlcnic: define macro for driver state
+
+ Defining macro to set and clear driver state.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 0524ef568b0df7653a329d6c18a18648134c92d6
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu Apr 22 02:51:39 2010 +0000
+
+ qlcnic: fix pci semaphore checks
+
+ Driver should not go ahead with fw recovery if fails to acquire
+ semaphore.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit d545b01250fe23f8d60ca51797181b8a9641d5b4
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu Apr 22 02:51:40 2010 +0000
+
+ qlcnic: fix rcv buffer leak
+
+ Rcv producer value should be read in spin-lock.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 6e5058d865bc4038ca744842708459885c8c42fe
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu Apr 22 02:51:41 2010 +0000
+
+ qlcnic: protect resource access
+
+ We do netif_device_attach, even if resource allocation fails.
+ Driver callbacks can be called, if device is attached.
+ All these callbacks need to be protected by ADAPTER_UP_MAGIC check.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 0f111dc484b3dfcf48475f09d825edf0debca27c
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu Apr 22 02:51:42 2010 +0000
+
+ qlcnic: update version 5.0.2
+
+ Update version to indicate IDC(fw recovery) changes.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 8ba9f8ee73d02a5512493148bb6aded798041911
+Author: Joe Perches <joe at perches.com>
+Date: Fri May 14 00:19:28 2010 -0700
+
+ [Only qlcnic portion backported]
+
+ drivers/net: Remove unnecessary returns from void function()s
+
+ This patch removes from drivers/net/ all the unnecessary
+ return; statements that precede the last closing brace of
+ void functions.
+
+ It does not remove the returns that are immediately
+ preceded by a label as gcc doesn't like that.
+
+ It also does not remove null void functions with return.
+
+ Done via:
+ $ grep -rP --include=*.[ch] -l "return;\n}" net/ | \
+ xargs perl -i -e 'local $/ ; while (<>) { s/\n[ \t\n]+return;\n}/\n}/g; print; }'
+
+ with some cleanups by hand.
+
+ Compile tested x86 allmodconfig only.
+
+ Signed-off-by: Joe Perches <joe at perches.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit f4c69711b227a5bb02f373585c64cd0724436e85
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu May 13 03:07:42 2010 +0000
+
+ qlcnic: fix context cleanup
+
+ Before going for recovery, every pci-func should check fw state,
+ irrespective of device state. This to avoid unnecssary sending
+ of command for ctx destroy.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit c25b1534b20b05e50ee653fcb1aa7f8bea9d7794
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu May 13 03:07:43 2010 +0000
+
+ qlcnic: remove obsolete register
+
+ MSI_MODE, CAPABILITIES_FW and SCRATCHPAD registers are obsolete.
+ Driver should not use them.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 2d2102d838fd18dade9b2a248028f7d52c99bc37
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu May 13 03:07:44 2010 +0000
+
+ qlcnic: fix caching window register
+
+ o Window register is not per pci-func, so caching can
+ result in expected result.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 70d22a4e92382e36a71cdacf902e916dafcdb038
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Fri May 14 03:07:46 2010 -0700
+
+ qlcnic: cleanup dma mask setting
+
+ Device support 64 bit dma mask.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 092d4400d074c3b0b4c1525d03ef0ac49509ae01
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu May 13 03:07:46 2010 +0000
+
+ qlcnic: cleanup unused code
+
+ LRO ring, cut-thru mode and specific fw version are not
+ valid to Qlogic CNA device.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 1f8fc1c15ea2e62a6554878cbc9f62faf31df1b9
+Author: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+Date: Thu May 13 03:07:47 2010 +0000
+
+ qlcnic: check IDC version
+
+ Warn user if IDC version mismatch with different class of drivers.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 6667c02fb347ea6291b5afb7334a2fa08c53194c
+Author: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+Date: Thu May 13 03:07:48 2010 +0000
+
+ qlcnic: check device class
+
+ pci-func class can be other than ethernet in Qlogic CNA device.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 2fd0e81076e3225f79cf809374471fa5a2190ab6
+Author: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+Date: Thu May 13 03:07:49 2010 +0000
+
+ qlcnic: support quisce mode
+
+ Device can go to quiescent state, during which drivers
+ should refrain from using the device.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 8686250a957b2af0624d888750028a35c1544eab
+Author: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+Date: Thu May 13 03:07:50 2010 +0000
+
+ qlcnic: add idc debug registers
+
+ When ever driver changes the device state, it should write
+ pci-func number and timestamp in debug registers.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 9004cc7768cb725de09c52a643cdf57e421cab14
+Author: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+Date: Mon May 17 01:22:08 2010 +0000
+
+ qlcnic: fix memory leaks
+
+ Fixes memory leak in error path when memory allocation
+ for adapter data structures fails.
+
+ Signed-off-by: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 38b8c967c2139cccfd4dbbb7504e0a8b9c29b4dd
+Author: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+Date: Mon May 17 01:22:09 2010 +0000
+
+ qlcnic: change adapter name display
+
+ Append mac address to adapter name.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 96a89a52e71dd1e566ea639c11b286ffa8b49a48
+Author: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+Date: Mon May 17 01:22:10 2010 +0000
+
+ qlcnic: fix rx bytes statistics
+
+ Added lrobytes to it.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 8164a11709a08658dbeea8441748941bbd97e072
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Mon May 17 01:22:11 2010 +0000
+
+ qlcnic: module param for firmware load option
+
+ By default fw is loaded from flash, user can
+ change this priority using load_fw_file module param.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit c8badfeabb511d817c76ce6f2a730895e8732325
+Author: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+Date: Mon May 17 01:22:12 2010 +0000
+
+ qlcnic: fix internal loopback test
+
+ Reset/set DEV_UP bit during allocation and deallocation of resources.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 33c7b11cf021af0c2c15d111d02adea7821e5ef2
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Mon May 17 01:22:13 2010 +0000
+
+ qlcnic: remove unused register
+
+ Removing register defines which are not used by Qlgoic CNA device.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 0d59744b91157f1965f3c92750c0dc3e7ef68e59
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Mon May 17 01:22:14 2010 +0000
+
+ qlcnic: mark device state fail
+
+ Device state need to be mark as FAILED, if fail to start firmware.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 4b8b066245e82943943969b8bba6bf47265ee9d9
+Author: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+Date: Tue Jun 1 11:28:51 2010 +0000
+
+ qlcnic: NIC Partitioning - Add basic infrastructure support
+
+ Following changes have been added to enable the adapter to work in
+ NIC partitioning mode where multiple PCI functions of an adapter port can
+ be configured to work as NIC functions. The first function that is enumerated on
+ the PCI bus assumes the role of management function which, besides being able
+ to do all the NIC functionality, can configure other NIC partitions. Other NIC
+ functions can be configured as privileged or non privileged functions.
+ Privileged function can not configure other NIC functions but can do all the
+ NIC functionality including any firmware initialization, chip reset etc. Non
+ privileged functions can do only basic IO. For chip reset etc, it depends on the
+ privilege or management function.
+
+ 1. Added code to determine PCI function number independent of kernel API.
+ 2. Added Driver - FW version 2.0 support.
+ 3. Changed producer and consumer register offset calculation.
+ 4. Added management and privileged operation modes for npar functions. A module
+ parameter has been added to control it.
+ 5. Added support for configuring the eswitch in the adapter.
+
+ Signed-off-by: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit f8d650075fe7307042f71c2d9b18d0f312b0a3e1
+Author: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+Date: Tue Jun 1 11:33:09 2010 +0000
+
+ qlcnic: NIC Partitioning - Add non privileged mode support
+
+ Added support for NIC functions that work in non privileged mode where these
+ functions are privileged to do IO only, the control operations are handled via
+ privileged functions.
+ Bumped up version number to 5.0.3.
+
+ Signed-off-by: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit d63105e222e736b8eb30a9ab415695f764e1d9e8
+Author: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+Date: Thu Jun 3 07:50:56 2010 +0000
+
+ qlcnic: Fix Compilation Issue when CONFIG_INET was not set
+
+ Original code was placed incorrectly inside a block of code marked
+ with CONFIG_INET directive. Fix by moving it outside.
+
+ Signed-off-by: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+ Reported-by: Randy Dunlap <randy.dunlap at oracle.com>
+ Tested-by: Randy Dunlap <randy.dunlap at oracle.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit bfcac686477689ba2f0c292dca4d02aa07615d0b
+Author: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+Date: Wed Jun 16 09:07:27 2010 +0000
+
+ qlcnic: Fix a bug in setting up NIC partitioning mode
+
+ The driver was not detecting the presence of NIC partitioning capability of the
+ firmware properly. Now, it checks the eswitch set bit in the FW capabilities
+ register and accordingly sets the driver mode as NPAR capable or not.
+
+ Signed-off-by: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit be933b26f99d7034fb0ca932f59652d90ec6367e
+Author: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+Date: Wed Jun 16 09:07:36 2010 +0000
+
+ qlcnic: Bumped up version number
+
+ Changed the driver version number to 5.0.4
+
+ Signed-off-by: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit b5112015b014d11fe62295bb7387c5db0e1a9674
+Author: Sucheta Chakraborty <sucheta at dut4145.unminc.com>
+Date: Thu Jun 17 02:56:38 2010 +0000
+
+ qlcnic: fix device soft reset
+
+ During device soft reset, don't halt every device block.
+ Access to some blocks is required during recovery.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta at dut4145.unminc.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 9d6edb14c2417e553d427514b10c4b04bbe7d4ea
+Author: Sritej Velaga <sritej.velaga at qlogic.com>
+Date: Thu Jun 17 02:56:39 2010 +0000
+
+ qlcnic: change driver description
+
+ o Remove extra printing of mac address
+ o This driver also supports NIC only Qlogic adapters.
+
+ Signed-off-by: Sritej Velaga <sritej.velaga at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 014821c5908b148885428c4c4855e01410d3c1ae
+Author: schacko <schacko at qlogic.com>
+Date: Thu Jun 17 02:56:40 2010 +0000
+
+ qlcnic: seperate interrupt for TX
+
+ Earlier all poll routine can process rx and tx, But now
+ one poll routine to process rx + tx and other for rx only.
+ Last msix vector will be used for separate tx interrupt.
+
+ o This is supported from fw version 4.4.2.
+ o Bump version 5.0.5
+
+ Signed-off-by: Sony Chacko <schacko at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 6acc401abe248e37b6fc75b318aa391e6b5cfe42
+Author: Rajesh K Borundia <rajesh.borundia at qlogic.com>
+Date: Thu Jun 17 02:56:41 2010 +0000
+
+ qlcnic: fix race in tx stop queue
+
+ There is a race between netif_stop_queue and netif_stopped_queue
+ check. So check once again if buffers are available to avoid race.
+ With above logic we can also get rid of tx lock in process_cmd_ring.
+
+ Signed-off-by: Rajesh K Borundia <rajesh.borundia at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 6cf6e63ace5631ac115d1f2ef48338ab34300979
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Thu Jun 17 02:56:42 2010 +0000
+
+ qlcnic: fix register access
+
+ For certain set of register, base window addresses are not defined.
+ In such cases window should not set.
+ Return with error for such cases to avoid NMI.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 455c9a9e1e3f111f5f9cf43c650e1095f42ea9c3
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Tue Jun 22 03:18:58 2010 +0000
+
+ qlcnic: cleanup skb allocation
+
+ No need to maintian separate state for alloced and freed skb.
+ This can be done by null check.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit a663a794849f0721fd68577df328d3c77e6fa97a
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Tue Jun 22 03:18:59 2010 +0000
+
+ qlcnic: handshake with card after fw load
+
+ Instead of delaying rcv handshake till interface comes up,
+ do it just after fw load.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit cff5bde14c78c43d1c21eae10e68ae83da75f48a
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Tue Jun 22 03:19:00 2010 +0000
+
+ qlcnic: fix mac address mgmt
+
+ We first add mac address in driver local list and then send command to
+ fw to add same. There are checks in driver to ensure send command doesn't fail
+ before adding mac address in local list.
+
+ But instead fix should be:
+ Add mac address in fw and if it succeeds, add it in driver local list.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 3f4f5478bc82359dcefd83f8d530b7a62214cb95
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Tue Jun 22 03:19:01 2010 +0000
+
+ qlcnic: release device resources during interface down
+
+ Previously we were allocating device resources during probe and
+ release them during remove.
+ Now alloc during interface up and release in interface down.
+ This helps in device performance, as it doesn't need to keep
+ track of inactive resources.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit ff3e84da4870f3f486e8d05a3ea0e182805ffd7a
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Tue Jun 22 03:19:02 2010 +0000
+
+ qlcnic: dont free host resources during fw recovery
+
+ There is no need to free/alloc host resources during firmware
+ recovery.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit f9ed53bf200e6dfb45bea67068ad3d2ef03a746b
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Tue Jun 22 03:19:03 2010 +0000
+
+ qlcnic: offload tx timeout recovery
+
+ Offload tx timeout recovery to fw recovery func(check_health).
+ In check_health, first check health of device, if it its ok, then
+ do tx timeout recovery otherwise device recovery.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit cb97617b52e0a5d61296d23511ff9eb1b67dcb8b
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Tue Jun 22 03:19:04 2010 +0000
+
+ qlcnic: mark context state freed after destroy
+
+ After destroying recv ctx, context state remain same.
+ Fix it by marking as FREED.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 96354f0cb711d54bfcc3ee5241c02d1a2fdb011c
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Tue Jun 22 03:19:05 2010 +0000
+
+ qlcnic: update version to 5.0.6
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit a770a61267709d127feff3f67699e4b1a5110837
+Author: Stanislaw Gruszka <sgruszka at redhat.com>
+Date: Sun Jun 27 23:31:34 2010 +0000
+
+ qlcnic: fail when try to setup unsupported features
+
+ Signed-off-by: Stanislaw Gruszka <sgruszka at redhat.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit ba91cf248e07716c6ba976395cc9f0f6c896d05e
+Author: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+Date: Tue Jun 29 07:52:12 2010 +0000
+
+ qlcnic: Remove obsolete code
+
+ Current driver uses FW API version 2 and thus code corresponding to FW API
+ version 1 has become obsolete. Clean up this from the driver.
+
+ Signed-off-by: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit da4327342f4febf653f8282c72900b45e99473cd
+Author: Rajesh K Borundia <rajesh.borundia at qlogic.com>
+Date: Tue Jun 29 08:01:20 2010 +0000
+
+ qlcnic: Add support for configuring eswitch and npars
+
+ Following changes are made:
+ 1.Obtain capabilities of Nic partition.
+ 2.Configure tx bandwidth of particular Nic partition.
+ 3.Configure the eswitch for setting port mirroring, enable mac
+ learning, promiscous mode.
+
+ Signed-off-by: Rajesh K Borundia <rajesh.borundia at qlogic.com>
+ Signed-off-by: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 626a22ed765a3bcb421a0aa6e6ba0332650c477b
+Author: Ben Hutchings <bhutchings at solarflare.com>
+Date: Wed Jun 30 02:46:56 2010 +0000
+
+ [Backported only qlcnic portion]
+
+ netdev: Make ethtool_ops::set_flags() return -EINVAL for unsupported flags
+
+ The documented error code for attempts to set unsupported flags (or
+ to clear flags that cannot be disabled) is EINVAL, not EOPNOTSUPP.
+
+ Signed-off-by: Ben Hutchings <bhutchings at solarflare.com>
+ Acked-by: Eilon Greenstein <eilong at broadcom.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 5c921e6a4d0eac9415e1c9b883a559d37a2c1e6a
+Author: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+Date: Fri Jul 9 13:14:58 2010 +0000
+
+ qlcnic: Check FW capability for TSO
+
+ Driver checks TSO capability from FW before enabling it.
+
+ Signed-off-by: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 99468fdb86e6a4132c246daa56709629833a938c
+Author: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+Date: Fri Jul 9 13:15:05 2010 +0000
+
+ qlcnic: Disable admin tools interface for VF driver mode
+
+ Non privileged (VF) driver will not be able to carry out any of the FW update,
+ etc. operations. Disable the tools interface by not creating the sysfs nodes.
+
+ Signed-off-by: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 5926e0b786f14ea1fc092ebef91820834aa9cfe3
+Author: Rajesh Borundia <rajesh.borundia at qlogic.com>
+Date: Tue Jul 13 20:33:31 2010 +0000
+
+ qlcnic: fix pause params setting
+
+ Turning off rx pause param and autoneg param is not supported so
+ return error in that case.
+
+ Signed-off-by: Rajesh Borundia <rajesh.borundia at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 7a4aac71de96587517ddd59a93232613fced8a40
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Tue Jul 13 20:33:32 2010 +0000
+
+ qlcnic: disable tx timeout recovery
+
+ Disable tx timeout recovery, if auto_fw_reset is disable
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit e19ef8e42439b7b56a541afa72238eebf370f218
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Tue Jul 13 20:33:33 2010 +0000
+
+ qlcnic: fix netdev notifier in error path
+
+ netdev notifier are not unregistered if pci_register_driver fails.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit f169d541d92b85385b8763ba93ad5453d4bfb20c
+Author: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+Date: Tue Jul 13 20:33:34 2010 +0000
+
+ qlcnic: aer support
+
+ Pci error recovery support added.
+
+ Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 1ee6f0d70f081839ace7a711a4426ff5faf69228
+Author: dann frazier <dannf at dannf.org>
+Date: Thu Oct 21 22:49:51 2010 -0600
+
+ Revert "qlcnic: aer support"
+
+ This reverts commit f169d541d92b85385b8763ba93ad5453d4bfb20c.
+
+commit 5e191fa57ddeb9b3540f6d322fc04dba9ecf7a61
+Author: Rajesh Borundia <rajesh.borundia at qlogic.com>
+Date: Fri Jul 23 21:24:25 2010 +0000
+
+ qlcnic: fix bandwidth check
+
+ Fix maximum and minmum bandwith value.
+
+ Signed-off-by: Rajesh Borundia <rajesh.borundia at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 1b2a8a003ecd5d0bfe08761a51c0445cdab6697d
+Author: Amit Kumar Salecha <amit.salecha at qlogic.com>
+Date: Sat Jul 24 18:32:17 2010 +0000
+
+ qlcnic: fix loopback test
+
+ o Loopback not supported for virtual function.
+
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit c62aa644854b337fe70a4fdabced6bd0aaaa01ee
+Author: Sony Chacko <sony.chacko at qlogic.com>
+Date: Sat Jul 24 18:32:18 2010 +0000
+
+ qlcnic: fix diag resource allocation
+
+ netif_device_attach missing from error path in qlcnic_diag_alloc_res
+
+ Signed-off-by: Sony Chacko <sony.chacko at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit b81a24c479a26dec1c8f9b30e135a0f0fd9b9fb8
+Author: Dan Carpenter <error27 at gmail.com>
+Date: Mon Aug 9 21:47:56 2010 +0000
+
+ [backported]
+ qlcnic: clean up qlcnic_init_pci_info()
+
+ In the original code we allocated memory conditionally and freed it in
+ the error handling unconditionally. It turns out that this function is
+ only called during initialization and "adapter->npars" and
+ "adapter->eswitch" are always NULL at the start of the function. I
+ removed those checks.
+
+ Also since I was cleaning things, I changed the error handling for
+ qlcnic_get_pci_info() and pulled everything in an indent level.
+
+ Signed-off-by: Dan Carpenter <error27 at gmail.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit ae4c98694e75faf7c42617c7786b6cebea9024f4
+Author: Dan Carpenter <error27 at gmail.com>
+Date: Mon Aug 9 21:49:36 2010 +0000
+
+ qlcnic: using too much stack
+
+ qlcnic_pci_info structs are 128 bytes so an array of 8 uses 1024 bytes.
+ That's a lot if you run with 4K stacks. I allocated them with kcalloc()
+ instead.
+
+ Signed-off-by: Dan Carpenter <error27 at gmail.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 4bf2763e58f5db4fd41c0e38bdf5d3052cb2cd44
+Author: Eric Dumazet <eric.dumazet at gmail.com>
+Date: Wed Aug 18 00:42:48 2010 +0000
+
+ qlnic: fix a race in qlcnic_get_stats()
+
+ Dont clear netdev->stats, it might give transient wrong values to
+ concurrent stat readers.
+
+ Signed-off-by: Eric Dumazet <eric.dumazet at gmail.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 846965a3f411227003326f6cc73778a139a4c2c8
+Author: Yinglin Luan <synmyth at gmail.com>
+Date: Sun Aug 22 21:57:56 2010 +0000
+
+ qlcnic: fix poll implementation
+
+ Function qlcnic_intr has pointer to qlcnic_host_sds_ring
+ as second parameter not pointer to qlcnic_adapter.
+
+ Signed-off-by: Yinglin Luan <synmyth at gmail.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 2cbe16a35484c6c0d82073d70e8cd64e54900639
+Author: Eric Dumazet <eric.dumazet at gmail.com>
+Date: Fri Sep 17 22:58:08 2010 -0700
+
+ qlcnic: dont assume NET_IP_ALIGN is 2
+
+ qlcnic driver allocates rx skbs and gives to hardware too bytes of extra
+ storage, allowing for corruption of kernel data.
+
+ NET_IP_ALIGN being 0 on some platforms (including x86), drivers should
+ not assume it's 2.
+
+ rds_ring->skb_size = rds_ring->dma_size + NET_IP_ALIGN;
+ ...
+ skb = dev_alloc_skb(rds_ring->skb_size);
+ skb_reserve(skb, 2);
+ pci_map_single(pdev, skb->data, rds_ring->dma_size, PCI_DMA_FROMDEVICE);
+
+ (and rds_ring->skb_size == rds_ring->dma_size) -> bug
+
+ Because of extra alignment (1500 + 32) -> four extra bytes are available
+ before the struct skb_shared_info, so corruption is not noticed.
+
+ Note: this driver could use netdev_alloc_skb_ip_align()
+
+ Signed-off-by: Eric Dumazet <eric.dumazet at gmail.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit b02e872f17cffb067ac4ca97ab7871639b5fbf91
+Author: Eric Dumazet <eric.dumazet at gmail.com>
+Date: Mon Sep 20 02:28:59 2010 +0000
+
+ qlcnic: dont set skb->truesize
+
+ skb->truesize is set in core network.
+
+ Dont change it unless dealing with fragments.
+
+ Signed-off-by: Eric Dumazet <eric.dumazet at gmail.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit e433b63268794156780f2964e11eaad2d6ef7b71
+Author: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+Date: Wed Jun 23 11:49:42 2010 -0700
+
+ net: add dependency on fw class module to qlcnic and netxen_nic
+
+ netxen_nic and qlcnic driver depends on firmware_class module.
+
+ Signed-off-by: Anirban Chakraborty <anirban.chakraborty at qlogic.com>
+ Signed-off-by: Amit Kumar Salecha <amit.salecha at qlogic.com>
+ Signed-off-by: David S. Miller <davem at davemloft.net>
+
+commit 28c02154db6ca8a6fc3a266d60cf87f460036021
+Author: dann frazier <dannf at dannf.org>
+Date: Thu Oct 21 23:09:32 2010 -0600
+
+ Fix warning due to missing file field in bin_attr callbacks which
+ wasn't added until 2c3c8bea608866d8bd9dcf92657d57fdcac011c5
+
diff -urpN a/drivers/net/Kconfig b/drivers/net/Kconfig
--- a/drivers/net/Kconfig 2010-10-22 09:52:34.398668043 -0600
+++ b/drivers/net/Kconfig 2010-10-22 14:24:58.518168727 -0600
More information about the Kernel-svn-changes
mailing list