summaryrefslogtreecommitdiffstats
path: root/drivers/net (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] ixp2000: add netpoll supportLennert Buytenhek2005-12-011-0/+12
| | | | | | | Add netpoll support to the ixp2000 driver. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] enp2611: disable/enable SERDES carrier on interface down/upLennert Buytenhek2005-12-011-0/+5
| | | | | | | | Disable/enable the SERDES carrier when an interface is administratively downed/upped. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] pm3386: implement resetLennert Buytenhek2005-12-011-1/+31
| | | | | | | | Implement pm3386 reset. A reset zeroes out the internally stored MAC addresses, so we need to save and reload them by hand. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] pm3386: add hook for setting carrierLennert Buytenhek2005-12-012-0/+6
| | | | | | | | | Add a pm3386 hook for disabling/enabling the SERDES carrier, so that we can disable it when the interface is administratively downed, and enable it when it is upped. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] pm3386: add hook for setting MAC addressLennert Buytenhek2005-12-012-0/+8
| | | | | | | | | | When we reset the pm3386, it loses its internally stored MAC addresses that were programmed into it by the bootloader (and are used by the hardware for the generation of PAUSE frames.) Add a hook to allow setting these addresses so that we can program them back by hand. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] ixp2000: report MAC addresses for each port on initLennert Buytenhek2005-12-011-0/+8
| | | | | | | | After initialising, report the MAC address that we're using for each port. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] enp2611: report link up/down eventsLennert Buytenhek2005-12-011-0/+5
| | | | | | | Report carrier going up/down. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] enp2611: use 'dev' in link status timerLennert Buytenhek2005-12-011-4/+4
| | | | | | | | We assign nds[i] to a local variable 'dev', which we never use afterwards. Use the local variable instead. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] enp2611: don't check netif_running() in link status timerLennert Buytenhek2005-12-011-3/+0
| | | | | | | | Even after an interface has gone !netif_running(), we still want to catch the 'carrier went down' event for our internal bookkeeping. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] ixp2000: use netif_rx_schedule_testLennert Buytenhek2005-12-011-7/+1
| | | | | | | | | | The sky2 driver introduced netif_rx_schedule_test(). This is exactly what we need, so remove our local version of this function (which was called netif_rx_schedule_prep_notup) and use the generic one instead. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] caleb/pm3386: include proper header filesLennert Buytenhek2005-12-012-0/+2
| | | | | | | | Make caleb.c and pm3386.c include their own header files, to catch incorrect prototype definitions. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] pm3386: remove unnecessary udelaysLennert Buytenhek2005-12-011-13/+0
| | | | | | | Remove a number of unnecessary udelay() calls. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] pm3386: zero stats properlyLennert Buytenhek2005-12-011-1/+1
| | | | | | | Zero our stats structure properly. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] ixp2000: register netdevices lastLennert Buytenhek2005-12-011-18/+17
| | | | | | | | Do not register our netdevices with the kernel until we've actually finished setting up the hardware and microcode. Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sk98lin: remove /proc interfaceshemminger@osdl.org2005-12-013-308/+2
| | | | | | | | Remove device specific proc interface. It doesn't handle renames correctly; it ain't worth fixing. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sk98lin: remove redundant fields in device infoshemminger@osdl.org2005-12-012-44/+34
| | | | | | | | Shrink size of per device data by removing redundant fields or things that are only used at boot up. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* [PATCH] sk98lin: allow ethtool checksum on/off per portshemminger@osdl.org2005-12-013-36/+79
| | | | | | | Allow control of checksumming parameters via ethtool. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* Merge branch 'upstream-fixes'Jeff Garzik2005-12-017-1028/+55
|\
| * [PATCH] sk98lin: avoid message confusion with skgeshemminger@osdl.org2005-12-011-3/+3
| | | | | | | | | | | | | | | | Avoid possible confusion between skge and sk98lin driver by tagging messages properly. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * [PATCH] sk98lin: add permanent address supportshemminger@osdl.org2005-12-012-1/+4
| | | | | | | | | | | | | | Add permanent address and link status support via ethtool. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * [PATCH] sk98lin: fix checksumming codeshemminger@osdl.org2005-12-014-1007/+38
| | | | | | | | | | | | | | | | | | | | Remove code from sk98lin that does it's own checksum validation. This code is incorrect when dealing with nested protocols like VLAN's, and it is better to use regular receive code path to handle hardware checksum. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * [PATCH] e1000: fix for dhcp issueJesse Brandeburg2005-12-011-13/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Parse outgoing packets in e1000_transfer_dhcp_info as raw packet even if protocol bits are set. pump, for instance causes kernel panic on some systems, if parsed via udp header. Thanks to Derrell Lipman <Derrell.Lipman@BacklotTech.com> for reporting and testing. Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * b44: increase version numberFrancois Romieu2005-11-301-2/+2
| | | | | | | | Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
| * b44: early return in dev->do_ioctl when the device is not upFrancois Romieu2005-11-301-2/+5
| | | | | | | | | | | | | | | | The device has not gone through a whole reset/init sequence until the device is up. Accessing the mii interface before this point is not safe. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
| * b44: missing netif_wake_queue() in b44_open()Mark Lord2005-11-301-0/+2
| | | | | | | | | | | | | | | | | | | | This patch fixes a problem plaguing Dell notebooks with built-in b44 ethernet: The driver refuses to transmit packets of any kind until after the first 5-second tx_timeout occurs. This bug causes DHCP negotiation to fail (timeout) during installation of Ubuntu Linux. Signed-off-by: Mark Lord <lkml@rtr.ca> Signed-off-by: Andrew Morton <akpm@osdl.org>
* | [PATCH] sky2: update version numbershemminger@osdl.org2005-12-011-3/+4
| | | | | | | | | | | | | | Update version number and print version in boot message. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sky2: use pci_register_drivershemminger@osdl.org2005-12-011-1/+1
| | | | | | | | | | | | | | Switch to using pci_register_driver as per current convention. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sky2: remove pci-express hacksshemminger@osdl.org2005-12-012-18/+6
| | | | | | | | | | | | | | | | Eliminate special case tuning for PCI-Express. This code causes receive hangs and doesn't help performance much anyway. Signed-off-by: Stephen Hemminger <shemmnger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sky2: byteorder annotationshemminger@osdl.org2005-12-011-10/+10
| | | | | | | | | | | | | | Use byteorder annotation for hardware structures Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sky2: dual port tx completionshemminger@osdl.org2005-12-011-10/+16
| | | | | | | | | | | | | | | | | | Sometimes on dual port cards, one tx complete may cover both ports. To handle that rearrange poll routine to lookup at end. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sky2: race with MTU changeshemminger@osdl.org2005-12-011-3/+17
| | | | | | | | | | | | | | Avoid possible race conditions when doing MTU and change and shutdown. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sky2: change netif_rx_schedule_test to __netif_schedule_prepshemminger@osdl.org2005-12-011-2/+3
| | | | | | | | | | | | | | | | I didn't like the name netif_rx_schedule_test(), in earlier patches and changed to __netif_rx_schedule_prep to be more consistent. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sky2: handle DMA boundary crossingshemminger@osdl.org2005-12-011-6/+12
| | | | | | | | | | | | | | Handle the case of DMA spanning 32 bit boundary. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sky2: add Yukon-EC ultra supportshemminger@osdl.org2005-12-012-3/+33
| | | | | | | | | | | | | | | | Add support for Yukon-EC Ultra chip as implemented in SysKonnect's driver version 8.26. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sky2: improve receive performanceshemminger@osdl.org2005-12-011-32/+34
| | | | | | | | | | | | | | | | | | Changes to receive side processing: * bigger receive ring * clean up polling loop Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sky2: fix receive flush/pause issuesshemminger@osdl.org2005-12-011-13/+7
| | | | | | | | | | | | | | | | Fix issues with pause and flush. This code works on all chip versions tested. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sky2: add MII supportshemminger@osdl.org2005-12-011-8/+61
| | | | | | | | | | | | | | Add MII ioctl interface to sky2. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | [PATCH] sky2: eliminate special case for EC-A1shemminger@osdl.org2005-12-012-13/+2
| | | | | | | | | | | | | | | | Eliminate special case for EC-A1. The overhead isn't so great that having config option is worth it. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
* | Merge branch 'master'Jeff Garzik2005-11-291-0/+2
|\|
| * [PATCH] net: Fix compiler-error on dgrs.c when !CONFIG_PCIRichard Knutsson2005-11-221-0/+2
| | | | | | | | | | | | | | | | | | drivers/net/dgrs.c: In function `dgrs_init_module': drivers/net/dgrs.c:1598: `dgrs_pci_driver' undeclared (first use in this function) Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
* | [bonding] Remove superfluous changelog.Jeff Garzik2005-11-287-619/+0
| | | | | | | | | | No need to record this information in source code, its all in the git repository, and kernel archives.
* | Merge branch 'upstream-fixes'Jeff Garzik2005-11-184-15/+24
|\|
| * [wireless hermes] build fixJeff Garzik2005-11-181-3/+3
| |
| * Merge branch 'upstream-fixes' of git://git.tuxdriver.com/git/netdev-jwlJeff Garzik2005-11-183-12/+21
| |\
| | * [PATCH] ipw2100: Fix 'Driver using old /proc/net/wireless...' messageJames Ketrenos2005-11-182-11/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ipw2100: Fix 'Driver using old /proc/net/wireless...' message Wireless extensions moved the get_wireless_stats handler from being in net_device into wireless_handler. A prior instance of this patch resolved the issue for the ipw2200. This one fixes it for the ipw2100. Signed-off-by: Benoit Boissinot <benoit.boissinot@ens-lyon.org> Signed-off-by: James Ketrenos <jketreno@linux.intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
| | * [PATCH] fec_8xx: make CONFIG_FEC_8XX depend on CONFIG_8xxJohn W. Linville2005-11-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Change CONFIG_FEC_8XX to depend on CONFIG_8xx instead of CONFIG_FEC. CONFIG_FEC depends on ColdFire CPUs, which does not apply for the PPC 8xx processors. Signed-off-by: John W. Linville <linville@tuxdriver.com>
* | | Merge branch 'upstream-fixes'Jeff Garzik2005-11-1812-46/+328
|\| |
| * | [PATCH] drivers/net/wireless/hermes.c unsigned int comparisionGabriel A. Devenyi2005-11-181-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hermas_bap_pread, hermes_bap_pwrite, and hermes_bap_pwrite_pad all have a parameter "len" that is declared unsigned, but checked for a value less than zero. Auditing the callers, it is possible for len to be passed a negative value, so len should be an int. Thanks to LinuxICC (http://linuxicc.sf.net) Signed-off-by: Gabriel A. Devenyi <ace@staticwave.ca> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * | [PATCH] prism54 : Remove extraneous udelay/register readRoger While2005-11-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In isl_38xx.c In routine isl38xx_trigger-device Move unnecessary udelay/register read. This is only required when hand-compiling the driver and setting VERBOSE > SHOW_ERROR_MESSAGES Signed-off-by: Roger While <simrw@sim-basis.de> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
| * | [PATCH] SAA9730: Add missing header bits.Ralf Baechle2005-11-181-11/+25
| | | | | | | | | | | | | | | | | | | | | This header file patch was missing from the recent SAA9730 patch. Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>