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
0243dbb6
Commit
0243dbb6
authored
Apr 17, 2004
by
Geert Uytterhoeven
Committed by
Linus Torvalds
Apr 17, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Amiga Hydra Ethernet KERN_*
Amiga Hydra Ethernet: Add KERN_* prefixes to printk() messages
parent
d79459da
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
drivers/net/hydra.c
drivers/net/hydra.c
+7
-6
No files found.
drivers/net/hydra.c
View file @
0243dbb6
...
...
@@ -153,10 +153,11 @@ static int __devinit hydra_init(struct zorro_dev *z)
zorro_set_drvdata
(
z
,
dev
);
printk
(
"%s: Hydra at 0x%08lx, address %02x:%02x:%02x:%02x:%02x:%02x "
"(hydra.c "
HYDRA_VERSION
")
\n
"
,
dev
->
name
,
z
->
resource
.
start
,
dev
->
dev_addr
[
0
],
dev
->
dev_addr
[
1
],
dev
->
dev_addr
[
2
],
dev
->
dev_addr
[
3
],
dev
->
dev_addr
[
4
],
dev
->
dev_addr
[
5
]);
printk
(
KERN_INFO
"%s: Hydra at 0x%08lx, address "
"%02x:%02x:%02x:%02x:%02x:%02x (hydra.c "
HYDRA_VERSION
")
\n
"
,
dev
->
name
,
z
->
resource
.
start
,
dev
->
dev_addr
[
0
],
dev
->
dev_addr
[
1
],
dev
->
dev_addr
[
2
],
dev
->
dev_addr
[
3
],
dev
->
dev_addr
[
4
],
dev
->
dev_addr
[
5
]);
return
0
;
}
...
...
@@ -170,14 +171,14 @@ static int hydra_open(struct net_device *dev)
static
int
hydra_close
(
struct
net_device
*
dev
)
{
if
(
ei_debug
>
1
)
printk
(
"%s: Shutting down ethercard.
\n
"
,
dev
->
name
);
printk
(
KERN_DEBUG
"%s: Shutting down ethercard.
\n
"
,
dev
->
name
);
ei_close
(
dev
);
return
0
;
}
static
void
hydra_reset_8390
(
struct
net_device
*
dev
)
{
printk
(
"Hydra hw reset not there
\n
"
);
printk
(
KERN_INFO
"Hydra hw reset not there
\n
"
);
}
static
void
hydra_get_8390_hdr
(
struct
net_device
*
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