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
7107a09c
Commit
7107a09c
authored
Jun 05, 2003
by
Hideaki Yoshifuji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[netdrvr] C99 initializers for arcnet
parent
5443b474
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
21 deletions
+21
-21
drivers/net/arcnet/arc-rawmode.c
drivers/net/arcnet/arc-rawmode.c
+5
-5
drivers/net/arcnet/arcnet.c
drivers/net/arcnet/arcnet.c
+5
-5
drivers/net/arcnet/rfc1051.c
drivers/net/arcnet/rfc1051.c
+5
-5
drivers/net/arcnet/rfc1201.c
drivers/net/arcnet/rfc1201.c
+6
-6
No files found.
drivers/net/arcnet/arc-rawmode.c
View file @
7107a09c
...
@@ -45,11 +45,11 @@ static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
...
@@ -45,11 +45,11 @@ static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
struct
ArcProto
rawmode_proto
=
struct
ArcProto
rawmode_proto
=
{
{
'r'
,
.
suffix
=
'r'
,
XMTU
,
.
mtu
=
XMTU
,
rx
,
.
rx
=
rx
,
build_header
,
.
build_header
=
build_header
,
prepare_tx
.
prepare_tx
=
prepare_tx
,
};
};
...
...
drivers/net/arcnet/arcnet.c
View file @
7107a09c
...
@@ -73,11 +73,11 @@ struct ArcProto *arc_proto_map[256], *arc_proto_default, *arc_bcast_proto;
...
@@ -73,11 +73,11 @@ struct ArcProto *arc_proto_map[256], *arc_proto_default, *arc_bcast_proto;
struct
ArcProto
arc_proto_null
=
struct
ArcProto
arc_proto_null
=
{
{
'?'
,
.
suffix
=
'?'
,
XMTU
,
.
mtu
=
XMTU
,
null_rx
,
.
rx
=
null_rx
,
null_build_header
,
.
build_header
=
null_build_header
,
null_prepare_tx
.
prepare_tx
=
null_prepare_tx
,
};
};
static
spinlock_t
arcnet_lock
=
SPIN_LOCK_UNLOCKED
;
static
spinlock_t
arcnet_lock
=
SPIN_LOCK_UNLOCKED
;
...
...
drivers/net/arcnet/rfc1051.c
View file @
7107a09c
...
@@ -45,11 +45,11 @@ static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
...
@@ -45,11 +45,11 @@ static int prepare_tx(struct net_device *dev, struct archdr *pkt, int length,
struct
ArcProto
rfc1051_proto
=
struct
ArcProto
rfc1051_proto
=
{
{
's'
,
.
suffix
=
's'
,
XMTU
-
RFC1051_HDR_SIZE
,
.
mtu
=
XMTU
-
RFC1051_HDR_SIZE
,
rx
,
.
rx
=
rx
,
build_header
,
.
build_header
=
build_header
,
prepare_tx
.
prepare_tx
=
prepare_tx
,
};
};
...
...
drivers/net/arcnet/rfc1201.c
View file @
7107a09c
...
@@ -44,12 +44,12 @@ static int continue_tx(struct net_device *dev, int bufnum);
...
@@ -44,12 +44,12 @@ static int continue_tx(struct net_device *dev, int bufnum);
struct
ArcProto
rfc1201_proto
=
struct
ArcProto
rfc1201_proto
=
{
{
'a'
,
.
suffix
=
'a'
,
1500
,
/* could be more, but some receivers can't handle it... */
.
mtu
=
1500
,
/* could be more, but some receivers can't handle it... */
rx
,
.
rx
=
rx
,
build_header
,
.
build_header
=
build_header
,
prepare_tx
,
.
prepare_tx
=
prepare_tx
,
continue_tx
.
continue_tx
=
continue_tx
,
};
};
...
...
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