Commit graph android_kernel_sony_sdm845/drivers/net
Message SHA1
[PATCH] fs_enet build fix
Due to the recent update of the platform code, some platform device 
drivers fail to compile. This fix is for fs_enet, adding #include of a 
new header, to which a number of platform stuff has been relocated.

Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

Marcelo Tosatti   authored and   Paul Mackerras   commited 2005-11-10 11:25:02 +11:00
f7b9996990
[DRIVER MODEL] Convert platform drivers to use struct platform_driver
This allows us to eliminate the casts in the drivers, and eventually
remove the use of the device_driver function pointer methods for
platform device drivers.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>

Russell King   commited 2005-11-09 22:32:44 +00:00
3ae5eaec1d
Merge branch 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
Linus Torvalds   commited 2005-11-09 08:34:36 -08:00
a7c243b544
[PATCH] changing CONFIG_LOCALVERSION rebuilds too much, for no good reason
This patch removes almost all inclusions of linux/version.h.  The 3
#defines are unused in most of the touched files.

A few drivers use the simple KERNEL_VERSION(a,b,c) macro, which is
unfortunatly in linux/version.h.

There are also lots of #ifdef for long obsolete kernels, this was not
touched.  In a few places, the linux/version.h include was move to where
the LINUX_VERSION_CODE was used.

quilt vi `find * -type f -name "*.[ch]"|xargs grep -El '(UTS_RELEASE|LINUX_VERSION_CODE|KERNEL_VERSION|linux/version.h)'|grep -Ev '(/(boot|coda|drm)/|~$)'`

search pattern:
/UTS_RELEASE\|LINUX_VERSION_CODE\|KERNEL_VERSION\|linux\/\(utsname\|version\).h

Signed-off-by: Olaf Hering <olh@suse.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Olaf Hering   authored and   Linus Torvalds   commited 2005-11-09 07:55:57 -08:00
733482e445
[PATCH] IOC: And don't mark the things as broken Cowboy.
And don't mark the things as broken Cowboy.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

Ralf Baechle   authored and   Jeff Garzik   commited 2005-11-09 01:42:54 -05:00
f406db8cba
[PATCH] dgrs: fix warnings when CONFIG_ISA and CONFIG_PCI are not enabled
This patch fixes compiler warnings when CONFIG_ISA and CONFIG_PCI are not
enabled in the dgrc network driver.

Signed-off-by: Ashutosh Naik <ashutosh.naik@gmail.com>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

Ashutosh Naik   authored and   Jeff Garzik   commited 2005-11-09 01:42:54 -05:00
385023cb89
[PATCH] cris v10 eth: use ethtool_ops
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

Christoph Hellwig   authored and   Jeff Garzik   commited 2005-11-09 01:10:09 -05:00
76f2b4d98c
[PATCH] b44: increase version number
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

Francois Romieu   authored and   Jeff Garzik   commited 2005-11-09 01:02:41 -05:00
eac1dfcb32
[PATCH] b44: race on device closing
Usual fix:
- b44_interrupt() does not schedule NAPI polling when the device is
  going down;
- b44_close() waits for any scheduled NAPI polling before it starts
  to release the private structures of the device.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

Francois Romieu   authored and   Jeff Garzik   commited 2005-11-09 01:02:41 -05:00
ba5eec9c55
[PATCH] b44: replace B44_FLAG_INIT_COMPLETE with netif_running()
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

Francois Romieu   authored and   Jeff Garzik   commited 2005-11-09 01:02:41 -05:00
b9dcbb40f4
[wireless ipw2100] kill unused-var warnings for debug-disabled code
Jeff Garzik   commited 2005-11-09 00:49:38 -05:00
c2a8fad433
Merge rsync://bughost.org/repos/ipw-delta/
Jeff Garzik   commited 2005-11-09 00:47:08 -05:00
eedb9f09e9
[PATCH] skge: increase version number
Increase the driver version number and print version when
probing.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-11-08 23:58:08 -05:00
d7eaee087a
[PATCH] skge: spelling fixes
Fix some of my bad spelling.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-11-08 23:58:08 -05:00
8f3f8193a4
[PATCH] skge: use prefetch on receive
Use prefetch() in the interrupt path to try and look ahead
at the next place will be looking at in the ring.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-11-08 23:58:08 -05:00
1631aef151
[PATCH] skge: goto low power mode on shutdown
Go into power down mode on shutdown.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-11-08 23:58:08 -05:00
355ec57243
[PATCH] skge: add mii ioctl support
Basic MII ioctl support for skge driver.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-11-08 23:58:08 -05:00
2cd8e5d365
[PATCH] skge: use kzalloc
Can use kzalloc in skge driver.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-11-08 23:58:08 -05:00
7e86306113
[PATCH] skge: clear PCI PHY COMA mode on boot
When skge is booted up, the PHY may be stuck in power down state
by the previous OS. So we may need to turn it on.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>

Stephen Hemminger   authored and   Jeff Garzik   commited 2005-11-08 23:58:07 -05:00
adba9e23b4
Merge master.kernel.org:/home/rmk/linux-2.6-serial
Linus Torvalds   commited 2005-11-08 16:04:39 -08:00
8546df6f35
[SERIAL] IOC3: Update 8250 driver bits
Update the support for the 16550 present on most IOC3 configurations to use
the current API.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Ralf Baechle   authored and   Russell King   commited 2005-11-08 23:10:51 +00:00
15a9380782
[IRDA] donauboe: locking fix
From: Andrew Morton <akpm@osdl.org>

Two missing unlocks, as noted by Ted Unangst <tedu@coverity.com>

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

Andrew Morton   authored and   David S. Miller   commited 2005-11-08 09:41:13 -08:00
ac7c98eca8
[PPP]: add PPP MPPE encryption module
From: Matt Domsch <Matt_Domsch@dell.com>

The patch below implements the Microsoft Point-to-Point Encryption method
as a PPP compressor/decompressor.  This is necessary for Linux clients and
servers to interoperate with Microsoft Point-to-Point Tunneling Protocol
(PPTP) servers (either Microsoft PPTP servers or the poptop project) which
use MPPE to encrypt data when creating a VPN.

This patch differs from the kernel_ppp_mppe DKMS pacakge at
pptpclient.sourceforge.net by utilizing the kernel crypto routines rather
than providing its own SHA1 and arcfour implementations.

Minor changes to ppp_generic.c try to prevent a link from disabling
compression (in our case, the encryption) after it has started using
compression (encryption).

Feedback to <pptpclient-devel@lists.sourceforge.net> please.

Signed-off-by: Matt Domsch <Matt_Domsch@dell.com>
Cc: James Cameron <james.cameron@hp.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Brice Goglin <Brice.Goglin@ens-lyon.org>
Acked-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

Matt Domsch   authored and   David S. Miller   commited 2005-11-08 09:40:47 -08:00
b3f9b92a6e
[PPP]: handle misaligned accesses
From: "Philippe De Muyter" <phdm@macqel.be>

This patch avoids ppp-generated kernel crashes on machines where unaligned
accesses are forbidden (ie: m68000), by fixing ppp alignment setting for
reused skb's.

Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

Philippe De Muyter   authored and   David S. Miller   commited 2005-11-08 09:40:26 -08:00
6722e78c90
Merge git://git.tuxdriver.com/git/netdev-jwl
Jeff Garzik   commited 2005-11-07 22:54:48 -05:00
3133c5e896
Merge branch 'master'
Jeff Garzik   commited 2005-11-07 22:51:47 -05:00
6b995751c2
[PATCH] wireless net: Conversions of kmalloc/memset to kzalloc
More conversions of kmalloc/memset to kzalloc

Signed-off-by: Panagiotis Issaris <takis@issaris.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Panagiotis Issaris   authored and   John W. Linville   commited 2005-11-07 21:50:01 -05:00
b69a3aa85c
[PATCH] atmel: memset correct range
Specify the correct range when calling memset in atmel_get_range.
Do this by specifying the size of the structure, rather than the size
of the pointer.

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Alexey Dobriyan   authored and   John W. Linville   commited 2005-11-07 21:50:01 -05:00
f36be62115
[PATCH] Fix sparse warning in e100 driver.
The patch below fixes the following sparse warnings:

drivers/net/e100.c:1481:13: warning: Using plain integer as NULL pointer
drivers/net/e100.c:1767:27: warning: Using plain integer as NULL pointer
drivers/net/e100.c:1847:27: warning: Using plain integer as NULL pointer

Signed-off-by: Luiz Capitulino <lcapitulino@mandriva.com.br>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Luiz Fernando Capitulino   authored and   John W. Linville   commited 2005-11-07 21:50:01 -05:00
097688ef47
[PATCH] prism54 : Transmit stats updated in wrong place
Move update of the transmit statistics to the correct place.  This
would be just before starting transmission rather than (potentially
long) afterward.

Signed-off-by: Roger While <simrw@sim-basis.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Roger While   authored and   John W. Linville   commited 2005-11-07 21:50:00 -05:00
0b47939fe6
[PATCH] prism54 : Unused variable / extraneous udelay
In isl_38xx.c :
The variable "counter" is defined and incremented but never
used except if the driver is hand-compiled setting
VERBOSE > SHOW_ERROR_MESSAGES.
Move the definition and the increment to within the
#if VERBOSE ..   block.

Remove extraneous udelay's.
These are not required when triggering the device.

Signed-off-by: Roger While <simrw@sim-basis.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Roger While   authored and   John W. Linville   commited 2005-11-07 21:50:00 -05:00
de7fe963b1
[PATCH] drivers/net/s2io.c: make functions static
This patch makes needlessly global functions static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Adrian Bunk   authored and   John W. Linville   commited 2005-11-07 21:50:00 -05:00
ac1f60db6a
[PATCH] kill include/linux/eeprom.h
This patch kills include/linux/eeprom.h .

Rationale:
- it was only used by one single driver
- even this driver didn't do anything useful with it
- most of this file are non-inline and non-static functions (sic)

This removes include/linux/eeprom.h and cleans drivers/net/ns83820.c up.

If you think eeprom.h should be used more extensively, please consider:
- the code has to be moved from the header file to a .c file
- the currently empty write function has to be implemented
- ns83820.c or any other driver should actually use it

Noone did any of these during the more than 3 years eeprom.h already
exists...

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Adrian Bunk   authored and   John W. Linville   commited 2005-11-07 21:50:00 -05:00
48888cc612
[PATCH] bonding: fix feature consolidation
This should resolve http://bugzilla.kernel.org/show_bug.cgi?id=5519

The current feature computation loses bits that it doesn't know about,
resulting in an inability to add VLANs and possibly other havoc.
Rewrote function to preserve bits it doesn't know about, remove an
unneeded state variable, and simplify the code.

Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>

Jay Vosburgh   authored and   John W. Linville   commited 2005-11-07 21:50:00 -05:00
8e3babcd69
Update version ipw2200 stamp to 1.0.8
James Ketrenos   commited 2005-11-07 17:52:15 -06:00
cf1b479b69
Updated firmware version stamp to 2.4 from 2.3 so it will use the latest firmware.
You can obtain the firmware at http://ipw2200.sf.net/firmware.php

Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

James Ketrenos   commited 2005-11-07 17:52:13 -06:00
81715376de
Fixed parameter reordering in firmware log routine.
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

James Ketrenos   commited 2005-11-07 17:52:10 -06:00
286568ab1e
Fixed problem with not being able to send broadcast packets.
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

Hong Liu   authored and   James Ketrenos   commited 2005-11-07 17:52:07 -06:00
9d5b880bb8
Added channel support for ipw2200 cards identified as 'ZZR'
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

James Ketrenos   commited 2005-11-07 17:52:05 -06:00
035205760e
Removed warning about TKIP not being configured if countermeasures are
configured.

Countermeasures default to being turned off when wpa_supplicant runs,
regardless of if TKIP is being used.  They are only turned on if a TKIP
is running.  The warning we were printing is therefore not needed.

Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

James Ketrenos   commited 2005-11-07 17:52:02 -06:00
991d1cc596
Fixes missed beacon logic in relation to on-network AP roaming.
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

Ben Cahill   authored and   James Ketrenos   commited 2005-11-07 17:52:00 -06:00
e758256104
Removed legacy WIRELESS_EXT checks from ipw2200.c
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

James Ketrenos   commited 2005-11-07 17:51:57 -06:00
8935f39e86
Fix 'Driver using old /proc/net/wireless support, please fix driver !' message.
Wireless extensions moved the get_wireless_stats handler from being
in net_device into wireless_handler.

Signed-off-by: Benoit Boissinot <benoit.boissinot@ens-lyon.org>
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

Benoit Boissinot   authored and   James Ketrenos   commited 2005-11-07 17:51:54 -06:00
97a78ca968
Pulled out a stray KERNEL_VERSION check around the suspend handler.
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

James Ketrenos   commited 2005-11-07 17:51:52 -06:00
87bb5e3814
Updated driver version stamps for ipw2100 (1.1.3) and ipw2200 (1.0.7)
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

James Ketrenos   commited 2005-11-07 17:51:49 -06:00
9ef539d0d6
Fixes WEP firmware error condition.
The problem is caused by the patch in bug455 -- Channel change flood
generates fatal error.

The patch set the DISASSOCIATING status bit after sending the command.
The process was scheduled out when waiting for the command to be sent to
the card. The disassociated notification clears the DISASSOCIATING bit
in the tasklet before the process set the bit.

Move the bit setting code before sending the command now.

Signed-off-by: Hong Liu <hong.liu@intel.com>
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

Hong Liu   authored and   James Ketrenos   commited 2005-11-07 17:51:47 -06:00
e63247269d
[Fix bug# 771] Too many (8) bytes recieved when using AES/hwcrypto
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

Zhu Yi   authored and   James Ketrenos   commited 2005-11-07 17:51:44 -06:00
f4ff497d45
Fixes problem with WEP not working (association succeeds, but no Tx/Rx)
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

Hong Liu   authored and   James Ketrenos   commited 2005-11-07 17:51:41 -06:00
29cb843e64
Removed PF_SYNCTHREAD legacy.
The PF_SYNCTHREAD check was introduced to try and remain compatible with
SWSUSP2.  This check is no longer needed with newer versions.

Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

James Ketrenos   commited 2005-11-07 17:51:39 -06:00
392d0f6d07
Fixed problem with get_cmd_string not existing if CONFIG_IPW_DEBUG disabled.
Signed-off-by: James Ketrenos <jketreno@linux.intel.com>

James Ketrenos   commited 2005-11-07 17:51:36 -06:00
fb7ccc9e6d