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
787cb2a9
Commit
787cb2a9
authored
Apr 30, 2012
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net
parents
2f3a081e
441e1719
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
6 deletions
+8
-6
drivers/net/ethernet/intel/igbvf/netdev.c
drivers/net/ethernet/intel/igbvf/netdev.c
+2
-2
drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c
drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c
+1
-0
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
+5
-4
No files found.
drivers/net/ethernet/intel/igbvf/netdev.c
View file @
787cb2a9
...
...
@@ -2731,14 +2731,14 @@ static int __devinit igbvf_probe(struct pci_dev *pdev,
netdev
->
addr_len
);
}
if
(
!
is_valid_ether_addr
(
netdev
->
perm
_addr
))
{
if
(
!
is_valid_ether_addr
(
netdev
->
dev
_addr
))
{
dev_err
(
&
pdev
->
dev
,
"Invalid MAC Address: %pM
\n
"
,
netdev
->
dev_addr
);
err
=
-
EIO
;
goto
err_hw_init
;
}
memcpy
(
netdev
->
perm_addr
,
adapter
->
hw
.
mac
.
addr
,
netdev
->
addr_len
);
memcpy
(
netdev
->
perm_addr
,
netdev
->
dev_
addr
,
netdev
->
addr_len
);
setup_timer
(
&
adapter
->
watchdog_timer
,
&
igbvf_watchdog
,
(
unsigned
long
)
adapter
);
...
...
drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c
View file @
787cb2a9
...
...
@@ -437,6 +437,7 @@ int ixgbe_fcoe_ddp(struct ixgbe_adapter *adapter,
*/
if
((
fh
->
fh_r_ctl
==
FC_RCTL_DD_SOL_DATA
)
&&
(
fctl
&
FC_FC_END_SEQ
))
{
skb_linearize
(
skb
);
crc
=
(
struct
fcoe_crc_eof
*
)
skb_put
(
skb
,
sizeof
(
*
crc
));
crc
->
fcoe_eof
=
FC_EOF_T
;
}
...
...
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
View file @
787cb2a9
...
...
@@ -4873,10 +4873,6 @@ static int __ixgbe_shutdown(struct pci_dev *pdev, bool *enable_wake)
}
ixgbe_clear_interrupt_scheme
(
adapter
);
#ifdef CONFIG_DCB
kfree
(
adapter
->
ixgbe_ieee_pfc
);
kfree
(
adapter
->
ixgbe_ieee_ets
);
#endif
#ifdef CONFIG_PM
retval
=
pci_save_state
(
pdev
);
...
...
@@ -7224,6 +7220,11 @@ static void __devexit ixgbe_remove(struct pci_dev *pdev)
ixgbe_release_hw_control
(
adapter
);
#ifdef CONFIG_DCB
kfree
(
adapter
->
ixgbe_ieee_pfc
);
kfree
(
adapter
->
ixgbe_ieee_ets
);
#endif
iounmap
(
adapter
->
hw
.
hw_addr
);
pci_release_selected_regions
(
pdev
,
pci_select_bars
(
pdev
,
IORESOURCE_MEM
));
...
...
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