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
fffc9057
Commit
fffc9057
authored
Oct 18, 2002
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://suncobalt.bkbits.net/net-drivers-2.5
into redhat.com:/home/jgarzik/repo/net-drivers-2.5
parents
92abdb42
202f6e8f
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
126 additions
and
92 deletions
+126
-92
drivers/net/eepro100.c
drivers/net/eepro100.c
+118
-87
drivers/net/mii.c
drivers/net/mii.c
+5
-2
drivers/net/natsemi.c
drivers/net/natsemi.c
+3
-3
No files found.
drivers/net/eepro100.c
View file @
fffc9057
This diff is collapsed.
Click to expand it.
drivers/net/mii.c
View file @
fffc9057
...
...
@@ -192,9 +192,12 @@ int mii_nway_restart (struct mii_if_info *mii)
void
mii_check_link
(
struct
mii_if_info
*
mii
)
{
if
(
mii_link_ok
(
mii
))
int
cur_link
=
mii_link_ok
(
mii
);
int
prev_link
=
netif_carrier_ok
(
mii
->
dev
);
if
(
cur_link
&&
!
prev_link
)
netif_carrier_on
(
mii
->
dev
);
else
else
if
(
prev_link
&&
!
cur_link
)
netif_carrier_off
(
mii
->
dev
);
}
...
...
drivers/net/natsemi.c
View file @
fffc9057
...
...
@@ -184,7 +184,7 @@
NETIF_MSG_WOL | \
NETIF_MSG_RX_ERR | \
NETIF_MSG_TX_ERR)
static
int
debug
=
NATSEMI_DEF_MSG
;
static
int
debug
=
-
1
;
/* Maximum events (Rx packets, etc.) to handle at each interrupt. */
static
int
max_interrupt_work
=
20
;
...
...
@@ -256,7 +256,7 @@ MODULE_PARM(full_duplex, "1-" __MODULE_STRING(MAX_UNITS) "i");
MODULE_PARM_DESC
(
max_interrupt_work
,
"DP8381x maximum events handled per interrupt"
);
MODULE_PARM_DESC
(
mtu
,
"DP8381x MTU (all boards)"
);
MODULE_PARM_DESC
(
debug
,
"DP8381x default debug
bitmask
"
);
MODULE_PARM_DESC
(
debug
,
"DP8381x default debug
level
"
);
MODULE_PARM_DESC
(
rx_copybreak
,
"DP8381x copy breakpoint for copy-only-tiny-frames"
);
MODULE_PARM_DESC
(
options
,
...
...
@@ -796,7 +796,7 @@ static int __devinit natsemi_probe1 (struct pci_dev *pdev,
pci_set_drvdata
(
pdev
,
dev
);
np
->
iosize
=
iosize
;
spin_lock_init
(
&
np
->
lock
);
np
->
msg_enable
=
debug
;
np
->
msg_enable
=
(
debug
>=
0
)
?
(
1
<<
debug
)
-
1
:
NATSEMI_DEF_MSG
;
np
->
hands_off
=
0
;
/* Reset the chip to erase previous misconfiguration. */
...
...
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