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
f3fd056b
Commit
f3fd056b
authored
May 16, 2002
by
Andrey Panin
Committed by
Jeff Garzik
May 16, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Janitor: Add __devinit markers to two net drivers, epic100 and sundance
parent
6b537219
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
drivers/net/epic100.c
drivers/net/epic100.c
+1
-1
drivers/net/sundance.c
drivers/net/sundance.c
+1
-1
No files found.
drivers/net/epic100.c
View file @
f3fd056b
...
...
@@ -582,7 +582,7 @@ static int __devinit epic_init_one (struct pci_dev *pdev,
#define EE_READ256_CMD (6 << 8)
#define EE_ERASE_CMD (7 << 6)
static
int
read_eeprom
(
long
ioaddr
,
int
location
)
static
int
__devinit
read_eeprom
(
long
ioaddr
,
int
location
)
{
int
i
;
int
retval
=
0
;
...
...
drivers/net/sundance.c
View file @
f3fd056b
...
...
@@ -637,7 +637,7 @@ static int __devinit sundance_probe1 (struct pci_dev *pdev,
/* Read the EEPROM and MII Management Data I/O (MDIO) interfaces. */
static
int
eeprom_read
(
long
ioaddr
,
int
location
)
static
int
__devinit
eeprom_read
(
long
ioaddr
,
int
location
)
{
int
boguscnt
=
1000
;
/* Typical 190 ticks. */
writew
(
0x0200
|
(
location
&
0xff
),
ioaddr
+
EECtrl
);
...
...
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