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
351d7dda
Commit
351d7dda
authored
Feb 21, 2004
by
Ben Collins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IEEE1394/ETH1394(r1147): Make sure to set update_config_rom on add host.
parent
228beab6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
drivers/ieee1394/eth1394.c
drivers/ieee1394/eth1394.c
+4
-3
No files found.
drivers/ieee1394/eth1394.c
View file @
351d7dda
...
@@ -606,8 +606,8 @@ static void ether1394_add_host (struct hpsb_host *host)
...
@@ -606,8 +606,8 @@ static void ether1394_add_host (struct hpsb_host *host)
goto
out
;
goto
out
;
}
}
ETH1394_PRINT
(
KERN_ERR
,
dev
->
name
,
"IEEE-1394 IPv4 over 1394 Ethernet (
%s
)
\n
"
,
ETH1394_PRINT
(
KERN_ERR
,
dev
->
name
,
"IEEE-1394 IPv4 over 1394 Ethernet (
fw-host%d
)
\n
"
,
host
->
driver
->
name
);
host
->
id
);
hi
->
host
=
host
;
hi
->
host
=
host
;
hi
->
dev
=
dev
;
hi
->
dev
=
dev
;
...
@@ -641,6 +641,7 @@ static void ether1394_add_host (struct hpsb_host *host)
...
@@ -641,6 +641,7 @@ static void ether1394_add_host (struct hpsb_host *host)
"Config ROM
\n
"
);
"Config ROM
\n
"
);
goto
out
;
goto
out
;
}
}
hi
->
host
->
update_config_rom
=
1
;
return
;
return
;
out:
out:
...
@@ -1683,7 +1684,7 @@ static int ether1394_tx (struct sk_buff *skb, struct net_device *dev)
...
@@ -1683,7 +1684,7 @@ static int ether1394_tx (struct sk_buff *skb, struct net_device *dev)
IN_MULTICAST
(
__constant_ntohl
(
skb
->
nh
.
iph
->
daddr
))))
{
IN_MULTICAST
(
__constant_ntohl
(
skb
->
nh
.
iph
->
daddr
))))
{
tx_type
=
ETH1394_GASP
;
tx_type
=
ETH1394_GASP
;
dest_node
=
LOCAL_BUS
|
ALL_NODES
;
dest_node
=
LOCAL_BUS
|
ALL_NODES
;
max_payload
=
priv
->
bc_maxpayload
-
ETHER1394_GASP_OVERHEAD
;
max_payload
=
priv
->
bc_maxpayload
;
BUG_ON
(
max_payload
<
(
512
-
ETHER1394_GASP_OVERHEAD
));
BUG_ON
(
max_payload
<
(
512
-
ETHER1394_GASP_OVERHEAD
));
dgl
=
priv
->
bc_dgl
;
dgl
=
priv
->
bc_dgl
;
if
(
max_payload
<
dg_size
+
hdr_type_len
[
ETH1394_HDR_LF_UF
])
if
(
max_payload
<
dg_size
+
hdr_type_len
[
ETH1394_HDR_LF_UF
])
...
...
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