- 27 Jan, 2006 20 commits
-
-
Dale Farnsworth authored
We shouldn't expose the hardware register contents in platform_data. The only things we allow the user to configure are autoneg, speed, and duplex. Add specific platform_data fields for these values and remove the registers configs. Signed-off-by:
Dale Farnsworth <dale@farnsworth.org> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
James Chapman authored
Use the common ethtool support functions of the MII library. Add generic MII ioctl handler. Add PHY parameter speed/duplex/negotiation initialization and modification. Signed-off-by:
James Chapman <jchapman@katalix.com> Signed-off-by:
Dale Farnsworth <dale@farnsworth.org> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
James Chapman authored
Modify link up/down handling to use the functions from the MII library. Note that I track link state using the MII PHY registers rather than the mv643xx chip's link state registers because I think it's cleaner to use the MII library code rather than writing local driver support code. It is also useful to make the actual MII registers available to the user with maskable kernel printk messages so the MII registers are being read anyway Signed-off-by:
James Chapman <jchapman@katalix.com> Signed-off-by:
Dale Farnsworth <dale@farnsworth.org> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Dale Farnsworth authored
Add and use the following functions: mv643xx_eth_port_enable_tx() mv643xx_eth_port_enable_rx() mv643xx_eth_port_disable_tx() mv643xx_eth_port_disable_rx() so that ports are enabled/disabled consistently. Signed-off-by:
Dale Farnsworth <dale@farnsworth.org> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Dale Farnsworth authored
tx_ring_skbs is actually a count of tx descriptors currently in use. Since there may be multiple descriptors per skb, it is not the same as the number of skbs in the ring. Also change rx_ring_skbs to rx_desc_count to be consistent. Signed-off-by:
Dale Farnsworth <dale@farnsworth.org> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Dale Farnsworth authored
Remove duplicated code by having unicast and multicast code use a common filter table function: eth_port_set_filter_table_entry(). Signed-off-by:
Dale Farnsworth <dale@farnsworth.org> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Dale Farnsworth authored
mp->port_mac_addr is just a redundant copy of dev->dev_addr, so remove it. Signed-off-by:
Dale Farnsworth <dale@farnsworth.org> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Jeff Garzik authored
-
Dale Farnsworth authored
Enable mv643xx_eth driver to work when built as a module on mv64x60-based embedded systems. Signed-off-by:
Dale Farnsworth <dale@farnsworth.org> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Dale Farnsworth authored
Signed-off-by:
Dale Farnsworth <dale@farnsworth.org> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Paolo Galtieri authored
Update dev->last_rx on packet receive This fix corrects errors seen during configuration of the bonding driver. Signed-off-by:
Paolo Galtieri <pgaltieri@mvista.com> Signed-off-by:
Dale Farnsworth <dale@farnsworth.org> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Dale Farnsworth authored
This patch eliminates a spinlock recursion bug introduced recently. Since eth_port_send() is always called with the lock held, we simply remove the locking inside the function itself. Signed-off-by:
Dale Farnsworth <dale@farnsworth.org> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Eric Sesterhenn / snakebyte authored
hi, this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by:
Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Eric Sesterhenn / snakebyte authored
hi, this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away One of the if()s contains a call to de_is_running(), which seems to be safe to replace, but someone with more knownledge of the code might want to verify this... Signed-off-by:
Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Eric Sesterhenn / snakebyte authored
hi, this changes if() BUG(); constructs to BUG_ON() which is cleaner and can better optimized away Signed-off-by:
Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Jeff Garzik authored
-
Ananda Raju authored
There is a problem with fragmented skb in s2io driver version 2.0.9.4 available in 2.6.16-rc1 kernel. The adapter will fail to transmit if any scatter-gather skb arrives. This patch provides fix for the above described problem. Signed-off-by:
Ananda Raju <ananda.raju@neterion.com> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Stephen Hemminger authored
On my laptop, the b44 device is created and the carrier state defaults to ON when created by alloc_etherdev. This means tools like NetworkManager see the carrier as On and try and bring the device up. The correct thing to do is mark the carrier as Off when device is created. Signed-off-by:
Stephen Hemminger <shemminger@osdl.org> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Eric Sesterhenn authored
tmp in ace_init is u32 thus rendering read_eeprom_byte() return values checks useless. Signed-off-by:
Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by:
Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
Eric Sesterhenn authored
Since get_settings() returns a signed int and it gets checked for < 0 to catch an error, res should be a signed int too. Signed-off-by:
Eric Sesterhenn <snakebyte@gmx.de> Signed-off-by:
Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by:
Jeff Garzik <jgarzik@pobox.com>
-
- 20 Jan, 2006 7 commits
-
-
David S. Miller authored
Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Linus Torvalds authored
-
Linus Torvalds authored
-
-
David S. Miller authored
The compat layer timeout handling changes in: 9f72949f are busted. This is most easily seen with an X application that uses sub-second select/poll timeout such as emacs. You hit a key and it takes a second or so before the app responds. The two ROUND_UP() calls upon entry are using {tv,ts}_sec where it should instead be using {tv_usec,ts_nsec}, which perfectly explains the observed incorrect behavior. Another bug shot down with git bisect. Signed-off-by:
David S. Miller <davem@davemloft.net> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
David S. Miller authored
Or else we break on ppc32 and other 32-bit platforms. Based upon a patch from Harald Welte. Signed-off-by:
David S. Miller <davem@davemloft.net>
-
David S. Miller authored
-
- 19 Jan, 2006 13 commits
-
-
John Hawkes authored
Fix an unnecessary softlockup watchdog warning in the ia64 uncached_build_memmap() that occurs occasionally at 256p and always at 512p. The problem occurs at boot time. Signed-off-by:
John Hawkes <hawkes@sgi.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Tony Luck <tony.luck@intel.com>
-
Jes Sorensen authored
Migrate perfmon from using an old semaphore to a completion handler. Signed-off-by:
Jes Sorensen <jes@sgi.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Tony Luck <tony.luck@intel.com>
-
Jes Sorensen authored
Migrate arch/ia64/ia32/sys_ia32 to using a mutex for mmap protection. Signed-off-by:
Jes Sorensen <jes@sgi.com> Signed-off-by:
Ingo Molnar <mingo@elte.hu> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Tony Luck <tony.luck@intel.com>
-
David S. Miller authored
This also includes by necessity _TIF_RESTORE_SIGMASK support, which actually resulted in a lot of cleanups. The sparc signal handling code is quite a mess and I should clean it up some day. Signed-off-by:
David S. Miller <davem@davemloft.net>
-
David S. Miller authored
Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Linus Torvalds authored
-
mark gross authored
some driver clean ups, and a re-posting of changes that are needed to match the updated TPS. Signed-off-by:
Mark Gross <mark.gross@intel.com> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
This is a subset of the bluesmoke project core code, stripped of the NMI work which isn't ready to merge and some of the "interesting" proc functionality that needs reworking or just has no place in kernel. It requires no core kernel changes except the added scrub functions already posted. The goal is to merge further functionality only after the core code is accepted and proven in the base kernel, and only at the point the upstream extras are really ready to merge. From: doug thompson <norsk5@xmission.com> This converts EDAC to sysfs and is the final chunk neccessary before EDAC has a stable user space API and can be considered for submission into the base kernel. Signed-off-by:
Alan Cox <alan@redhat.com> Signed-off-by:
Adrian Bunk <bunk@stusta.de> Signed-off-by:
Jesper Juhl <jesper.juhl@gmail.com> Signed-off-by:
doug thompson <norsk5@xmission.com> Signed-off-by:
Pavel Machek <pavel@suse.cz> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
Signed-off-by:
Alan Cox <alan@redhat.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
Signed-off-by:
Alan Cox <alan@redhat.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
Signed-off-by:
Alan Cox <alan@redhat.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Alan Cox authored
EDAC requires a way to scrub memory if an ECC error is found and the chipset does not do the work automatically. That means rewriting memory locations atomically with respect to all CPUs _and_ bus masters. That means we can't use atomic_add(foo, 0) as it gets optimised for non-SMP This adds a function to include/asm-foo/atomic.h for the platforms currently supported which implements a scrub of a mapped block. It also adjusts a few other files include order where atomic.h is included before types.h as this now causes an error as atomic_scrub uses u32. Signed-off-by:
Alan Cox <alan@redhat.com> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
David Woodhouse authored
Add the sys_pselect6() and sys_poll() calls to the i386 syscall table. Signed-off-by:
David Woodhouse <dwmw2@infradead.org> Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-