Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
KED Linux Kernel Fork
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
KED Software Projects
Miscellaneous
KED Linux Kernel Fork
Commits
fcfe9ff3
Commit
fcfe9ff3
authored
16 years ago
by
Krzysztof Hałasa
Browse files
Options
Downloads
Patches
Plain Diff
WAN: Correct comments in hd6457[02].c
Signed-off-by:
Krzysztof Hałasa
<
khc@pm.waw.pl
>
parent
0b59cef8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
drivers/net/wan/hd64570.c
+1
-1
1 addition, 1 deletion
drivers/net/wan/hd64570.c
drivers/net/wan/hd64572.c
+1
-1
1 addition, 1 deletion
drivers/net/wan/hd64572.c
with
2 additions
and
2 deletions
drivers/net/wan/hd64570.c
+
1
−
1
View file @
fcfe9ff3
...
@@ -107,7 +107,7 @@ static inline u16 desc_abs_number(port_t *port, u16 desc, int transmit)
...
@@ -107,7 +107,7 @@ static inline u16 desc_abs_number(port_t *port, u16 desc, int transmit)
static
inline
u16
desc_offset
(
port_t
*
port
,
u16
desc
,
int
transmit
)
static
inline
u16
desc_offset
(
port_t
*
port
,
u16
desc
,
int
transmit
)
{
{
/* Descriptor offset always fits in 16 b
yte
s */
/* Descriptor offset always fits in 16 b
it
s */
return
desc_abs_number
(
port
,
desc
,
transmit
)
*
sizeof
(
pkt_desc
);
return
desc_abs_number
(
port
,
desc
,
transmit
)
*
sizeof
(
pkt_desc
);
}
}
...
...
This diff is collapsed.
Click to expand it.
drivers/net/wan/hd64572.c
+
1
−
1
View file @
fcfe9ff3
...
@@ -90,7 +90,7 @@ static inline u16 desc_abs_number(port_t *port, u16 desc, int transmit)
...
@@ -90,7 +90,7 @@ static inline u16 desc_abs_number(port_t *port, u16 desc, int transmit)
static
inline
u16
desc_offset
(
port_t
*
port
,
u16
desc
,
int
transmit
)
static
inline
u16
desc_offset
(
port_t
*
port
,
u16
desc
,
int
transmit
)
{
{
/* Descriptor offset always fits in 16 b
yte
s */
/* Descriptor offset always fits in 16 b
it
s */
return
desc_abs_number
(
port
,
desc
,
transmit
)
*
sizeof
(
pkt_desc
);
return
desc_abs_number
(
port
,
desc
,
transmit
)
*
sizeof
(
pkt_desc
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment