Commit graph android_kernel_sony_sdm845/drivers/net
Message SHA1
[TG3]: Update driver version and release date.
Signed-off-by: David S. Miller <davem@davemloft.net>

David S. Miller   commited 2005-06-08 14:15:52 -07:00
ed7fce6c13
[TG3]: Fix 5700/5701 DMA corruption on Apple G4.
Fix 5700/5701 DMA write corruption on Apple G4 by detecting the Apple
UniNorth PCI 1.5 chipset and adjusting the DMA write boundary to 16. DMA
test fails to detect the problem with this chipset.

Thanks to Manuel Perez Ayala for reporting the problem and helping to
debug it.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Michael Chan   authored and   David S. Miller   commited 2005-06-08 14:13:14 -07:00
6d1cfbab4d
[TG3]: Update driver version and release date.
Signed-off-by: David S. Miller <davem@davemloft.net>

David S. Miller   commited 2005-06-06 15:22:56 -07:00
15def7bfb6
[TG3] Fix link failure in 5701
On some 5701 devices with older bootcode, the LED configuration bits in
SRAM may be invalid with value zero. The fix is to check for invalid
bits (0) and default to PHY 1 mode. Incorrect LED mode will lead to
error in programming the PHY.

Thanks to Grant Grundler for debugging the problem.

>From Grant:
| In May, 2004,  tg3 v3.4 changed how MAC_LED_CTRL (0x40c) was getting
| programmed and how to determine what to program into LED_CTRL. The new
| code trusted NIC_SRAM_DATA_CFG (0x00000b58) to indicate what to write
| to LED_CTRL and MII EXT_CTRL registers. On "IOX Core Lan", SRAM was
| saying MODE_MAC (0x0) and that doesn't work.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Michael Chan   authored and   David S. Miller   commited 2005-06-06 15:16:20 -07:00
9ba2779419
[TG3]: Add TSO firmware license
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Michael Chan   authored and   David S. Miller   commited 2005-06-06 15:15:17 -07:00
49cabf49ab
Automatic merge of /spare/repo/netdev-2.6 branch skge
  authored and   Jeff Garzik   commited 2005-06-04 17:54:39 -04:00
2089a0d38b
Automatic merge of /spare/repo/netdev-2.6 branch starfire
  authored and   Jeff Garzik   commited 2005-06-04 17:19:42 -04:00
03d661d3d7
Automatic merge of /spare/repo/netdev-2.6 branch smc91x
  authored and   Jeff Garzik   commited 2005-06-04 17:15:04 -04:00
1a9505996d
Automatic merge of /spare/repo/netdev-2.6 branch remove-drivers
  authored and   Jeff Garzik   commited 2005-06-04 17:12:32 -04:00
bdb7a3427b
Automatic merge of /spare/repo/netdev-2.6 branch iff-running
  authored and   Jeff Garzik   commited 2005-06-04 17:11:28 -04:00
140fedb5f2
Automatic merge of /spare/repo/netdev-2.6 branch viro
  authored and   Jeff Garzik   commited 2005-06-04 17:07:40 -04:00
105adfc63f
Automatic merge of /spare/repo/netdev-2.6 branch r8169
  authored and   Jeff Garzik   commited 2005-06-04 17:06:57 -04:00
7f6a57a907
Automatic merge of /spare/repo/netdev-2.6 branch orinoco-hch
  authored and   Jeff Garzik   commited 2005-06-04 17:05:05 -04:00
4d8e11dcc2
Automatic merge of /spare/repo/netdev-2.6 branch ppp
  authored and   Jeff Garzik   commited 2005-06-04 17:03:55 -04:00
21035ffeb7
Automatic merge of /spare/repo/netdev-2.6 branch hdlc
  authored and   Jeff Garzik   commited 2005-06-04 17:03:09 -04:00
14d8ce70d5
Automatic merge of /spare/repo/netdev-2.6 branch dm9000
  authored and   Jeff Garzik   commited 2005-06-04 17:02:29 -04:00
79121839aa
Automatic merge of /spare/repo/netdev-2.6 branch 8139too-iomap
  authored and   Jeff Garzik   commited 2005-06-04 17:01:45 -04:00
b00b2f70dd
Automatic merge of /spare/repo/netdev-2.6 branch 8139cp
  authored and   Jeff Garzik   commited 2005-06-04 17:01:33 -04:00
df77cc44dc
Automatic merge of 'misc-fixes' branch from
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/jgarzik/netdev-2.6

Linus Torvalds   commited 2005-06-04 08:18:39 -07:00
d304506405
Automatic merge of /spare/repo/netdev-2.6 branch r8169-fix
  authored and   Jeff Garzik   commited 2005-06-04 04:31:44 -04:00
910313aa1d
Automatic merge of rsync://rsync.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Linus Torvalds   commited 2005-06-02 17:39:49 -07:00
aa447acb92
[NET]: Fix locking in shaper driver.
o use a semaphore instead of an opencoded and racy lock
 o move locking out of shaper_kick and into the callers - most just
   released the lock before calling shaper_kick
 o remove in_interrupt() tests.  from ->close we can always block, from
   ->hard_start_xmit and timer context never

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>

Christoph Hellwig   authored and   David S. Miller   commited 2005-06-02 16:36:00 -07:00
b597ef4712
[PATCH] drivers/net/hamradio/baycom_epp.c: cleanups
The times when tricky goto's produced better codes are long gone.

This patch should express the same in a better way.

(Also fixes the final gcc-4.0 x86 compile error)

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

Adrian Bunk   authored and   Linus Torvalds   commited 2005-06-02 15:12:31 -07:00
0fd56f6789
[TG3]: Fix bug in tg3_load_firmware_cpu
Add tg3_nvram_lock() and tg3_nvram_unlock() calls around tg3_halt_cpu().
It is possible that the bootcode may be loading code from nvram during
this call and stopping the cpu without getting the lock may cause
uncompleted nvram data to be left in the nvram data register. Subsequent
calls to read/write nvram data will fail.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Michael Chan   authored and   David S. Miller   commited 2005-05-29 14:59:49 -07:00
1b62815193
[TG3]: Add interrupt test
This test uses the previously added tg3_test_interrupt() to perform the
test.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Michael Chan   authored and   David S. Miller   commited 2005-05-29 14:59:20 -07:00
d4bc3927d2
[TG3]: Add loopback test
The test will loopback one packet in MAC loopback mode and verify the
packet data.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Michael Chan   authored and   David S. Miller   commited 2005-05-29 14:58:59 -07:00
c76949a682
[TG3]: Add memory test
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Michael Chan   authored and   David S. Miller   commited 2005-05-29 14:58:36 -07:00
7942e1dbd7
[TG3]: Add register test
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Michael Chan   authored and   David S. Miller   commited 2005-05-29 14:58:11 -07:00
a71116d1f3
[TG3]: Add parameter to tg3_halt
Add a reset kind parameter to tg3_halt() so that the RESET_KIND_SUSPEND
parameter can be passed to tg3_halt() before doing offline tests.

All other calls to tg3_halt() will use the RESET_KIND_SHUTDOWN
parameter.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Michael Chan   authored and   David S. Miller   commited 2005-05-29 14:57:48 -07:00
944d980eca
[TG3]: Add link test
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Michael Chan   authored and   David S. Miller   commited 2005-05-29 14:57:23 -07:00
ca43007a92
[TG3]: Add nvram test
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Michael Chan   authored and   David S. Miller   commited 2005-05-29 14:56:58 -07:00
566f86adb3
[TG3]: Add basic selftest infrastructure
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

Michael Chan   authored and   David S. Miller   commited 2005-05-29 14:56:34 -07:00
4cafd3f533
Automatic merge of /spare/repo/netdev-2.6 branch we18-ieee80211
  authored and   Jeff Garzik   commited 2005-05-27 22:57:33 -04:00
4c925f452c
[wireless] ipw2100: fix build after applying SuSE cleanups
s/ieee80211_header_data/ieee80211_hdr_3addr/

Jeff Garzik   commited 2005-05-27 22:53:55 -04:00
66b04a80ee
[PATCH] smc91x: more tweaks to help with RX overruns
Signed-off-by: Nicolas Pitre <nico@cam.org>

Index: linux-2.6/drivers/net/smc91x.c
===================================================================

Nicolas Pitre   authored and   Jeff Garzik   commited 2005-05-27 22:21:16 -04:00
ea9375607f
[PATCH] smc91x: improve diagnostic info
... and remove duplicate status defines.

Signed-off-by: Nicolas Pitre <nico@cam.org>

Index: linux-2.6/drivers/net/smc91x.c
===================================================================

Nicolas Pitre   authored and   Jeff Garzik   commited 2005-05-27 22:21:16 -04:00
8de901150f
[PATCH] 3c574_cs: disable interrupts in el3_close
3c574_cs forgets to disable interrupts during el3_close().
fix it by doing what 3c59x does.

Signed-off-by: Daniel Ritz <daniel.ritz@gmx.ch>

Daniel Ritz   authored and   Jeff Garzik   commited 2005-05-27 22:16:39 -04:00
b9a6eaffe7
Automatic merge of /spare/repo/netdev-2.6 branch we18-ieee80211
  authored and   Jeff Garzik   commited 2005-05-27 22:08:07 -04:00
51a730d758
Automatic merge of /spare/repo/netdev-2.6 branch we18
  authored and   Jeff Garzik   commited 2005-05-27 22:07:40 -04:00
ff0e0ea2f5
Automatic merge of /spare/repo/netdev-2.6 branch we18-ieee80211
  authored and   Jeff Garzik   commited 2005-05-27 22:02:58 -04:00
6cd15a9daf
Add ipw2200 wireless driver.
James Ketrenos   authored and   Jeff Garzik   commited 2005-05-27 21:59:35 -04:00
43f66a6ce8
Add ipw2100 wireless driver.
James Ketrenos   authored and   Jeff Garzik   commited 2005-05-27 21:57:53 -04:00
2c86c27501
Automatic merge of rsync://www.fr.zoreil.com/linux-2.6.git branch HEAD
  authored and   Jeff Garzik   commited 2005-05-27 20:12:17 -04:00
befc9e10d6
[PATCH] r8169: minor cleanup
- more consistent prototypes;
- rtl8169_rx_interrupt()
  o the error condition should be rare;
  o goto removal.

Signed-off-by: Richard Dawe <rich@phekda.gotadsl.co.uk>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>

Richard Dawe   authored and   Francois Romieu   commited 2005-05-27 21:12:00 +02:00
4dcb7d3377
[PATCH] r8169: add ethtool support for dumping the chip statistics
There aren't lots of statistics available, but this is what is available
according to the RealTek documentation.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>

Stephen Hemminger   authored and   Francois Romieu   commited 2005-05-27 21:11:56 +02:00
d4a3a0fc9c
[PATCH] r8169: ethtool message level control support
Also:
- ratelimit the too much work at interrupt message, so if under massive
  packet load the console doesn't get flooded;
- removal of a few PFX used in contexts where dev->name is available;
- s/->slot_name/pci_name/;
- printed_version is redundant with the debug option. Remove it and let
  the user decide.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>

Stephen Hemminger   authored and   Francois Romieu   commited 2005-05-27 21:11:52 +02:00
b57b7e5a11
[PATCH] r8169: add module parameter (media)
Add module parameter description for the media option.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>

Francois Romieu   commited 2005-05-27 21:11:49 +02:00
df0a1bf634
[PATCH] r8169: add module parameter (copybreak)
Add module parameter description for copybreak.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>

Stephen Hemminger   authored and   Francois Romieu   commited 2005-05-27 21:11:45 +02:00
1b7efd58bb
[PATCH] r8169: identify the napi version
To tell if driver is configured for NAPI or not, put -NAPI on driver
version. Remove the NAPI printk since the complete version information
is displayed once in the pci probe routine or returned via ethtool.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>

Stephen Hemminger   authored and   Francois Romieu   commited 2005-05-27 21:11:41 +02:00
f7ccf420e5
[PATCH] r8169: de-obfuscate supported PCI ID
De-obfuscate supported PCI ID

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>

Francois Romieu   commited 2005-05-27 21:11:37 +02:00
53456f607a