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
Kirill Smelkov
linux
Commits
5f99d385
Commit
5f99d385
authored
Jan 30, 2004
by
Mirko Lindner
Committed by
Jeff Garzik
Jan 30, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] sk98lin: Reset Xmac when stopping the port
* Clear the Xmac fifo before stopping the port
parent
7704432c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
7 deletions
+12
-7
drivers/net/sk98lin/h/skversion.h
drivers/net/sk98lin/h/skversion.h
+5
-5
drivers/net/sk98lin/skge.c
drivers/net/sk98lin/skge.c
+7
-2
No files found.
drivers/net/sk98lin/h/skversion.h
View file @
5f99d385
...
...
@@ -61,14 +61,14 @@
#ifdef lint
static
const
char
SysKonnectFileId
[]
=
"@(#) (C) SysKonnect GmbH."
;
static
const
char
SysKonnectBuildNumber
[]
=
"@(#)SK-BUILD: 6.2
1
PL: 01"
;
"@(#)SK-BUILD: 6.2
2
PL: 01"
;
#endif
/* !defined(lint) */
#define BOOT_STRING "sk98lin: Network Device Driver v6.2
1
\n" \
"(C)Copyright 1999-200
3
Marvell(R)."
#define BOOT_STRING "sk98lin: Network Device Driver v6.2
2
\n" \
"(C)Copyright 1999-200
4
Marvell(R)."
#define VER_STRING "6.2
1
"
#define VER_STRING "6.2
2
"
#define DRIVER_FILE_NAME "sk98lin"
#define DRIVER_REL_DATE "
Dec-15-2003
"
#define DRIVER_REL_DATE "
Jan-30-2004
"
drivers/net/sk98lin/skge.c
View file @
5f99d385
...
...
@@ -2,8 +2,8 @@
*
* Name: skge.c
* Project: GEnesis, PCI Gigabit Ethernet Adapter
* Version: $Revision: 1.4
2
$
* Date: $Date: 200
3/12/12 10:05:43
$
* Version: $Revision: 1.4
3
$
* Date: $Date: 200
4/01/29 15:47:07
$
* Purpose: The main driver source module
*
******************************************************************************/
...
...
@@ -41,6 +41,9 @@
* History:
*
* $Log: skge.c,v $
* Revision 1.43 2004/01/29 15:47:07 mlindner
* Fix: Reset Xmac when stopping the port
*
* Revision 1.42 2003/12/12 10:05:43 mlindner
* Fix: Format of error message corrected
*
...
...
@@ -2154,6 +2157,7 @@ struct SK_NET_DEVICE *dev)
EvPara
.
Para32
[
0
]
=
pNet
->
NetNr
;
EvPara
.
Para32
[
1
]
=
-
1
;
SkEventQueue
(
pAC
,
SKGE_RLMT
,
SK_RLMT_STOP
,
EvPara
);
SkPnmiEvent
(
pAC
,
pAC
->
IoBase
,
SK_PNMI_EVT_XMAC_RESET
,
EvPara
);
SkEventDispatcher
(
pAC
,
pAC
->
IoBase
);
spin_unlock_irqrestore
(
&
pAC
->
SlowPathLock
,
Flags
);
...
...
@@ -5002,6 +5006,7 @@ SK_BOOL DualNet;
spin_lock_irqsave
(
&
pAC
->
TxPort
[
FromPort
][
TX_PRIO_LOW
].
TxDesRingLock
,
Flags
);
SkGeStopPort
(
pAC
,
IoC
,
FromPort
,
SK_STOP_ALL
,
SK_HARD_RST
);
pAC
->
dev
[
Param
.
Para32
[
0
]]
->
flags
&=
~
IFF_RUNNING
;
spin_unlock_irqrestore
(
...
...
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