Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
49e68be0
Commit
49e68be0
authored
Sep 25, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Manual merge of drivers/net/*/Kconfig changes.
parents
c8931e4d
8ab7991e
Changes
17
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
587 additions
and
1044 deletions
+587
-1044
Documentation/networking/sk98lin.txt
Documentation/networking/sk98lin.txt
+11
-222
drivers/net/Kconfig
drivers/net/Kconfig
+24
-150
drivers/net/arcnet/Kconfig
drivers/net/arcnet/Kconfig
+15
-25
drivers/net/sk98lin/h/skdrv1st.h
drivers/net/sk98lin/h/skdrv1st.h
+5
-2
drivers/net/sk98lin/h/skdrv2nd.h
drivers/net/sk98lin/h/skdrv2nd.h
+20
-4
drivers/net/sk98lin/h/skgeinit.h
drivers/net/sk98lin/h/skgeinit.h
+9
-10
drivers/net/sk98lin/h/sktypes.h
drivers/net/sk98lin/h/sktypes.h
+5
-2
drivers/net/sk98lin/h/skversion.h
drivers/net/sk98lin/h/skversion.h
+16
-5
drivers/net/sk98lin/skdim.c
drivers/net/sk98lin/skdim.c
+15
-3
drivers/net/sk98lin/skge.c
drivers/net/sk98lin/skge.c
+258
-84
drivers/net/sk98lin/skproc.c
drivers/net/sk98lin/skproc.c
+59
-228
drivers/net/tlan.c
drivers/net/tlan.c
+6
-1
drivers/net/tulip/Kconfig
drivers/net/tulip/Kconfig
+18
-30
drivers/net/wireless/Makefile
drivers/net/wireless/Makefile
+3
-1
drivers/net/wireless/arlan-main.c
drivers/net/wireless/arlan-main.c
+81
-190
drivers/net/wireless/arlan-proc.c
drivers/net/wireless/arlan-proc.c
+5
-20
drivers/net/wireless/arlan.h
drivers/net/wireless/arlan.h
+37
-67
No files found.
Documentation/networking/sk98lin.txt
View file @
49e68be0
...
@@ -2,9 +2,9 @@
...
@@ -2,9 +2,9 @@
All rights reserved
All rights reserved
===========================================================================
===========================================================================
sk98lin.txt created
18-Jul
-2003
sk98lin.txt created
23-Sep
-2003
Readme File for sk98lin v6.1
4
Readme File for sk98lin v6.1
8
Marvell Yukon/SysKonnect SK-98xx Gigabit Ethernet Adapter family driver for LINUX
Marvell Yukon/SysKonnect SK-98xx Gigabit Ethernet Adapter family driver for LINUX
This file contains
This file contains
...
@@ -19,7 +19,6 @@ This file contains
...
@@ -19,7 +19,6 @@ This file contains
5 Large Frame Support
5 Large Frame Support
6 VLAN and Link Aggregation Support (IEEE 802.1, 802.1q, 802.3ad)
6 VLAN and Link Aggregation Support (IEEE 802.1, 802.1q, 802.3ad)
7 Troubleshooting
7 Troubleshooting
8 History
===========================================================================
===========================================================================
...
@@ -76,8 +75,8 @@ follows:
...
@@ -76,8 +75,8 @@ follows:
To integrate the driver permanently into the kernel, proceed as follows:
To integrate the driver permanently into the kernel, proceed as follows:
1. Select the menu "Network device support" and then "Ethernet(1000Mbit)"
1. Select the menu "Network device support" and then "Ethernet(1000Mbit)"
2. Mark "Marvell Yukon
/SysKonnect SK-98xx/SK-95xx Gigabit Ethernet Adapter
2. Mark "Marvell Yukon
Chipset / SysKonnect SK-98xx family support"
support"
with (*)
with (*)
3. Build a new kernel when the configuration of the above options is
3. Build a new kernel when the configuration of the above options is
finished.
finished.
4. Install the new kernel.
4. Install the new kernel.
...
@@ -88,8 +87,8 @@ To use the driver as a module, proceed as follows:
...
@@ -88,8 +87,8 @@ To use the driver as a module, proceed as follows:
1. Enable 'loadable module support' in the kernel.
1. Enable 'loadable module support' in the kernel.
2. For automatic driver start, enable the 'Kernel module loader'.
2. For automatic driver start, enable the 'Kernel module loader'.
3. Select the menu "Network device support" and then "Ethernet(1000Mbit)"
3. Select the menu "Network device support" and then "Ethernet(1000Mbit)"
4. Mark "Marvell Yukon
/SysKonnect SK-98xx/SK-95xx Gigabit Ethernet Adapter
4. Mark "Marvell Yukon
Chipset / SysKonnect SK-98xx family support"
support"
with (M)
with (M)
5. Execute the command "make modules".
5. Execute the command "make modules".
6. Execute the command "make modules_install".
6. Execute the command "make modules_install".
The appropiate modules will be installed.
The appropiate modules will be installed.
...
@@ -201,7 +200,7 @@ You also want to set DuplexCapabilities on the first adapter
...
@@ -201,7 +200,7 @@ You also want to set DuplexCapabilities on the first adapter
to FULL, and on the second adapter to HALF.
to FULL, and on the second adapter to HALF.
Then, you must enter:
Then, you must enter:
modprobe sk98lin AutoNeg
=On,Off DupCap
=Full,Half
modprobe sk98lin AutoNeg
_A=On,Off DupCap_A
=Full,Half
NOTE: The number of adapters that can be configured this way is
NOTE: The number of adapters that can be configured this way is
limited in the driver (file skge.c, constant SK_MAX_CARD_PARAM).
limited in the driver (file skge.c, constant SK_MAX_CARD_PARAM).
...
@@ -259,9 +258,9 @@ This parameter can be used to set the flow control capabilities the
...
@@ -259,9 +258,9 @@ This parameter can be used to set the flow control capabilities the
port reports during auto-negotiation. It can be set for each port
port reports during auto-negotiation. It can be set for each port
individually.
individually.
Possible modes:
Possible modes:
-- Sym = Symetric: both link partners are allowed to send
-- Sym = Sym
m
etric: both link partners are allowed to send
PAUSE frames
PAUSE frames
-- SymOrRem = SymetricOrRemote: both or only remote partner
-- SymOrRem = Sym
m
etricOrRemote: both or only remote partner
are allowed to send PAUSE frames
are allowed to send PAUSE frames
-- LocSend = LocalSend: only local link partner is allowed
-- LocSend = LocalSend: only local link partner is allowed
to send PAUSE frames
to send PAUSE frames
...
@@ -286,7 +285,7 @@ with this parameter.
...
@@ -286,7 +285,7 @@ with this parameter.
4.2 Adapter Parameters
4.2 Adapter Parameters
-----------------------
-----------------------
Connection Type
Connection Type
(SK-98xx V2.0 copper adapters only)
---------------
---------------
Parameter: ConType
Parameter: ConType
Values: Auto, 100FD, 100HD, 10FD, 10HD
Values: Auto, 100FD, 100HD, 10FD, 10HD
...
@@ -546,7 +545,7 @@ Problem: Upon driver start, the following error message is displayed:
...
@@ -546,7 +545,7 @@ Problem: Upon driver start, the following error message is displayed:
Nr: 0xcc
Nr: 0xcc
Msg: SkGeInitPort() cannot init running ports"
Msg: SkGeInitPort() cannot init running ports"
Reason: You are using a driver compiled for single processor machines
Reason: You are using a driver compiled for single processor machines
on a multiprocessor machine with SMP (Symetric MultiProcessor)
on a multiprocessor machine with SMP (Sym
m
etric MultiProcessor)
kernel.
kernel.
Solution: Configure your kernel appropriately and recompile the kernel or
Solution: Configure your kernel appropriately and recompile the kernel or
the modules.
the modules.
...
@@ -564,216 +563,6 @@ information is available:
...
@@ -564,216 +563,6 @@ information is available:
- Driver version
- Driver version
***
***
8 History
==========
VERSION 6.14
New Features:
- None
Problems fixed:
- Fix: memory leak when sending short padded frames
- Fix: helptext for menuconfig in kernel 2.6 updated
- Fix: PNMI_READ defines retrieve correct amount of bytes
Known limitations:
- None
VERSION 6.13
New Features:
- New parameter ConType combining different per-port parameters
Problems fixed:
- Fix: change of MTU-size without warning (bugreport #10721)
- Fix: HW checksumming when Kernel 2.5/2.6 corrected
- Fix: Padding of small packets (<60 bytes) not 0xaa, but 0x00 instead
- Fix: Minor edits corrected
- Fix: Obsolete function SetQueueSize() removed
- Fix: Removed proprietary defines - used defines from skgehw.h instead
Known limitations:
- None
VERSION 6.12
New Features:
- enabling/disabling checksum
Problems fixed:
- Fix: KLM load/unload using new refcount interface for Kernel 2.5/2.6
Known limitations:
- None
VERSION 6.11 (In-Kernel version)
New Features:
- Support for Kernel 2.5/2.6
- Support for new IO-control MIB data structure
- New SkOsGetTime function
Problems fixed:
- Fix: Race condition with broken LM80 chip
- Fix: Common modules update (#10803, #10768, #10767)
- Fix: Dim, ProcFS, Isr, Module Support changes for Kernel 2.5/2.6
Known limitations:
- None
VERSION 6.10
New Features:
- none
Problems fixed:
- Fix: Race condition with padded frames
Known limitations:
- None
VERSION 6.09
New Features:
- none
Problems fixed:
- Fix: Disabled HW Error IRQ on 32-bit Yukon if sensor IRQ occurs
- Fix: Delay race condition with some server machines
Known limitations:
- None
VERSION 6.08
New Features:
- Add: Dynamic Interrupt moderation
- Add: Blink mode verification
- Fix: CSUM changes
Problems fixed:
- Fix: CSUM changes
Known limitations:
- None
VERSION 6.04 - 6.07
New Features:
- Common modules update
Problems fixed:
- none
Known limitations:
- None
VERSION 6.03
New Features:
- Common modules update
Problems fixed:
- Remove useless init_module/cleanup_module forward declarations
Known limitations:
- None
VERSION 6.02 (In-Kernel version)
New Features:
- Common modules update
Problems fixed:
- Boot message cleanup
Known limitations:
- None
VERSION 6.00 (In-Kernel version)
New Features:
- Support for SK-98xx V2.0 adapters
- Support for gmac
- Support for kernel 2.4.x and kernel 2.2.x
- Zerocopy support for kernel 2.4.x with sendfile()
- Support for scatter-gather functionality with sendfile()
- Speed support for SK-98xx V2.0 adapters
- New ProcFs entries
- New module parameters
Problems fixed:
- ProcFS initialization
- csum packet error
- Ierror/crc counter error (#10767)
- rx_too_long counter error (#10751)
Known limitations:
- None
VERSION 4.11
New Features:
- none
Problems fixed:
- Error statistic counter fix (#10620)
- RLMT-Fixes (#10659, #10639, #10650)
- LM80 sensor initialization fix (#10623)
- SK-CSUM memory fixes (#10610).
Known limitations:
- None
VERSION 4.10
New Features:
- New ProcFs entries
Problems fixed:
- Corrected some printk's
Known limitations:
- None
VERSION 4.09
New Features:
- IFF_RUNNING support (link status)
- New ProcFs entries
Problems fixed:
- too long counters
- too short counters
- Kernel error compilation
Known limitations:
- None
VERSION 4.06 (In-Kernel version)
Problems fixed:
- MTU init problems
VERSION 4.04
Problems fixed:
- removed VLAN error messages
VERSION 4.02 (In-Kernel version)
New Features:
- Add Kernel 2.4 changes
Known limitations:
- None
VERSION 4.01 (In-Kernel version)
Problems fixed:
- Full statistics support for DualNet mode
Known limitations:
- None
VERSION 4.00 (In-Kernel version)
Problems fixed:
- Memory leak found
New Features:
- Proc filesystem integration
- DualNet functionality integrated
- Rlmt networks added
Known limitations:
- statistics partially incorrect in DualNet mode
VERSION 3.04 (In-Kernel version)
Problems fixed:
- Driver start failed on UltraSPARC
- Rx checksum calculation for big endian machines did not work
- Jumbo frames were counted as input-errors in netstat
VERSION 3.03 (Standalone version)
Problems fixed:
- Compilation did not find script "printver.sh" if "." not in PATH
Known limitations:
- None
VERSION 3.02 (In-Kernel version)
Problems fixed:
- None
New Features:
- Integration in Linux kernel source (2.2.14 and 2.3.29)
Known limitations:
- None
VERSION 3.01
Problems fixed:
- None
New Features:
- Full source release
Known limitations:
- None
VERSION 3.00
Problems fixed:
- None
New Features:
- Support for 1000Base-T adapters (SK-9821 and SK-9822)
Known limitations:
- None
***End of Readme File***
***End of Readme File***
drivers/net/Kconfig
View file @
49e68be0
...
@@ -1891,18 +1891,23 @@ config SK98LIN
...
@@ -1891,18 +1891,23 @@ config SK98LIN
by this driver:
by this driver:
- 3Com 3C940 Gigabit LOM Ethernet Adapter
- 3Com 3C940 Gigabit LOM Ethernet Adapter
- 3Com 3C941 Gigabit LOM Ethernet Adapter
- 3Com 3C941 Gigabit LOM Ethernet Adapter
- Allied Telesyn AT-2970SX Gigabit Ethernet Adapter
- Allied Telesyn AT-2970LX Gigabit Ethernet Adapter
- Allied Telesyn AT-2970LX Gigabit Ethernet Adapter
- Allied Telesyn AT-2970LX/2SC Gigabit Ethernet Adapter
- Allied Telesyn AT-2970SX Gigabit Ethernet Adapter
- Allied Telesyn AT-2970SX/2SC Gigabit Ethernet Adapter
- Allied Telesyn AT-2970TX Gigabit Ethernet Adapter
- Allied Telesyn AT-2970TX Gigabit Ethernet Adapter
- Allied Telesyn AT-2970TX/2TX Gigabit Ethernet Adapter
- Allied Telesyn AT-2971SX Gigabit Ethernet Adapter
- Allied Telesyn AT-2971SX Gigabit Ethernet Adapter
- Allied Telesyn AT-2971T Gigabit Ethernet Adapter
- Allied Telesyn AT-2971T Gigabit Ethernet Adapter
- Allied Telesyn AT-2970SX/2SC Gigabit Ethernet Adapter
- Allied Telesyn AT-2970LX/2SC Gigabit Ethernet Adapter
- Allied Telesyn AT-2970TX/2TX Gigabit Ethernet Adapter
- N-Way PCI-Bus Giga-Card 1000/100/10Mbps(L)
- DGE-530T Gigabit Ethernet Adapter
- DGE-530T Gigabit Ethernet Adapter
- EG1032 v2 Instant Gigabit Network Adapter
- EG1032 v2 Instant Gigabit Network Adapter
- EG1064 v2 Instant Gigabit Network Adapter
- EG1064 v2 Instant Gigabit Network Adapter
- Marvell 88E8001 Gigabit LOM Ethernet Adapter (Abit)
- Marvell 88E8001 Gigabit LOM Ethernet Adapter (Asus)
- Marvell 88E8001 Gigabit LOM Ethernet Adapter (ECS)
- Marvell 88E8001 Gigabit LOM Ethernet Adapter (Epox)
- Marvell 88E8001 Gigabit LOM Ethernet Adapter (Gigabyte)
- Marvell 88E8001 Gigabit LOM Ethernet Adapter (Iwill)
- Marvell RDK-8001 Adapter
- Marvell RDK-8001 Adapter
- Marvell RDK-8002 Adapter
- Marvell RDK-8002 Adapter
- Marvell RDK-8003 Adapter
- Marvell RDK-8003 Adapter
...
@@ -1911,27 +1916,31 @@ config SK98LIN
...
@@ -1911,27 +1916,31 @@ config SK98LIN
- Marvell RDK-8007 Adapter
- Marvell RDK-8007 Adapter
- Marvell RDK-8008 Adapter
- Marvell RDK-8008 Adapter
- Marvell RDK-8009 Adapter
- Marvell RDK-8009 Adapter
- Marvell RDK-8010 Adapter
- Marvell RDK-8011 Adapter
- Marvell RDK-8011 Adapter
- Marvell RDK-8012 Adapter
- Marvell RDK-8012 Adapter
- Marvell Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
- Marvell Yukon Gigabit Ethernet 10/100/1000Base-T Adapter (32 bit)
- Marvell Yukon Gigabit Ethernet 10/100/1000Base-T Adapter (64 bit)
- N-Way PCI-Bus Giga-Card 1000/100/10Mbps(L)
- SK-9521 10/100/1000Base-T Adapter
- SK-9521 V2.0 10/100/1000Base-T Adapter
- SK-9821 Gigabit Ethernet Server Adapter (SK-NET GE-T)
- SK-9821 Gigabit Ethernet Server Adapter (SK-NET GE-T)
- SK-9821 V2.0 Gigabit Ethernet 10/100/1000Base-T Adapter
- SK-9822 Gigabit Ethernet Server Adapter (SK-NET GE-T dual link)
- SK-9822 Gigabit Ethernet Server Adapter (SK-NET GE-T dual link)
- SK-9841 Gigabit Ethernet Server Adapter (SK-NET GE-LX)
- SK-9841 Gigabit Ethernet Server Adapter (SK-NET GE-LX)
- SK-9841 V2.0 Gigabit Ethernet 1000Base-LX Adapter
- SK-9842 Gigabit Ethernet Server Adapter (SK-NET GE-LX dual link)
- SK-9842 Gigabit Ethernet Server Adapter (SK-NET GE-LX dual link)
- SK-9843 Gigabit Ethernet Server Adapter (SK-NET GE-SX)
- SK-9843 Gigabit Ethernet Server Adapter (SK-NET GE-SX)
- SK-9843 V2.0 Gigabit Ethernet 1000Base-SX Adapter
- SK-9844 Gigabit Ethernet Server Adapter (SK-NET GE-SX dual link)
- SK-9844 Gigabit Ethernet Server Adapter (SK-NET GE-SX dual link)
- SK-9851 V2.0 Gigabit Ethernet 1000Base-SX Adapter
- SK-9861 Gigabit Ethernet Server Adapter (SK-NET GE-SX Volition)
- SK-9861 Gigabit Ethernet Server Adapter (SK-NET GE-SX Volition)
- SK-9861 V2.0 Gigabit Ethernet 1000Base-SX Adapter
- SK-9862 Gigabit Ethernet Server Adapter (SK-NET GE-SX Volition dual link)
- SK-9862 Gigabit Ethernet Server Adapter (SK-NET GE-SX Volition dual link)
- SK-9871 Gigabit Ethernet Server Adapter (SK-NET GE-ZX)
- SK-9871 Gigabit Ethernet Server Adapter (SK-NET GE-ZX)
- SK-9872 Gigabit Ethernet Server Adapter (SK-NET GE-ZX dual link)
- SK-9521 V2.0 10/100/1000Base-T Adapter
- SK-9821 V2.0 Gigabit Ethernet 10/100/1000Base-T Adapter
- SK-9841 V2.0 Gigabit Ethernet 1000Base-LX Adapter
- SK-9843 V2.0 Gigabit Ethernet 1000Base-SX Adapter
- SK-9851 V2.0 Gigabit Ethernet 1000Base-SX Adapter
- SK-9861 V2.0 Gigabit Ethernet 1000Base-SX Adapter
- SK-9871 V2.0 Gigabit Ethernet 1000Base-ZX Adapter
- SK-9871 V2.0 Gigabit Ethernet 1000Base-ZX Adapter
- SK-9521 10/100/1000Base-T Adapter
- SK-9872 Gigabit Ethernet Server Adapter (SK-NET GE-ZX dual link)
- SMC EZ Card 1000 (SMC9452TXV.2)
The adapters support Jumbo Frames.
The adapters support Jumbo Frames.
The dual link adapters support link-failover and dual port features.
The dual link adapters support link-failover and dual port features.
...
@@ -1945,141 +1954,6 @@ config SK98LIN
...
@@ -1945,141 +1954,6 @@ config SK98LIN
To compile this driver as a module, choose M here: the module
To compile this driver as a module, choose M here: the module
will be called sk98lin. This is recommended.
will be called sk98lin. This is recommended.
config CONFIG_SK98LIN_T1
bool "3Com 3C940/3C941 Gigabit Ethernet Adapter"
depends on SK98LIN
help
This driver supports:
- 3Com 3C940 Gigabit LOM Ethernet Adapter
- 3Com 3C941 Gigabit LOM Ethernet Adapter
Questions concerning this driver may be addressed to:
linux@syskonnect.de
config CONFIG_SK98LIN_T2
bool "Allied Telesyn AT-29xx Gigabit Ethernet Adapter"
depends on SK98LIN
help
This driver supports:
- Allied Telesyn AT-2970SX Gigabit Ethernet Adapter
- Allied Telesyn AT-2970LX Gigabit Ethernet Adapter
- Allied Telesyn AT-2970TX Gigabit Ethernet Adapter
- Allied Telesyn AT-2971SX Gigabit Ethernet Adapter
- Allied Telesyn AT-2971T Gigabit Ethernet Adapter
- Allied Telesyn AT-2970SX/2SC Gigabit Ethernet Adapter
- Allied Telesyn AT-2970LX/2SC Gigabit Ethernet Adapter
- Allied Telesyn AT-2970TX/2TX Gigabit Ethernet Adapter
Questions concerning this driver may be addressed to:
linux@syskonnect.de
config CONFIG_SK98LIN_T3
bool "CNet N-Way Gigabit Ethernet Adapter"
depends on SK98LIN
help
This driver supports:
- N-Way PCI-Bus Giga-Card 1000/100/10Mbps(L)
Questions concerning this driver may be addressed to:
linux@syskonnect.de
config CONFIG_SK98LIN_T4
bool "D-Link DGE-530T Gigabit Ethernet Adapter"
depends on SK98LIN
help
This driver supports:
- DGE-530T Gigabit Ethernet Adapter
Questions concerning this driver may be addressed to:
linux@syskonnect.de
config CONFIG_SK98LIN_T5
bool "Linksys EG10xx Ethernet Server Adapter"
depends on SK98LIN
help
This driver supports:
- EG1032 v2 Instant Gigabit Network Adapter
- EG1064 v2 Instant Gigabit Network Adapter
Questions concerning this driver may be addressed to:
linux@syskonnect.de
config CONFIG_SK98LIN_T6
bool "Marvell RDK-80xx Adapter"
depends on SK98LIN
help
This driver supports:
- Marvell RDK-8001 Adapter
- Marvell RDK-8002 Adapter
- Marvell RDK-8003 Adapter
- Marvell RDK-8004 Adapter
- Marvell RDK-8006 Adapter
- Marvell RDK-8007 Adapter
- Marvell RDK-8008 Adapter
- Marvell RDK-8009 Adapter
- Marvell RDK-8011 Adapter
- Marvell RDK-8012 Adapter
Questions concerning this driver may be addressed to:
linux@syskonnect.de
config CONFIG_SK98LIN_T7
bool "Marvell Yukon Gigabit Ethernet Adapter"
depends on SK98LIN
help
This driver supports:
- Marvell Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
Questions concerning this driver may be addressed to:
linux@syskonnect.de
config CONFIG_SK98LIN_T8
bool "SysKonnect SK-98xx Server Gigabit Adapter"
depends on SK98LIN
help
This driver supports:
- SK-9821 Gigabit Ethernet Server Adapter (SK-NET GE-T)
- SK-9822 Gigabit Ethernet Server Adapter (SK-NET GE-T dual link)
- SK-9841 Gigabit Ethernet Server Adapter (SK-NET GE-LX)
- SK-9842 Gigabit Ethernet Server Adapter (SK-NET GE-LX dual link)
- SK-9843 Gigabit Ethernet Server Adapter (SK-NET GE-SX)
- SK-9844 Gigabit Ethernet Server Adapter (SK-NET GE-SX dual link)
- SK-9861 Gigabit Ethernet Server Adapter (SK-NET GE-SX Volition)
- SK-9862 Gigabit Ethernet Server Adapter (SK-NET GE-SX Volition dual link)
- SK-9871 Gigabit Ethernet Server Adapter (SK-NET GE-ZX)
- SK-9872 Gigabit Ethernet Server Adapter (SK-NET GE-ZX dual link)
Questions concerning this driver may be addressed to:
linux@syskonnect.de
config CONFIG_SK98LIN_T9
bool "SysKonnect SK-98xx V2.0 Gigabit Ethernet Adapter"
depends on SK98LIN
help
This driver supports:
- SK-9521 V2.0 10/100/1000Base-T Adapter
- SK-9821 V2.0 Gigabit Ethernet 10/100/1000Base-T Adapter
- SK-9841 V2.0 Gigabit Ethernet 1000Base-LX Adapter
- SK-9843 V2.0 Gigabit Ethernet 1000Base-SX Adapter
- SK-9851 V2.0 Gigabit Ethernet 1000Base-SX Adapter
- SK-9861 V2.0 Gigabit Ethernet 1000Base-SX Adapter
- SK-9871 V2.0 Gigabit Ethernet 1000Base-ZX Adapter
- SK-9521 10/100/1000Base-T Adapter
Questions concerning this driver may be addressed to:
linux@syskonnect.de
config TIGON3
config TIGON3
tristate "Broadcom Tigon3 support"
tristate "Broadcom Tigon3 support"
depends on PCI
depends on PCI
...
...
drivers/net/arcnet/Kconfig
View file @
49e68be0
...
@@ -21,11 +21,9 @@ config ARCNET
...
@@ -21,11 +21,9 @@ config ARCNET
from <http://www.tldp.org/docs.html#howto>(even though ARCnet
from <http://www.tldp.org/docs.html#howto>(even though ARCnet
is not really Ethernet).
is not really Ethernet).
This driver is also available as a module ( = code which can be
To compile this driver as a module, choose M here and read
inserted in and removed from the running kernel whenever you want).
<file:Documentation/networking/net-modules.txt>. The module will
The module will be called arcnet. If you want to compile it as a
be called arcnet.
module, say M here and read <file:Documentation/modules.txt> as well
as <file:Documentation/networking/net-modules.txt>.
config ARCNET_1201
config ARCNET_1201
tristate "Enable standard ARCNet packet format (RFC 1201)"
tristate "Enable standard ARCNet packet format (RFC 1201)"
...
@@ -69,11 +67,9 @@ config ARCNET_COM90xx
...
@@ -69,11 +67,9 @@ config ARCNET_COM90xx
have always used the old ARCnet driver without knowing what type of
have always used the old ARCnet driver without knowing what type of
card you had, this is probably the one for you.
card you had, this is probably the one for you.
This driver is also available as a module ( = code which can be
To compile this driver as a module, choose M here and read
inserted in and removed from the running kernel whenever you want).
<file:Documentation/networking/net-modules.txt>. The module will
The module will be called com90xx. If you want to compile it as a
be called com90xx.
module, say M here and read <file:Documentation/modules.txt> as well
as <file:Documentation/networking/net-modules.txt>.
config ARCNET_COM90xxIO
config ARCNET_COM90xxIO
tristate "ARCnet COM90xx (IO mapped) chipset driver"
tristate "ARCnet COM90xx (IO mapped) chipset driver"
...
@@ -84,11 +80,9 @@ config ARCNET_COM90xxIO
...
@@ -84,11 +80,9 @@ config ARCNET_COM90xxIO
the normal driver. Only use it if your card doesn't support shared
the normal driver. Only use it if your card doesn't support shared
memory.
memory.
This driver is also available as a module ( = code which can be
To compile this driver as a module, choose M here and read
inserted in and removed from the running kernel whenever you want).
<file:Documentation/networking/net-modules.txt>. The module will
The module will be called com90io. If you want to compile it as a
be called com90io.
module, say M here and read <file:Documentation/modules.txt> as well
as <file:Documentation/networking/net-modules.txt>.
config ARCNET_RIM_I
config ARCNET_RIM_I
tristate "ARCnet COM90xx (RIM I) chipset driver"
tristate "ARCnet COM90xx (RIM I) chipset driver"
...
@@ -99,11 +93,9 @@ config ARCNET_RIM_I
...
@@ -99,11 +93,9 @@ config ARCNET_RIM_I
driver is completely untested, so if you have one of these cards,
driver is completely untested, so if you have one of these cards,
please mail dwmw2@infradead.org, especially if it works!
please mail dwmw2@infradead.org, especially if it works!
This driver is also available as a module ( = code which can be
To compile this driver as a module, choose M here and read
inserted in and removed from the running kernel whenever you
<file:Documentation/networking/net-modules.txt>. The module will
want). The module will be called arc-rimi. If you want to compile
be called arc-rimi.
it as a module, say M here and read <file:Documentation/modules.txt>
as well as <file:Documentation/networking/net-modules.txt>.
config ARCNET_COM20020
config ARCNET_COM20020
tristate "ARCnet COM20020 chipset driver"
tristate "ARCnet COM20020 chipset driver"
...
@@ -113,11 +105,9 @@ config ARCNET_COM20020
...
@@ -113,11 +105,9 @@ config ARCNET_COM20020
things as promiscuous mode, so packet sniffing is possible, and
things as promiscuous mode, so packet sniffing is possible, and
extra diagnostic information.
extra diagnostic information.
This driver is also available as a module ( = code which can be
To compile this driver as a module, choose M here and read
inserted in and removed from the running kernel whenever you want).
<file:Documentation/networking/net-modules.txt>. The module will
The module will be called com20020. If you want to compile it as
be called com20020.
a module, say M here and read <file:Documentation/modules.txt> as
well as <file:Documentation/networking/net-modules.txt>.
config ARCNET_COM20020_ISA
config ARCNET_COM20020_ISA
tristate "Support for COM20020 on ISA"
tristate "Support for COM20020 on ISA"
...
...
drivers/net/sk98lin/h/skdrv1st.h
View file @
49e68be0
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
*
*
* Name: skdrv1st.h
* Name: skdrv1st.h
* Project: GEnesis, PCI Gigabit Ethernet Adapter
* Project: GEnesis, PCI Gigabit Ethernet Adapter
* Version: $Revision: 1.1
5
$
* Version: $Revision: 1.1 $
* Date: $Date: 2003/07/
17 14:54:09
$
* Date: $Date: 2003/07/
21 07:22:43
$
* Purpose: First header file for driver and all other modules
* Purpose: First header file for driver and all other modules
*
*
******************************************************************************/
******************************************************************************/
...
@@ -26,6 +26,9 @@
...
@@ -26,6 +26,9 @@
* History:
* History:
*
*
* $Log: skdrv1st.h,v $
* $Log: skdrv1st.h,v $
* Revision 1.1 2003/07/21 07:22:43 rroesler
* Fix: Re-Enter after CVS crash
*
* Revision 1.15 2003/07/17 14:54:09 rroesler
* Revision 1.15 2003/07/17 14:54:09 rroesler
* Fix: Corrected SK_PNMI_READ macros to copy right amount of bytes
* Fix: Corrected SK_PNMI_READ macros to copy right amount of bytes
*
*
...
...
drivers/net/sk98lin/h/skdrv2nd.h
View file @
49e68be0
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
*
*
* Name: skdrv2nd.h
* Name: skdrv2nd.h
* Project: GEnesis, PCI Gigabit Ethernet Adapter
* Project: GEnesis, PCI Gigabit Ethernet Adapter
* Version: $Revision: 1.
19
$
* Version: $Revision: 1.
3
$
* Date: $Date: 2003/0
7/07 09:53:10
$
* Date: $Date: 2003/0
8/12 16:51:18
$
* Purpose: Second header file for driver and all other modules
* Purpose: Second header file for driver and all other modules
*
*
******************************************************************************/
******************************************************************************/
...
@@ -26,6 +26,16 @@
...
@@ -26,6 +26,16 @@
* History:
* History:
*
*
* $Log: skdrv2nd.h,v $
* $Log: skdrv2nd.h,v $
* Revision 1.3 2003/08/12 16:51:18 mlindner
* Fix: UDP and TCP Proto checks
* Fix: UDP header offset
*
* Revision 1.2 2003/08/07 10:50:54 mlindner
* Add: Speed and HW-Csum support for Yukon Lite chipset
*
* Revision 1.1 2003/07/21 07:25:29 rroesler
* Fix: Re-Enter after CVS crash
*
* Revision 1.19 2003/07/07 09:53:10 rroesler
* Revision 1.19 2003/07/07 09:53:10 rroesler
* Fix: Removed proprietary RxTx defines and used the ones from skgehw.h instead
* Fix: Removed proprietary RxTx defines and used the ones from skgehw.h instead
*
*
...
@@ -315,12 +325,13 @@ struct s_IOCTL {
...
@@ -315,12 +325,13 @@ struct s_IOCTL {
#define C_OFFSET_IPHEADER C_LEN_ETHERMAC_HEADER
#define C_OFFSET_IPHEADER C_LEN_ETHERMAC_HEADER
#define C_OFFSET_IPHEADER_IPPROTO 9
#define C_OFFSET_IPHEADER_IPPROTO 9
#define C_OFFSET_TCPHEADER_TCPCS 16
#define C_OFFSET_TCPHEADER_TCPCS 16
#define C_OFFSET_UDPHEADER_UDPCS 6
#define C_OFFSET_IPPROTO ( (C_LEN_ETHERMAC_HEADER) + \
#define C_OFFSET_IPPROTO ( (C_LEN_ETHERMAC_HEADER) + \
(C_OFFSET_IPHEADER_IPPROTO) )
(C_OFFSET_IPHEADER_IPPROTO) )
#define C_PROTO_ID_UDP
6
/* refer to RFC 790 or Stevens' */
#define C_PROTO_ID_UDP
17
/* refer to RFC 790 or Stevens' */
#define C_PROTO_ID_TCP
17
/* TCP/IP illustrated for details */
#define C_PROTO_ID_TCP
6
/* TCP/IP illustrated for details */
/* TX and RX descriptors *****************************************************/
/* TX and RX descriptors *****************************************************/
...
@@ -390,6 +401,7 @@ struct s_TxD {
...
@@ -390,6 +401,7 @@ struct s_TxD {
typedef
struct
s_DevNet
DEV_NET
;
typedef
struct
s_DevNet
DEV_NET
;
struct
s_DevNet
{
struct
s_DevNet
{
struct
proc_dir_entry
*
proc
;
int
PortNr
;
int
PortNr
;
int
NetNr
;
int
NetNr
;
int
Mtu
;
int
Mtu
;
...
@@ -550,6 +562,10 @@ struct s_AC {
...
@@ -550,6 +562,10 @@ struct s_AC {
/* Only for tests */
/* Only for tests */
int
PortUp
;
int
PortUp
;
int
PortDown
;
int
PortDown
;
int
ChipsetType
;
/* Chipset family type
* 0 == Genesis family support
* 1 == Yukon family support
*/
};
};
...
...
drivers/net/sk98lin/h/skgeinit.h
View file @
49e68be0
...
@@ -722,15 +722,14 @@ typedef struct s_GeInit {
...
@@ -722,15 +722,14 @@ typedef struct s_GeInit {
/*
/*
* Error numbers and messages for skxmac2.c and skgeinit.c
* Error numbers and messages for skxmac2.c and skgeinit.c
*/
*/
#define SKERR_HWI_E001 (SK_ERRBASE_HWINIT)
#define SKERR_HWI_E001 (SK_ERRBASE_HWINIT)
#define SKERR_HWI_E001MSG "SkXmClrExactAddr() has got i
nvalid
parameters"
#define SKERR_HWI_E001MSG "SkXmClrExactAddr() has got i
llegal
parameters"
#define SKERR_HWI_E002 (SKERR_HWI_E001+1)
#define SKERR_HWI_E002 (SKERR_HWI_E001+1)
#define SKERR_HWI_E002MSG "SkGeInit(): Level 1 call missing"
#define SKERR_HWI_E002MSG "SkGeInit(): Level 1 call missing"
#define SKERR_HWI_E003 (SKERR_HWI_E002+1)
#define SKERR_HWI_E003 (SKERR_HWI_E002+1)
#define SKERR_HWI_E003MSG "SkGeInit() called with i
nvalid
init Level"
#define SKERR_HWI_E003MSG "SkGeInit() called with i
llegal
init Level"
#define SKERR_HWI_E004 (SKERR_HWI_E003+1)
#define SKERR_HWI_E004 (SKERR_HWI_E003+1)
#define SKERR_HWI_E004MSG "SkGeInitPort(): Queue Size i
nvalid
configured"
#define SKERR_HWI_E004MSG "SkGeInitPort(): Queue Size i
llegal
configured"
#define SKERR_HWI_E005 (SKERR_HWI_E004+1)
#define SKERR_HWI_E005 (SKERR_HWI_E004+1)
#define SKERR_HWI_E005MSG "SkGeInitPort(): cannot init running ports"
#define SKERR_HWI_E005MSG "SkGeInitPort(): cannot init running ports"
#define SKERR_HWI_E006 (SKERR_HWI_E005+1)
#define SKERR_HWI_E006 (SKERR_HWI_E005+1)
...
@@ -752,21 +751,21 @@ typedef struct s_GeInit {
...
@@ -752,21 +751,21 @@ typedef struct s_GeInit {
#define SKERR_HWI_E014 (SKERR_HWI_E013+1)
#define SKERR_HWI_E014 (SKERR_HWI_E013+1)
#define SKERR_HWI_E014MSG "SkGeInitPort(): unknown GIPortUsage specified"
#define SKERR_HWI_E014MSG "SkGeInitPort(): unknown GIPortUsage specified"
#define SKERR_HWI_E015 (SKERR_HWI_E014+1)
#define SKERR_HWI_E015 (SKERR_HWI_E014+1)
#define SKERR_HWI_E015MSG "I
nvalid
Link mode parameter"
#define SKERR_HWI_E015MSG "I
llegal
Link mode parameter"
#define SKERR_HWI_E016 (SKERR_HWI_E015+1)
#define SKERR_HWI_E016 (SKERR_HWI_E015+1)
#define SKERR_HWI_E016MSG "I
nvalid
Flow control mode parameter"
#define SKERR_HWI_E016MSG "I
llegal
Flow control mode parameter"
#define SKERR_HWI_E017 (SKERR_HWI_E016+1)
#define SKERR_HWI_E017 (SKERR_HWI_E016+1)
#define SKERR_HWI_E017MSG "I
nvalid
value specified for GIPollTimerVal"
#define SKERR_HWI_E017MSG "I
llegal
value specified for GIPollTimerVal"
#define SKERR_HWI_E018 (SKERR_HWI_E017+1)
#define SKERR_HWI_E018 (SKERR_HWI_E017+1)
#define SKERR_HWI_E018MSG "FATAL: SkGeStopPort() does not terminate (Tx)"
#define SKERR_HWI_E018MSG "FATAL: SkGeStopPort() does not terminate (Tx)"
#define SKERR_HWI_E019 (SKERR_HWI_E018+1)
#define SKERR_HWI_E019 (SKERR_HWI_E018+1)
#define SKERR_HWI_E019MSG "I
nvalid
Speed parameter"
#define SKERR_HWI_E019MSG "I
llegal
Speed parameter"
#define SKERR_HWI_E020 (SKERR_HWI_E019+1)
#define SKERR_HWI_E020 (SKERR_HWI_E019+1)
#define SKERR_HWI_E020MSG "I
nvalid
Master/Slave parameter"
#define SKERR_HWI_E020MSG "I
llegal
Master/Slave parameter"
#define SKERR_HWI_E021 (SKERR_HWI_E020+1)
#define SKERR_HWI_E021 (SKERR_HWI_E020+1)
#define SKERR_HWI_E021MSG "MacUpdateStats(): cannot update statistic counter"
#define SKERR_HWI_E021MSG "MacUpdateStats(): cannot update statistic counter"
#define SKERR_HWI_E022 (SKERR_HWI_E021+1)
#define SKERR_HWI_E022 (SKERR_HWI_E021+1)
#define SKERR_HWI_E022MSG "MacStatistic(): i
nvalid
statistic base address"
#define SKERR_HWI_E022MSG "MacStatistic(): i
llegal
statistic base address"
#define SKERR_HWI_E023 (SKERR_HWI_E022+1)
#define SKERR_HWI_E023 (SKERR_HWI_E022+1)
#define SKERR_HWI_E023MSG "SkGeInitPort(): Transmit Queue Size too small"
#define SKERR_HWI_E023MSG "SkGeInitPort(): Transmit Queue Size too small"
#define SKERR_HWI_E024 (SKERR_HWI_E023+1)
#define SKERR_HWI_E024 (SKERR_HWI_E023+1)
...
...
drivers/net/sk98lin/h/sktypes.h
View file @
49e68be0
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
*
*
* Name: sktypes.h
* Name: sktypes.h
* Project: GEnesis, PCI Gigabit Ethernet Adapter
* Project: GEnesis, PCI Gigabit Ethernet Adapter
* Version: $Revision: 1.
3
$
* Version: $Revision: 1.
1
$
* Date: $Date: 2003/0
2/25 14:16:40
$
* Date: $Date: 2003/0
7/21 07:26:01
$
* Purpose: Define data types for Linux
* Purpose: Define data types for Linux
*
*
******************************************************************************/
******************************************************************************/
...
@@ -26,6 +26,9 @@
...
@@ -26,6 +26,9 @@
* History:
* History:
*
*
* $Log: sktypes.h,v $
* $Log: sktypes.h,v $
* Revision 1.1 2003/07/21 07:26:01 rroesler
* Fix: Re-Enter after CVS crash
*
* Revision 1.3 2003/02/25 14:16:40 mlindner
* Revision 1.3 2003/02/25 14:16:40 mlindner
* Fix: Copyright statement
* Fix: Copyright statement
*
*
...
...
drivers/net/sk98lin/h/skversion.h
View file @
49e68be0
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
*
*
* Name: version.h
* Name: version.h
* Project: GEnesis, PCI Gigabit Ethernet Adapter
* Project: GEnesis, PCI Gigabit Ethernet Adapter
* Version: $Revision: 1.
4
$
* Version: $Revision: 1.
3
$
* Date: $Date: 2003/0
2/25 14:16:40
$
* Date: $Date: 2003/0
8/25 13:34:48
$
* Purpose: SK specific Error log support
* Purpose: SK specific Error log support
*
*
******************************************************************************/
******************************************************************************/
...
@@ -25,6 +25,15 @@
...
@@ -25,6 +25,15 @@
*
*
* History:
* History:
* $Log: skversion.h,v $
* $Log: skversion.h,v $
* Revision 1.3 2003/08/25 13:34:48 mlindner
* Fix: Lint changes
*
* Revision 1.2 2003/08/13 12:01:01 mlindner
* Add: Changes for Lint
*
* Revision 1.1 2003/07/24 09:29:56 rroesler
* Fix: Re-Enter after CVS crash
*
* Revision 1.4 2003/02/25 14:16:40 mlindner
* Revision 1.4 2003/02/25 14:16:40 mlindner
* Fix: Copyright statement
* Fix: Copyright statement
*
*
...
@@ -42,13 +51,15 @@
...
@@ -42,13 +51,15 @@
******************************************************************************/
******************************************************************************/
#ifdef lint
static
const
char
SysKonnectFileId
[]
=
"@(#) (C) SysKonnect GmbH."
;
static
const
char
SysKonnectFileId
[]
=
"@(#) (C) SysKonnect GmbH."
;
static
const
char
SysKonnectBuildNumber
[]
=
static
const
char
SysKonnectBuildNumber
[]
=
"@(#)SK-BUILD: 6.14 PL: 01"
;
"@(#)SK-BUILD: 6.18 PL: 01"
;
#endif
/* !defined(lint) */
#define BOOT_STRING "sk98lin: Network Device Driver v6.1
4
\n" \
#define BOOT_STRING "sk98lin: Network Device Driver v6.1
8
\n" \
"(C)Copyright 1999-2003 Marvell(R)."
"(C)Copyright 1999-2003 Marvell(R)."
#define VER_STRING "6.1
4
"
#define VER_STRING "6.1
8
"
drivers/net/sk98lin/skdim.c
View file @
49e68be0
...
@@ -2,8 +2,8 @@
...
@@ -2,8 +2,8 @@
*
*
* Name: skdim.c
* Name: skdim.c
* Project: GEnesis, PCI Gigabit Ethernet Adapter
* Project: GEnesis, PCI Gigabit Ethernet Adapter
* Version: $Revision: 1.
4
$
* Version: $Revision: 1.
2
$
* Date: $Date: 2003/0
7/07 09:45:47
$
* Date: $Date: 2003/0
8/21 12:35:05
$
* Purpose: All functions to maintain interrupt moderation
* Purpose: All functions to maintain interrupt moderation
*
*
******************************************************************************/
******************************************************************************/
...
@@ -26,6 +26,12 @@
...
@@ -26,6 +26,12 @@
* History:
* History:
*
*
* $Log: skdim.c,v $
* $Log: skdim.c,v $
* Revision 1.2 2003/08/21 12:35:05 mlindner
* Fix: Corrected CPU detection and compile errors on single CPU machines
*
* Revision 1.1 2003/07/18 13:39:55 rroesler
* Fix: Re-enter after CVS crash
*
* Revision 1.4 2003/07/07 09:45:47 rroesler
* Revision 1.4 2003/07/07 09:45:47 rroesler
* Fix: Compiler warnings corrected
* Fix: Compiler warnings corrected
*
*
...
@@ -56,7 +62,7 @@
...
@@ -56,7 +62,7 @@
#ifndef lint
#ifndef lint
static
const
char
SysKonnectFileId
[]
=
static
const
char
SysKonnectFileId
[]
=
"@(#) $Id: skdim.c,v 1.
4 2003/07/07 09:45:47 rroesl
er Exp $ (C) SysKonnect."
;
"@(#) $Id: skdim.c,v 1.
2 2003/08/21 12:35:05 mlindn
er Exp $ (C) SysKonnect."
;
#endif
#endif
#define __SKADDR_C
#define __SKADDR_C
...
@@ -312,6 +318,12 @@ GetCurrentSystemLoad(SK_AC *pAC) {
...
@@ -312,6 +318,12 @@ GetCurrentSystemLoad(SK_AC *pAC) {
unsigned
int
TotalTime
=
0
;
unsigned
int
TotalTime
=
0
;
unsigned
int
UsedTime
=
0
;
unsigned
int
UsedTime
=
0
;
unsigned
int
SystemLoad
=
0
;
unsigned
int
SystemLoad
=
0
;
#ifdef CONFIG_SMP
unsigned
int
SKNumCpus
=
smp_num_cpus
;
#else
unsigned
int
SKNumCpus
=
1
;
#endif
/* unsigned int NbrCpu = 0; */
/* unsigned int NbrCpu = 0; */
/*
/*
...
...
drivers/net/sk98lin/skge.c
View file @
49e68be0
This diff is collapsed.
Click to expand it.
drivers/net/sk98lin/skproc.c
View file @
49e68be0
This diff is collapsed.
Click to expand it.
drivers/net/tlan.c
View file @
49e68be0
...
@@ -884,6 +884,8 @@ static int TLan_Init( struct net_device *dev )
...
@@ -884,6 +884,8 @@ static int TLan_Init( struct net_device *dev )
}
}
dev
->
addr_len
=
6
;
dev
->
addr_len
=
6
;
netif_carrier_off
(
dev
);
/* Device methods */
/* Device methods */
dev
->
open
=
&
TLan_Open
;
dev
->
open
=
&
TLan_Open
;
dev
->
hard_start_xmit
=
&
TLan_StartTx
;
dev
->
hard_start_xmit
=
&
TLan_StartTx
;
...
@@ -2205,6 +2207,8 @@ TLan_ResetAdapter( struct net_device *dev )
...
@@ -2205,6 +2207,8 @@ TLan_ResetAdapter( struct net_device *dev )
priv
->
tlanFullDuplex
=
FALSE
;
priv
->
tlanFullDuplex
=
FALSE
;
priv
->
phyOnline
=
0
;
priv
->
phyOnline
=
0
;
netif_carrier_off
(
dev
);
/* 1. Assert reset bit. */
/* 1. Assert reset bit. */
data
=
inl
(
dev
->
base_addr
+
TLAN_HOST_CMD
);
data
=
inl
(
dev
->
base_addr
+
TLAN_HOST_CMD
);
...
@@ -2368,6 +2372,7 @@ TLan_FinishReset( struct net_device *dev )
...
@@ -2368,6 +2372,7 @@ TLan_FinishReset( struct net_device *dev )
}
}
outl
(
priv
->
rxListDMA
,
dev
->
base_addr
+
TLAN_CH_PARM
);
outl
(
priv
->
rxListDMA
,
dev
->
base_addr
+
TLAN_CH_PARM
);
outl
(
TLAN_HC_GO
|
TLAN_HC_RT
,
dev
->
base_addr
+
TLAN_HOST_CMD
);
outl
(
TLAN_HC_GO
|
TLAN_HC_RT
,
dev
->
base_addr
+
TLAN_HOST_CMD
);
netif_carrier_on
(
dev
);
}
else
{
}
else
{
printk
(
"TLAN: %s: Link inactive, will retry in 10 secs...
\n
"
,
dev
->
name
);
printk
(
"TLAN: %s: Link inactive, will retry in 10 secs...
\n
"
,
dev
->
name
);
TLan_SetTimer
(
dev
,
(
10
*
HZ
),
TLAN_TIMER_FINISH_RESET
);
TLan_SetTimer
(
dev
,
(
10
*
HZ
),
TLAN_TIMER_FINISH_RESET
);
...
...
drivers/net/tulip/Kconfig
View file @
49e68be0
...
@@ -23,11 +23,9 @@ config DE2104X
...
@@ -23,11 +23,9 @@ config DE2104X
will say Y here.) Do read the Ethernet-HOWTO, available from
will say Y here.) Do read the Ethernet-HOWTO, available from
<http://www.tldp.org/docs.html#howto>.
<http://www.tldp.org/docs.html#howto>.
This driver is also available as a module ( = code which can be
To compile this driver as a module, choose M here and read
inserted in and removed from the running kernel whenever you want).
<file:Documentation/networking/net-modules.txt>. The module will
The module will be called de2104x. If you want to compile it as a
be called de2104x.
module, say M here and read <file:Documentation/modules.txt> as well
as <file:Documentation/networking/net-modules.txt>.
config TULIP
config TULIP
tristate "DECchip Tulip (dc2114x) PCI support"
tristate "DECchip Tulip (dc2114x) PCI support"
...
@@ -44,11 +42,9 @@ config TULIP
...
@@ -44,11 +42,9 @@ config TULIP
information is contained in
information is contained in
<file:Documentation/networking/tulip.txt>.
<file:Documentation/networking/tulip.txt>.
This driver is also available as a module ( = code which can be
To compile this driver as a module, choose M here and read
inserted in and removed from the running kernel whenever you want).
<file:Documentation/networking/net-modules.txt>. The module will
The module will be called tulip. If you want to compile it as a
be called tulip.
module, say M here and read <file:Documentation/modules.txt> as well
as <file:Documentation/networking/net-modules.txt>.
config TULIP_MWI
config TULIP_MWI
bool "New bus configuration (EXPERIMENTAL)"
bool "New bus configuration (EXPERIMENTAL)"
...
@@ -82,11 +78,9 @@ config DE4X5
...
@@ -82,11 +78,9 @@ config DE4X5
information is contained in
information is contained in
<file:Documentation/networking/de4x5.txt>.
<file:Documentation/networking/de4x5.txt>.
This driver is also available as a module ( = code which can be
To compile this driver as a module, choose M here and read
inserted in and removed from the running kernel whenever you want).
<file:Documentation/networking/net-modules.txt>. The module will
The module will be called de4x5. If you want to compile it as a
be called de4x5.
module, say M here and read <file:Documentation/modules.txt> as well
as <file:Documentation/networking/net-modules.txt>.
config WINBOND_840
config WINBOND_840
tristate "Winbond W89c840 Ethernet support"
tristate "Winbond W89c840 Ethernet support"
...
@@ -106,11 +100,9 @@ config DM9102
...
@@ -106,11 +100,9 @@ config DM9102
(Ethernet) card, say Y. Some information is contained in the file
(Ethernet) card, say Y. Some information is contained in the file
<file:Documentation/networking/dmfe.txt>.
<file:Documentation/networking/dmfe.txt>.
This driver is also available as a module ( = code which can be
To compile this driver as a module, choose M here and read
inserted in and removed from the running kernel whenever you want).
<file:Documentation/networking/net-modules.txt>. The module will
The module will be called dmfe. If you want to compile it as a
be called dmfe.
module, say M here and read <file:Documentation/modules.txt> as well
as <file:Documentation/networking/net-modules.txt>.
config PCMCIA_XIRCOM
config PCMCIA_XIRCOM
tristate "Xircom CardBus support (new driver)"
tristate "Xircom CardBus support (new driver)"
...
@@ -121,11 +113,9 @@ config PCMCIA_XIRCOM
...
@@ -121,11 +113,9 @@ config PCMCIA_XIRCOM
as with work-alike chips from Lite-On (PNIC) and Macronix (MXIC) and
as with work-alike chips from Lite-On (PNIC) and Macronix (MXIC) and
ASIX.
ASIX.
This driver is also available as a module ( = code which can be
To compile this driver as a module, choose M here and read
inserted in and removed from the running kernel whenever you want).
<file:Documentation/networking/net-modules.txt>. The module will
The module will be called xircom_cb. If you want to compile
be called xircom_cb. If unsure, say N.
it as a module, say M here and read
<file:Documentation/modules.txt>. If unsure, say N.
config PCMCIA_XIRTULIP
config PCMCIA_XIRTULIP
tristate "Xircom Tulip-like CardBus support (old driver)"
tristate "Xircom Tulip-like CardBus support (old driver)"
...
@@ -136,11 +126,9 @@ config PCMCIA_XIRTULIP
...
@@ -136,11 +126,9 @@ config PCMCIA_XIRTULIP
as with work-alike chips from Lite-On (PNIC) and Macronix (MXIC) and
as with work-alike chips from Lite-On (PNIC) and Macronix (MXIC) and
ASIX.
ASIX.
This driver is also available as a module ( = code which can be
To compile this driver as a module, choose M here and read
inserted in and removed from the running kernel whenever you want).
<file:Documentation/networking/net-modules.txt>. The module will
The module will be called xircom_tulip_cb. If you want to compile
be called xircom_tulip_cb. If unsure, say N.
it as a module, say M here and read
<file:Documentation/modules.txt>. If unsure, say N.
endmenu
endmenu
drivers/net/wireless/Makefile
View file @
49e68be0
...
@@ -3,7 +3,9 @@
...
@@ -3,7 +3,9 @@
#
#
obj-$(CONFIG_STRIP)
+=
strip.o
obj-$(CONFIG_STRIP)
+=
strip.o
obj-$(CONFIG_ARLAN)
+=
arlan.o arlan-proc.o
obj-$(CONFIG_ARLAN)
+=
arlan.o
arlan-objs
:=
arlan-main.o arlan-proc.o
# Obsolete cards
# Obsolete cards
obj-$(CONFIG_WAVELAN)
+=
wavelan.o
obj-$(CONFIG_WAVELAN)
+=
wavelan.o
...
...
drivers/net/wireless/arlan.c
→
drivers/net/wireless/arlan
-main
.c
View file @
49e68be0
This diff is collapsed.
Click to expand it.
drivers/net/wireless/arlan-proc.c
View file @
49e68be0
...
@@ -108,7 +108,7 @@ static const char *arlan_diagnostic_info_string(struct net_device *dev)
...
@@ -108,7 +108,7 @@ static const char *arlan_diagnostic_info_string(struct net_device *dev)
default:
default:
return
"ERROR unknown Diagnostic info reply code "
;
return
"ERROR unknown Diagnostic info reply code "
;
}
}
}
;
}
static
const
char
*
arlan_hardware_type_string
(
struct
net_device
*
dev
)
static
const
char
*
arlan_hardware_type_string
(
struct
net_device
*
dev
)
{
{
...
@@ -866,7 +866,6 @@ static int arlan_sysctl_reset(ctl_table * ctl, int write, struct file *filp,
...
@@ -866,7 +866,6 @@ static int arlan_sysctl_reset(ctl_table * ctl, int write, struct file *filp,
CTBLN(32,cardNo,lParameter),\
CTBLN(32,cardNo,lParameter),\
CTBLN(33,cardNo,_15),\
CTBLN(33,cardNo,_15),\
CTBLN(34,cardNo,headerSize),\
CTBLN(34,cardNo,headerSize),\
CTBLN(35,cardNo,async),\
CTBLN(36,cardNo,tx_delay_ms),\
CTBLN(36,cardNo,tx_delay_ms),\
CTBLN(37,cardNo,retries),\
CTBLN(37,cardNo,retries),\
CTBLN(38,cardNo,ReTransmitPacketMaxSize),\
CTBLN(38,cardNo,ReTransmitPacketMaxSize),\
...
@@ -1233,7 +1232,7 @@ static ctl_table arlan_root_table[] =
...
@@ -1233,7 +1232,7 @@ static ctl_table arlan_root_table[] =
static
struct
ctl_table_header
*
arlan_device_sysctl_header
;
static
struct
ctl_table_header
*
arlan_device_sysctl_header
;
int
init_arlan_proc
(
void
)
int
__init
init_arlan_proc
(
void
)
{
{
int
i
=
0
;
int
i
=
0
;
...
@@ -1247,25 +1246,11 @@ int init_arlan_proc(void)
...
@@ -1247,25 +1246,11 @@ int init_arlan_proc(void)
return
0
;
return
0
;
};
}
#ifdef MODULE
int
init_module
(
void
)
{
return
init_arlan_proc
();
};
void
cleanup_module
(
void
)
void
__exit
cleanup_arlan_proc
(
void
)
{
{
unregister_sysctl_table
(
arlan_device_sysctl_header
);
unregister_sysctl_table
(
arlan_device_sysctl_header
);
arlan_device_sysctl_header
=
NULL
;
arlan_device_sysctl_header
=
NULL
;
return
;
}
};
#endif // MODULE
MODULE_LICENSE
(
"GPL"
);
drivers/net/wireless/arlan.h
View file @
49e68be0
...
@@ -39,14 +39,16 @@
...
@@ -39,14 +39,16 @@
#define ARLAN_RCV_PROMISC 1
#define ARLAN_RCV_PROMISC 1
#define ARLAN_RCV_CONTROL 2
#define ARLAN_RCV_CONTROL 2
#ifdef CONFIG_PROC_FS
#ifdef CONFIG_PROC_FS
extern
int
init_arlan_proc
(
void
);
extern
int
init_arlan_proc
(
void
);
extern
void
cleanup_arlan_proc
(
void
);
#else
#define init_arlan_proc() (0)
#define cleanup_arlan_proc() do { } while (0);
#endif
#endif
extern
struct
net_device
*
arlan_device
[
MAX_ARLANS
];
extern
struct
net_device
*
arlan_device
[
MAX_ARLANS
];
extern
int
arlan_debug
;
extern
int
arlan_debug
;
extern
char
*
siteName
;
extern
int
arlan_entry_debug
;
extern
int
arlan_entry_debug
;
extern
int
arlan_exit_debug
;
extern
int
arlan_exit_debug
;
extern
int
testMemory
;
extern
int
testMemory
;
...
@@ -67,8 +69,6 @@ extern int arlan_command(struct net_device * dev, int command);
...
@@ -67,8 +69,6 @@ extern int arlan_command(struct net_device * dev, int command);
#define channelSetUNKNOWN 0
#define channelSetUNKNOWN 0
#define systemIdUNKNOWN -1
#define systemIdUNKNOWN -1
#define registrationModeUNKNOWN -1
#define registrationModeUNKNOWN -1
#define siteNameUNKNOWN "LinuxSite"
#define IFDEBUG( L ) if ( (L) & arlan_debug )
#define IFDEBUG( L ) if ( (L) & arlan_debug )
...
@@ -293,7 +293,6 @@ struct arlan_conf_stru {
...
@@ -293,7 +293,6 @@ struct arlan_conf_stru {
int
lParameter
;
int
lParameter
;
int
_15
;
int
_15
;
int
headerSize
;
int
headerSize
;
int
async
;
int
retries
;
int
retries
;
int
tx_delay_ms
;
int
tx_delay_ms
;
int
waitReTransmitPacketMaxSize
;
int
waitReTransmitPacketMaxSize
;
...
@@ -332,83 +331,56 @@ struct TxParam
...
@@ -332,83 +331,56 @@ struct TxParam
volatile
unsigned
char
scrambled
;
volatile
unsigned
char
scrambled
;
};
};
struct
TxRingPoint
{
struct
TxParam
txParam
;
};
#define TX_RING_SIZE 2
#define TX_RING_SIZE 2
/* Information that need to be kept for each board. */
/* Information that need to be kept for each board. */
struct
arlan_private
{
struct
arlan_private
{
struct
net_device_stats
stats
;
struct
net_device_stats
stats
;
long
open_time
;
/* Useless example local info. */
struct
arlan_shmem
*
card
;
struct
arlan_shmem
*
card
;
struct
arlan_shmem
*
conf
;
struct
arlan_shmem
*
conf
;
struct
TxParam
txParam
;
int
multicastLength
;
char
multicastList
[
ARLAN_MAX_MULTICAST_ADDRS
][
6
];
int
promiscModeEnabled
;
struct
arlan_conf_stru
*
Conf
;
struct
arlan_conf_stru
*
Conf
;
int
bad
;
int
bad
;
int
reset
;
int
reset
;
long
long
lastReset
;
unsigned
long
lastReset
;
struct
timer_list
timer
;
struct
timer_list
timer
;
struct
timer_list
tx_delay_timer
;
struct
timer_list
tx_delay_timer
;
struct
timer_list
tx_retry_timer
;
struct
timer_list
tx_retry_timer
;
struct
timer_list
rx_check_timer
;
struct
timer_list
rx_check_timer
;
struct
semaphore
card_lock
;
atomic_t
card_users
;
atomic_t
delay_on
;
atomic_t
retr_on
;
int
registrationLostCount
;
int
registrationLostCount
;
int
reRegisterExp
;
int
reRegisterExp
;
int
nof_tx
;
int
nof_tx_ack
;
int
last_nof_tx
;
int
last_nof_tx_ack
;
int
irq_test_done
;
int
irq_test_done
;
int
last_command_was_rx
;
struct
TxParam
txRing
[
TX_RING_SIZE
];
struct
TxParam
txRing
[
TX_RING_SIZE
];
char
reTransmitBuff
[
0x800
];
char
reTransmitBuff
[
0x800
];
volatile
int
txLast
;
int
txLast
;
volatile
int
txNew
;
unsigned
ReTransmitRequested
;
volatile
int
txOffset
;
unsigned
long
tx_done_delayed
;
volatile
char
ReTransmitRequested
;
unsigned
long
registrationLastSeen
;
volatile
unsigned
long
tx_done_delayed
;
volatile
long
long
registrationLastSeen
;
unsigned
long
tx_last_sent
;
volatile
char
under_command
;
unsigned
long
tx_last_cleared
;
volatile
char
under_toggle
;
unsigned
long
retransmissions
;
volatile
long
long
tx_last_sent
;
unsigned
long
interrupt_ack_requested
;
volatile
long
long
tx_last_cleared
;
spinlock_t
lock
;
volatile
u_char
under_tx
;
unsigned
long
waiting_command_mask
;
volatile
int
retransmissions
;
unsigned
long
card_polling_interval
;
volatile
int
tx_chain_active
;
unsigned
long
last_command_buff_free_time
;
volatile
int
timer_chain_active
;
volatile
int
interrupt_ack_requested
;
int
under_reset
;
volatile
long
command_lock
;
int
under_config
;
volatile
int
rx_command_needed
;
int
rx_command_given
;
volatile
int
tx_command_needed
;
int
tx_command_given
;
volatile
int
waiting_command_mask
;
unsigned
long
interrupt_processing_active
;
volatile
int
card_polling_interval
;
unsigned
long
last_rx_int_ack_time
;
volatile
int
last_command_buff_free_time
;
unsigned
long
in_bytes
;
volatile
int
numResets
;
unsigned
long
out_bytes
;
volatile
int
under_reset
;
unsigned
long
in_time
;
volatile
int
under_config
;
unsigned
long
out_time
;
volatile
int
rx_command_given
;
unsigned
long
in_time10
;
volatile
long
tx_command_given
;
unsigned
long
out_time10
;
volatile
long
interrupt_processing_active
;
unsigned
long
in_bytes10
;
volatile
long
long
last_tx_time
;
unsigned
long
out_bytes10
;
volatile
long
long
last_rx_time
;
volatile
long
long
last_rx_int_ack_time
;
int
in_bytes
;
int
out_bytes
;
int
in_time
;
int
out_time
;
int
in_time10
;
int
out_time10
;
int
in_bytes10
;
int
out_bytes10
;
int
init_etherdev_alloc
;
int
init_etherdev_alloc
;
};
};
...
@@ -497,13 +469,11 @@ struct arlan_private {
...
@@ -497,13 +469,11 @@ struct arlan_private {
#define arlan_interrupt_lancpu(dev) {\
#define arlan_interrupt_lancpu(dev) {\
int cr; \
int cr; \
\
\
priv->under_toggle++; \
cr = readControlRegister(dev);\
cr = readControlRegister(dev);\
if (cr & ARLAN_CHANNEL_ATTENTION){ \
if (cr & ARLAN_CHANNEL_ATTENTION){ \
writeControlRegister(dev, (cr & ~ARLAN_CHANNEL_ATTENTION));\
writeControlRegister(dev, (cr & ~ARLAN_CHANNEL_ATTENTION));\
}else \
}else \
writeControlRegister(dev, (cr | ARLAN_CHANNEL_ATTENTION));\
writeControlRegister(dev, (cr | ARLAN_CHANNEL_ATTENTION));\
priv->under_toggle=0; \
}
}
#define clearChannelAttention(dev){ \
#define clearChannelAttention(dev){ \
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment