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
fb46223e
Commit
fb46223e
authored
Apr 03, 2002
by
Jeff Garzik
Committed by
Linus Torvalds
Apr 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused, and now deprecated, references to
dev->rmem_{start,end} in skfp and smctr drivers.
parent
a4a07102
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
drivers/net/skfp/skfddi.c
drivers/net/skfp/skfddi.c
+0
-2
drivers/net/tokenring/smctr.c
drivers/net/tokenring/smctr.c
+2
-2
No files found.
drivers/net/skfp/skfddi.c
View file @
fb46223e
...
@@ -520,8 +520,6 @@ static void init_dev(struct net_device *dev, u_long iobase)
...
@@ -520,8 +520,6 @@ static void init_dev(struct net_device *dev, u_long iobase)
{
{
/* Initialize new device structure */
/* Initialize new device structure */
dev
->
rmem_end
=
0
;
/* shared memory isn't used */
dev
->
rmem_start
=
0
;
/* shared memory isn't used */
dev
->
mem_end
=
0
;
/* shared memory isn't used */
dev
->
mem_end
=
0
;
/* shared memory isn't used */
dev
->
mem_start
=
0
;
/* shared memory isn't used */
dev
->
mem_start
=
0
;
/* shared memory isn't used */
dev
->
base_addr
=
iobase
;
/* save port (I/O) base address */
dev
->
base_addr
=
iobase
;
/* save port (I/O) base address */
...
...
drivers/net/tokenring/smctr.c
View file @
fb46223e
...
@@ -3718,8 +3718,8 @@ static int __init smctr_probe1(struct net_device *dev, int ioaddr)
...
@@ -3718,8 +3718,8 @@ static int __init smctr_probe1(struct net_device *dev, int ioaddr)
}
}
tp
=
(
struct
net_local
*
)
dev
->
priv
;
tp
=
(
struct
net_local
*
)
dev
->
priv
;
dev
->
rmem_start
=
dev
->
mem_start
=
tp
->
ram_base
;
dev
->
mem_start
=
tp
->
ram_base
;
dev
->
rmem_end
=
dev
->
mem_end
=
dev
->
mem_start
+
0x10000
;
dev
->
mem_end
=
dev
->
mem_start
+
0x10000
;
ram
=
(
__u32
*
)
phys_to_virt
(
dev
->
mem_start
);
ram
=
(
__u32
*
)
phys_to_virt
(
dev
->
mem_start
);
tp
->
ram_access
=
*
(
__u32
*
)
&
ram
;
tp
->
ram_access
=
*
(
__u32
*
)
&
ram
;
tp
->
status
=
NOT_INITIALIZED
;
tp
->
status
=
NOT_INITIALIZED
;
...
...
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