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
0b154e97
Commit
0b154e97
authored
Aug 19, 2003
by
Stephen Hemminger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NET]: free_netdev - tokenring changes.
s/kfree/free_netdev/ as appropriate for tokenring drivers.
parent
d65933a3
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
10 additions
and
10 deletions
+10
-10
drivers/net/tokenring/3c359.c
drivers/net/tokenring/3c359.c
+1
-1
drivers/net/tokenring/abyss.c
drivers/net/tokenring/abyss.c
+1
-1
drivers/net/tokenring/ibmtr.c
drivers/net/tokenring/ibmtr.c
+1
-1
drivers/net/tokenring/lanstreamer.c
drivers/net/tokenring/lanstreamer.c
+1
-1
drivers/net/tokenring/madgemc.c
drivers/net/tokenring/madgemc.c
+1
-1
drivers/net/tokenring/olympic.c
drivers/net/tokenring/olympic.c
+1
-1
drivers/net/tokenring/proteon.c
drivers/net/tokenring/proteon.c
+1
-1
drivers/net/tokenring/skisa.c
drivers/net/tokenring/skisa.c
+1
-1
drivers/net/tokenring/smctr.c
drivers/net/tokenring/smctr.c
+1
-1
drivers/net/tokenring/tmspci.c
drivers/net/tokenring/tmspci.c
+1
-1
No files found.
drivers/net/tokenring/3c359.c
View file @
0b154e97
...
@@ -1787,7 +1787,7 @@ static void __devexit xl_remove_one (struct pci_dev *pdev)
...
@@ -1787,7 +1787,7 @@ static void __devexit xl_remove_one (struct pci_dev *pdev)
iounmap
(
xl_priv
->
xl_mmio
)
;
iounmap
(
xl_priv
->
xl_mmio
)
;
pci_release_regions
(
pdev
)
;
pci_release_regions
(
pdev
)
;
pci_set_drvdata
(
pdev
,
NULL
)
;
pci_set_drvdata
(
pdev
,
NULL
)
;
kfree
(
dev
);
free_netdev
(
dev
);
return
;
return
;
}
}
...
...
drivers/net/tokenring/abyss.c
View file @
0b154e97
...
@@ -443,7 +443,7 @@ static void __devexit abyss_detach (struct pci_dev *pdev)
...
@@ -443,7 +443,7 @@ static void __devexit abyss_detach (struct pci_dev *pdev)
release_region
(
dev
->
base_addr
-
0x10
,
ABYSS_IO_EXTENT
);
release_region
(
dev
->
base_addr
-
0x10
,
ABYSS_IO_EXTENT
);
free_irq
(
dev
->
irq
,
dev
);
free_irq
(
dev
->
irq
,
dev
);
tmsdev_term
(
dev
);
tmsdev_term
(
dev
);
kfree
(
dev
);
free_netdev
(
dev
);
pci_set_drvdata
(
pdev
,
NULL
);
pci_set_drvdata
(
pdev
,
NULL
);
}
}
...
...
drivers/net/tokenring/ibmtr.c
View file @
0b154e97
...
@@ -1975,7 +1975,7 @@ static void __exit ibmtr_cleanup(void)
...
@@ -1975,7 +1975,7 @@ static void __exit ibmtr_cleanup(void)
iounmap
((
u32
*
)
ti
->
sram_virt
);
iounmap
((
u32
*
)
ti
->
sram_virt
);
}
}
#endif
#endif
kfree
(
dev_ibmtr
[
i
]);
free_netdev
(
dev_ibmtr
[
i
]);
dev_ibmtr
[
i
]
=
NULL
;
dev_ibmtr
[
i
]
=
NULL
;
}
}
}
}
...
...
drivers/net/tokenring/lanstreamer.c
View file @
0b154e97
...
@@ -433,7 +433,7 @@ static void __devexit streamer_remove_one(struct pci_dev *pdev)
...
@@ -433,7 +433,7 @@ static void __devexit streamer_remove_one(struct pci_dev *pdev)
/* shouldn't we do iounmap here? */
/* shouldn't we do iounmap here? */
release_region
(
pci_resource_start
(
pdev
,
0
),
pci_resource_len
(
pdev
,
0
));
release_region
(
pci_resource_start
(
pdev
,
0
),
pci_resource_len
(
pdev
,
0
));
release_mem_region
(
pci_resource_start
(
pdev
,
1
),
pci_resource_len
(
pdev
,
1
));
release_mem_region
(
pci_resource_start
(
pdev
,
1
),
pci_resource_len
(
pdev
,
1
));
kfree
(
dev
);
free_netdev
(
dev
);
pci_set_drvdata
(
pdev
,
NULL
);
pci_set_drvdata
(
pdev
,
NULL
);
}
}
...
...
drivers/net/tokenring/madgemc.c
View file @
0b154e97
...
@@ -774,7 +774,7 @@ static void __exit madgemc_exit(void)
...
@@ -774,7 +774,7 @@ static void __exit madgemc_exit(void)
release_region
(
dev
->
base_addr
-
MADGEMC_SIF_OFFSET
,
MADGEMC_IO_EXTENT
);
release_region
(
dev
->
base_addr
-
MADGEMC_SIF_OFFSET
,
MADGEMC_IO_EXTENT
);
free_irq
(
dev
->
irq
,
dev
);
free_irq
(
dev
->
irq
,
dev
);
tmsdev_term
(
dev
);
tmsdev_term
(
dev
);
kfree
(
dev
);
free_netdev
(
dev
);
this_card
=
madgemc_card_list
;
this_card
=
madgemc_card_list
;
madgemc_card_list
=
this_card
->
next
;
madgemc_card_list
=
this_card
->
next
;
kfree
(
this_card
);
kfree
(
this_card
);
...
...
drivers/net/tokenring/olympic.c
View file @
0b154e97
...
@@ -1779,7 +1779,7 @@ static void __devexit olympic_remove_one(struct pci_dev *pdev)
...
@@ -1779,7 +1779,7 @@ static void __devexit olympic_remove_one(struct pci_dev *pdev)
iounmap
(
olympic_priv
->
olympic_lap
)
;
iounmap
(
olympic_priv
->
olympic_lap
)
;
pci_release_regions
(
pdev
)
;
pci_release_regions
(
pdev
)
;
pci_set_drvdata
(
pdev
,
NULL
)
;
pci_set_drvdata
(
pdev
,
NULL
)
;
kfree
(
dev
)
;
free_netdev
(
dev
)
;
}
}
static
struct
pci_driver
olympic_driver
=
{
static
struct
pci_driver
olympic_driver
=
{
...
...
drivers/net/tokenring/proteon.c
View file @
0b154e97
...
@@ -436,7 +436,7 @@ void cleanup_module(void)
...
@@ -436,7 +436,7 @@ void cleanup_module(void)
free_irq
(
dev
->
irq
,
dev
);
free_irq
(
dev
->
irq
,
dev
);
free_dma
(
dev
->
dma
);
free_dma
(
dev
->
dma
);
tmsdev_term
(
dev
);
tmsdev_term
(
dev
);
kfree
(
dev
);
free_netdev
(
dev
);
this_card
=
proteon_card_list
;
this_card
=
proteon_card_list
;
proteon_card_list
=
this_card
->
next
;
proteon_card_list
=
this_card
->
next
;
kfree
(
this_card
);
kfree
(
this_card
);
...
...
drivers/net/tokenring/skisa.c
View file @
0b154e97
...
@@ -449,7 +449,7 @@ void cleanup_module(void)
...
@@ -449,7 +449,7 @@ void cleanup_module(void)
free_irq
(
dev
->
irq
,
dev
);
free_irq
(
dev
->
irq
,
dev
);
free_dma
(
dev
->
dma
);
free_dma
(
dev
->
dma
);
tmsdev_term
(
dev
);
tmsdev_term
(
dev
);
kfree
(
dev
);
free_netdev
(
dev
);
this_card
=
sk_isa_card_list
;
this_card
=
sk_isa_card_list
;
sk_isa_card_list
=
this_card
->
next
;
sk_isa_card_list
=
this_card
->
next
;
kfree
(
this_card
);
kfree
(
this_card
);
...
...
drivers/net/tokenring/smctr.c
View file @
0b154e97
...
@@ -5730,7 +5730,7 @@ void cleanup_module(void)
...
@@ -5730,7 +5730,7 @@ void cleanup_module(void)
if
(
dev
)
{
if
(
dev
)
{
unregister_netdev
(
dev
);
unregister_netdev
(
dev
);
cleanup_card
(
dev
);
cleanup_card
(
dev
);
kfree
(
dev
);
free_netdev
(
dev
);
}
}
}
}
}
}
...
...
drivers/net/tokenring/tmspci.c
View file @
0b154e97
...
@@ -229,7 +229,7 @@ static void __devexit tms_pci_detach (struct pci_dev *pdev)
...
@@ -229,7 +229,7 @@ static void __devexit tms_pci_detach (struct pci_dev *pdev)
release_region
(
dev
->
base_addr
,
TMS_PCI_IO_EXTENT
);
release_region
(
dev
->
base_addr
,
TMS_PCI_IO_EXTENT
);
free_irq
(
dev
->
irq
,
dev
);
free_irq
(
dev
->
irq
,
dev
);
tmsdev_term
(
dev
);
tmsdev_term
(
dev
);
kfree
(
dev
);
free_netdev
(
dev
);
pci_set_drvdata
(
pdev
,
NULL
);
pci_set_drvdata
(
pdev
,
NULL
);
}
}
...
...
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