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
b6a7a9b6
Commit
b6a7a9b6
authored
May 28, 2003
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr] s/init_etherdev/alloc_etherdev/ in code comments,
in 8139too and pci-skeleton drivers.
parent
0ea9bcb1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
drivers/net/8139too.c
drivers/net/8139too.c
+1
-1
drivers/net/pci-skeleton.c
drivers/net/pci-skeleton.c
+2
-2
No files found.
drivers/net/8139too.c
View file @
b6a7a9b6
...
@@ -980,7 +980,7 @@ static int __devinit rtl8139_init_one (struct pci_dev *pdev,
...
@@ -980,7 +980,7 @@ static int __devinit rtl8139_init_one (struct pci_dev *pdev,
dev
->
irq
=
pdev
->
irq
;
dev
->
irq
=
pdev
->
irq
;
/* dev->priv/tp zeroed and aligned in
init
_etherdev */
/* dev->priv/tp zeroed and aligned in
alloc
_etherdev */
tp
=
dev
->
priv
;
tp
=
dev
->
priv
;
/* note: tp->chipset set in rtl8139_init_board */
/* note: tp->chipset set in rtl8139_init_board */
...
...
drivers/net/pci-skeleton.c
View file @
b6a7a9b6
...
@@ -602,7 +602,7 @@ static int __devinit netdrv_init_board (struct pci_dev *pdev,
...
@@ -602,7 +602,7 @@ static int __devinit netdrv_init_board (struct pci_dev *pdev,
*
ioaddr_out
=
NULL
;
*
ioaddr_out
=
NULL
;
*
dev_out
=
NULL
;
*
dev_out
=
NULL
;
/* dev zeroed in
init
_etherdev */
/* dev zeroed in
alloc
_etherdev */
dev
=
alloc_etherdev
(
sizeof
(
*
tp
));
dev
=
alloc_etherdev
(
sizeof
(
*
tp
));
if
(
dev
==
NULL
)
{
if
(
dev
==
NULL
)
{
printk
(
KERN_ERR
PFX
"unable to alloc new ethernet
\n
"
);
printk
(
KERN_ERR
PFX
"unable to alloc new ethernet
\n
"
);
...
@@ -790,7 +790,7 @@ static int __devinit netdrv_init_one (struct pci_dev *pdev,
...
@@ -790,7 +790,7 @@ static int __devinit netdrv_init_one (struct pci_dev *pdev,
dev
->
irq
=
pdev
->
irq
;
dev
->
irq
=
pdev
->
irq
;
dev
->
base_addr
=
(
unsigned
long
)
ioaddr
;
dev
->
base_addr
=
(
unsigned
long
)
ioaddr
;
/* dev->priv/tp zeroed and aligned in
init
_etherdev */
/* dev->priv/tp zeroed and aligned in
alloc
_etherdev */
tp
=
dev
->
priv
;
tp
=
dev
->
priv
;
/* note: tp->chipset set in netdrv_init_board */
/* note: tp->chipset set in netdrv_init_board */
...
...
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