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
985514c9
Commit
985514c9
authored
Apr 03, 2002
by
Eli Kupermann
Committed by
Jeff Garzik
Apr 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
e100 net driver update 3/3:
Adding proper print level qualifier to the printk calls.
parent
249cb6f3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
drivers/net/e100/e100_main.c
drivers/net/e100/e100_main.c
+8
-5
No files found.
drivers/net/e100/e100_main.c
View file @
985514c9
...
@@ -182,7 +182,7 @@ static void e100_non_tx_background(unsigned long);
...
@@ -182,7 +182,7 @@ static void e100_non_tx_background(unsigned long);
/* Global Data structures and variables */
/* Global Data structures and variables */
char
e100_copyright
[]
__devinitdata
=
"Copyright (c) 2002 Intel Corporation"
;
char
e100_copyright
[]
__devinitdata
=
"Copyright (c) 2002 Intel Corporation"
;
#define E100_VERSION "2.0.27-pre
2
"
#define E100_VERSION "2.0.27-pre
3
"
#define E100_FULL_DRIVER_NAME "Intel(R) PRO/100 Fast Ethernet Adapter - Loadable driver, ver "
#define E100_FULL_DRIVER_NAME "Intel(R) PRO/100 Fast Ethernet Adapter - Loadable driver, ver "
...
@@ -482,7 +482,7 @@ inline unsigned char
...
@@ -482,7 +482,7 @@ inline unsigned char
e100_wait_exec_simple
(
struct
e100_private
*
bdp
,
u8
scb_cmd_low
)
e100_wait_exec_simple
(
struct
e100_private
*
bdp
,
u8
scb_cmd_low
)
{
{
if
(
!
e100_wait_scb
(
bdp
))
{
if
(
!
e100_wait_scb
(
bdp
))
{
printk
(
KERN_
ERR
"%s e100_wait_exec_simple: Wait failed
\n
"
,
printk
(
KERN_
DEBUG
"%s e100_wait_exec_simple: Wait failed
\n
"
,
bdp
->
device
->
name
);
bdp
->
device
->
name
);
return
false
;
return
false
;
}
}
...
@@ -2373,11 +2373,13 @@ e100_start_cu(struct e100_private *bdp, tcb_t *tcb)
...
@@ -2373,11 +2373,13 @@ e100_start_cu(struct e100_private *bdp, tcb_t *tcb)
case
START_WAIT
:
case
START_WAIT
:
// The last command was a non_tx CU command
// The last command was a non_tx CU command
if
(
!
e100_wait_cus_idle
(
bdp
))
if
(
!
e100_wait_cus_idle
(
bdp
))
printk
(
"%s cu_start: timeout waiting for cu
\n
"
,
printk
(
KERN_DEBUG
"%s cu_start: timeout waiting for cu
\n
"
,
bdp
->
device
->
name
);
bdp
->
device
->
name
);
if
(
!
e100_wait_exec_cmplx
(
bdp
,
(
u32
)
(
tcb
->
tcb_phys
),
if
(
!
e100_wait_exec_cmplx
(
bdp
,
(
u32
)
(
tcb
->
tcb_phys
),
SCB_CUC_START
))
{
SCB_CUC_START
))
{
printk
(
"%s cu_start: timeout waiting for scb
\n
"
,
printk
(
KERN_DEBUG
"%s cu_start: timeout waiting for scb
\n
"
,
bdp
->
device
->
name
);
bdp
->
device
->
name
);
e100_exec_cmplx
(
bdp
,
(
u32
)
(
tcb
->
tcb_phys
),
e100_exec_cmplx
(
bdp
,
(
u32
)
(
tcb
->
tcb_phys
),
SCB_CUC_START
);
SCB_CUC_START
);
...
@@ -2538,7 +2540,8 @@ e100_start_ru(struct e100_private *bdp)
...
@@ -2538,7 +2540,8 @@ e100_start_ru(struct e100_private *bdp)
spin_lock
(
&
bdp
->
bd_lock
);
spin_lock
(
&
bdp
->
bd_lock
);
if
(
!
e100_wait_exec_cmplx
(
bdp
,
rx_struct
->
dma_addr
,
SCB_RUC_START
))
{
if
(
!
e100_wait_exec_cmplx
(
bdp
,
rx_struct
->
dma_addr
,
SCB_RUC_START
))
{
printk
(
"%s start_ru: wait_scb failed
\n
"
,
bdp
->
device
->
name
);
printk
(
KERN_DEBUG
"%s start_ru: wait_scb failed
\n
"
,
bdp
->
device
->
name
);
e100_exec_cmplx
(
bdp
,
rx_struct
->
dma_addr
,
SCB_RUC_START
);
e100_exec_cmplx
(
bdp
,
rx_struct
->
dma_addr
,
SCB_RUC_START
);
}
}
if
(
bdp
->
next_cu_cmd
==
RESUME_NO_WAIT
)
{
if
(
bdp
->
next_cu_cmd
==
RESUME_NO_WAIT
)
{
...
...
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