03 Dec, 2006
6 commits
-
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
Signed-off-by: Al Viro
Signed-off-by: David S. Miller -
MAX_HEADER does not include the ipv6 header length in it,
so we need to add it in explicitly.With help from YOSHIFUJI Hideaki.
Signed-off-by: David S. Miller
-
* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (118 commits)
[netdrvr] skge: build fix
[PATCH] NetXen: driver cleanup, removed unnecessary __iomem type casts
[PATCH] PHY: Add support for configuring the PHY connection interface
[PATCH] chelesio: transmit locking (plus bug fix).
[PATCH] chelsio: statistics improvement
[PATCH] chelsio: add MSI support
[PATCH] chelsio: use standard CRC routines
[PATCH] chelsio: cleanup pm3393 code
[PATCH] chelsio: add 1G swcixw aupport
[PATCH] chelsio: add support for other 10G boards
[PATCH] chelsio: remove unused mutex
[PATCH] chelsio: use kzalloc
[PATCH] chelsio: whitespace fixes
[PATCH] amd8111e use standard CRC lib
[PATCH] sky2: msi enhancements.
[PATCH] sky2: kfree_skb_any needed
[PATCH] sky2: fixes for Yukon EC_U chip revisions
[PATCH] sky2: add Dlink 560SX id
[PATCH] sky2: receive error handling fix
[PATCH] skge: don't clear MC state on link down
... -
* 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/drzeus/mmc:
mmc: correct request error handling
mmc: Flush block queue when removing card
mmc: sdhci high speed support
mmc: Support for high speed SD cards
mmc: Fix mmc_delay() function
mmc: Add support for mmc v4 wide-bus modes
[PATCH] mmc: Add support for mmc v4 high speed mode
trivial change for mmc/Kconfig: MMC_PXA does not mean only PXA255
Make general code cleanups
Add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags
Platform device error handling cleanup
Move register definitions away from the header file
Change OMAP_MMC_{READ,WRITE} macros to use the host pointer
Replace base with virt_base and phys_base
mmc: constify mmc_host_ops vectors
mmc: remove kernel_thread() -
* 'release' of master.kernel.org:/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6:
Revert "ACPI: SCI interrupt source override"
02 Dec, 2006
34 commits
-
Signed-off-by: Jeff Garzik
-
This reverts commit 281ea49b0c294649a6de47a6f8fbe5611137726b,
which broke ACPI Interrupt source overrides that move
the SCI from one IRQ in PIC mode to another in IOAPIC mode.If the SCI shared an interrupt line with another device,
this would result in a "irq 18: nobody cared" type failure.http://bugzilla.kernel.org/show_bug.cgi?id=7601
Signed-off-by: Len Brown
-
Signed-off-by: Amit S. Kale
netxen_nic.h | 38 ++++++++------------------------------
netxen_nic_ethtool.c | 5 ++---
netxen_nic_hw.c | 12 +++++-------
netxen_nic_main.c | 8 +++-----
4 files changed, 18 insertions(+), 45 deletions(-)
Signed-off-by: Jeff Garzik -
Most PHYs connect to an ethernet controller over a GMII or MII
interface. However, a growing number are connected over
different interfaces, such as RGMII or SGMII.The ethernet driver will tell the PHY what type of connection it
is by setting it manually, or passing it in through phy_connect
(or phy_attach).Changes include:
* Updates to documentation
* Updates to PHY Lib consumers
* Changes to PHY Lib to add interface support
* Some minor changes to whitespace in phy.h
* gianfar driver now detects interface and passes appropriate
value to PHY Lib
Signed-off-by: Andrew Fleming
Signed-off-by: Jeff Garzik -
If transmit lock is contended on, then push return code back
and retry at higher level.Bugfix: If buffer is reallocated because of lack of headroom
and the send is blocked, then drop packet. This is necessary
because caller would end up requeuing a freed skb.Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Cleanup statistics management:
* Get rid of duplicate or unused statistics
* Convert high volume stats to per-cpu and 64 bitSigned-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Using MSI can avoid sharing IRQ and associated overhead.
Tested on PCI-X.Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Replace driver crc calculation with existing library.
Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Replace macro with function for updating RMON values
Cleanups:
* remove unused enum's
* Fix comment formatSigned-off-by: Stephen HEmminger
Signed-off-by: Jeff Garzik -
Add support for 1G versions of Chelsio devices.
Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Add support for other versions of the 10G Chelsio boards.
This is basically a port of the vendor driver with the
TOE features removed.Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
This mutex is unused in current (non TOE) code.
Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Use kzalloc in several places.
Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Fix indentation and blank/tab issues.
Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
I noticed this driver (and several others) reinvent their own copy of the
existing CRC library. Don't have the hardware, but tested by extracting
code and comparing result.Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
If using Message Signaled Interrupts (MSI) then the IRQ will never
be shared. Don't call pci_disable_msi() unless using MSI.Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
It is possible for the sky2 driver NAPI poll routine to be called with
IRQ's disabled if netpoll is trying to make space in the tx queue. This
is an obscure path, but if it happens, the kfree_skb needs to happen
via softirq. Calling kfree_skb with IRQ's disabled is a not allowed.Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Update workarounds for 88E803X based on the latest SysKonnect vendor
driver version (8.41). Tested on EC_U rev A1, only.
These up the receive performance.Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Add new PCI ID for DLink 560SX.
This from the latest SysKonnect vendor driver (version 8.41).Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
If sky2 detects out of memory, or gets a bad frame, it reuses the same receive
buffer, but forgets to poke the hardware. This could lead to the receiver
getting stuck if there were lots of errors.Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
I would rather fix Andy's problem by not clearing
multicast information on link down.Also, add code to restore multicast state after ethtool phy reset.
Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Signed-off-by: Mariusz Kozlowski
Signed-off-by: Dale Farnsworth
Signed-off-by: Jeff Garzik -
Signed-off-by: Jeff Garzik
-
This bit of old backwards compatibility cruft can be removed in 2.6.20.
If there is still an device that calls register_netdev()
with a zero or blank name, it will get -EINVAL from register_netdevice().Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
drivers/built-in.o: In function `netxen_nic_remove':
netxen_nic_main.c:(.text+0x31b4d): undefined reference to `pci_disable_msi'
netxen_nic_main.c:(.text+0x31b8e): undefined reference to `pci_release_regions'
drivers/built-in.o: In function `netxen_init_module':
netxen_nic_main.c:(.init.text+0x3f17): undefined reference to `pci_module_init'
make: *** [.tmp_vmlinux1] Error 1Signed-off-by: Randy Dunlap
Signed-off-by: Jeff Garzik -
Use kzalloc() in chelsio driver.
Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
The chelsio driver can use __netif_rx_schedule_prep instead of it's own
test_and_set inline. Applies after the previous 4 patches.Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Network devices need to be free'd with free_netdev() not kfree()
otherwise the kernel will panic if an application has /sys/class/net/ethX/value
open and reads it.Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Complete removal of proc stuff from chelsio. The orignal driver had a debug
proc interface, but not all the code got removed.Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Whitespace cleanups. Replace leading spaces with tabs and fix indentation
Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
The chelsio network driver has some extra ifdef's that got in because the
driver was originally based on code that worked on 2.4 as well as 2.6.
This patch removes the dead code.Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Include of_platform header, and use
new of_[un]register_platform_driver() fns.Signed-off-by: Kim Phillips
Signed-off-by: Jeff Garzik -
Use NULL instead of 0 for pointers (cures sparse warnings).
drivers/net/sundance.c:1106:16: warning: Using plain integer as NULL pointer
drivers/net/sundance.c:1652:16: warning: Using plain integer as NULL pointerSigned-off-by: Randy Dunlap
Signed-off-by: Jeff Garzik -
NetXen: 1G/10G Ethernet Driver updates
- Temparature monitoring and device control
- Memory footprint reduction
- Driver changes to support newer version of firmwareSigned-off-by: Amit S. Kale
netxen_nic.h | 165 ++++++++++++++++++++++++++++++++--
netxen_nic_ethtool.c | 89 ++++++++++++------
netxen_nic_hdr.h | 71 +++++++++++++-
netxen_nic_hw.c | 206 +++++++++++++++++++++++++++++--------------
netxen_nic_hw.h | 8 +
netxen_nic_init.c | 239 +++++++++++++++++++++++++++++++++++++++++---------
netxen_nic_ioctl.h | 12 +-
netxen_nic_isr.c | 54 +++++------
netxen_nic_main.c | 121 +++++++++++++++++--------
netxen_nic_niu.c | 172 +++++++++++++++++++++++++++--------
netxen_nic_phan_reg.h | 24 ++++-
11 files changed, 891 insertions(+), 270 deletions(-)
Signed-off-by: Jeff Garzik