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
dbbe58fb
Commit
dbbe58fb
authored
Sep 01, 2003
by
Jeff Garzik
Committed by
David S. Miller
Sep 01, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SUNHME]: Fix non-sbus build.
parent
c0dae502
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
drivers/net/sunhme.c
drivers/net/sunhme.c
+5
-2
No files found.
drivers/net/sunhme.c
View file @
dbbe58fb
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
static
char
version
[]
=
static
char
version
[]
=
"sunhme.c:v2.02 24/Aug/2003 David S. Miller (davem@redhat.com)
\n
"
;
"sunhme.c:v2.02 24/Aug/2003 David S. Miller (davem@redhat.com)
\n
"
;
#include <linux/module.h>
#include <linux/config.h>
#include <linux/config.h>
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/types.h>
#include <linux/fcntl.h>
#include <linux/fcntl.h>
...
@@ -2504,11 +2504,14 @@ static void hme_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info
...
@@ -2504,11 +2504,14 @@ static void hme_get_drvinfo(struct net_device *dev, struct ethtool_drvinfo *info
if
(
hp
->
happy_flags
&
HFLAG_PCI
)
{
if
(
hp
->
happy_flags
&
HFLAG_PCI
)
{
struct
pci_dev
*
pdev
=
hp
->
happy_dev
;
struct
pci_dev
*
pdev
=
hp
->
happy_dev
;
strcpy
(
info
->
bus_info
,
pci_name
(
pdev
));
strcpy
(
info
->
bus_info
,
pci_name
(
pdev
));
}
else
{
}
#ifdef CONFIG_SBUS
else
{
struct
sbus_dev
*
sdev
=
hp
->
happy_dev
;
struct
sbus_dev
*
sdev
=
hp
->
happy_dev
;
sprintf
(
info
->
bus_info
,
"SBUS:%d"
,
sprintf
(
info
->
bus_info
,
"SBUS:%d"
,
sdev
->
slot
);
sdev
->
slot
);
}
}
#endif
}
}
static
u32
hme_get_link
(
struct
net_device
*
dev
)
static
u32
hme_get_link
(
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