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
973db569
Commit
973db569
authored
Mar 28, 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
094b5855
8e4f3250
Changes
8
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
60 additions
and
29 deletions
+60
-29
drivers/net/ethernet/intel/e1000/e1000_main.c
drivers/net/ethernet/intel/e1000/e1000_main.c
+25
-15
drivers/net/ethernet/intel/e1000e/netdev.c
drivers/net/ethernet/intel/e1000e/netdev.c
+6
-1
drivers/net/ethernet/intel/igb/igb_main.c
drivers/net/ethernet/intel/igb/igb_main.c
+6
-1
drivers/net/ethernet/intel/igbvf/netdev.c
drivers/net/ethernet/intel/igbvf/netdev.c
+6
-1
drivers/net/ethernet/intel/ixgb/ixgb_main.c
drivers/net/ethernet/intel/ixgb/ixgb_main.c
+3
-3
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe.h
+1
-1
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
+8
-5
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
+5
-2
No files found.
drivers/net/ethernet/intel/e1000/e1000_main.c
View file @
973db569
...
@@ -164,6 +164,8 @@ static int e1000_82547_fifo_workaround(struct e1000_adapter *adapter,
...
@@ -164,6 +164,8 @@ static int e1000_82547_fifo_workaround(struct e1000_adapter *adapter,
static
bool
e1000_vlan_used
(
struct
e1000_adapter
*
adapter
);
static
bool
e1000_vlan_used
(
struct
e1000_adapter
*
adapter
);
static
void
e1000_vlan_mode
(
struct
net_device
*
netdev
,
static
void
e1000_vlan_mode
(
struct
net_device
*
netdev
,
netdev_features_t
features
);
netdev_features_t
features
);
static
void
e1000_vlan_filter_on_off
(
struct
e1000_adapter
*
adapter
,
bool
filter_on
);
static
int
e1000_vlan_rx_add_vid
(
struct
net_device
*
netdev
,
u16
vid
);
static
int
e1000_vlan_rx_add_vid
(
struct
net_device
*
netdev
,
u16
vid
);
static
int
e1000_vlan_rx_kill_vid
(
struct
net_device
*
netdev
,
u16
vid
);
static
int
e1000_vlan_rx_kill_vid
(
struct
net_device
*
netdev
,
u16
vid
);
static
void
e1000_restore_vlan
(
struct
e1000_adapter
*
adapter
);
static
void
e1000_restore_vlan
(
struct
e1000_adapter
*
adapter
);
...
@@ -215,7 +217,8 @@ MODULE_DESCRIPTION("Intel(R) PRO/1000 Network Driver");
...
@@ -215,7 +217,8 @@ MODULE_DESCRIPTION("Intel(R) PRO/1000 Network Driver");
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_VERSION
(
DRV_VERSION
);
MODULE_VERSION
(
DRV_VERSION
);
static
int
debug
=
NETIF_MSG_DRV
|
NETIF_MSG_PROBE
;
#define DEFAULT_MSG_ENABLE (NETIF_MSG_DRV|NETIF_MSG_PROBE|NETIF_MSG_LINK)
static
int
debug
=
-
1
;
module_param
(
debug
,
int
,
0
);
module_param
(
debug
,
int
,
0
);
MODULE_PARM_DESC
(
debug
,
"Debug level (0=none,...,16=all)"
);
MODULE_PARM_DESC
(
debug
,
"Debug level (0=none,...,16=all)"
);
...
@@ -979,7 +982,7 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
...
@@ -979,7 +982,7 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
adapter
=
netdev_priv
(
netdev
);
adapter
=
netdev_priv
(
netdev
);
adapter
->
netdev
=
netdev
;
adapter
->
netdev
=
netdev
;
adapter
->
pdev
=
pdev
;
adapter
->
pdev
=
pdev
;
adapter
->
msg_enable
=
(
1
<<
debug
)
-
1
;
adapter
->
msg_enable
=
netif_msg_init
(
debug
,
DEFAULT_MSG_ENABLE
)
;
adapter
->
bars
=
bars
;
adapter
->
bars
=
bars
;
adapter
->
need_ioport
=
need_ioport
;
adapter
->
need_ioport
=
need_ioport
;
...
@@ -1214,7 +1217,7 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
...
@@ -1214,7 +1217,7 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
if
(
err
)
if
(
err
)
goto
err_register
;
goto
err_register
;
e1000_vlan_
mode
(
netdev
,
netdev
->
features
);
e1000_vlan_
filter_on_off
(
adapter
,
false
);
/* print bus type/speed/width info */
/* print bus type/speed/width info */
e_info
(
probe
,
"(PCI%s:%dMHz:%d-bit) %pM
\n
"
,
e_info
(
probe
,
"(PCI%s:%dMHz:%d-bit) %pM
\n
"
,
...
@@ -4770,6 +4773,22 @@ static bool e1000_vlan_used(struct e1000_adapter *adapter)
...
@@ -4770,6 +4773,22 @@ static bool e1000_vlan_used(struct e1000_adapter *adapter)
return
false
;
return
false
;
}
}
static
void
__e1000_vlan_mode
(
struct
e1000_adapter
*
adapter
,
netdev_features_t
features
)
{
struct
e1000_hw
*
hw
=
&
adapter
->
hw
;
u32
ctrl
;
ctrl
=
er32
(
CTRL
);
if
(
features
&
NETIF_F_HW_VLAN_RX
)
{
/* enable VLAN tag insert/strip */
ctrl
|=
E1000_CTRL_VME
;
}
else
{
/* disable VLAN tag insert/strip */
ctrl
&=
~
E1000_CTRL_VME
;
}
ew32
(
CTRL
,
ctrl
);
}
static
void
e1000_vlan_filter_on_off
(
struct
e1000_adapter
*
adapter
,
static
void
e1000_vlan_filter_on_off
(
struct
e1000_adapter
*
adapter
,
bool
filter_on
)
bool
filter_on
)
{
{
...
@@ -4779,6 +4798,7 @@ static void e1000_vlan_filter_on_off(struct e1000_adapter *adapter,
...
@@ -4779,6 +4798,7 @@ static void e1000_vlan_filter_on_off(struct e1000_adapter *adapter,
if
(
!
test_bit
(
__E1000_DOWN
,
&
adapter
->
flags
))
if
(
!
test_bit
(
__E1000_DOWN
,
&
adapter
->
flags
))
e1000_irq_disable
(
adapter
);
e1000_irq_disable
(
adapter
);
__e1000_vlan_mode
(
adapter
,
adapter
->
netdev
->
features
);
if
(
filter_on
)
{
if
(
filter_on
)
{
/* enable VLAN receive filtering */
/* enable VLAN receive filtering */
rctl
=
er32
(
RCTL
);
rctl
=
er32
(
RCTL
);
...
@@ -4802,21 +4822,11 @@ static void e1000_vlan_mode(struct net_device *netdev,
...
@@ -4802,21 +4822,11 @@ static void e1000_vlan_mode(struct net_device *netdev,
netdev_features_t
features
)
netdev_features_t
features
)
{
{
struct
e1000_adapter
*
adapter
=
netdev_priv
(
netdev
);
struct
e1000_adapter
*
adapter
=
netdev_priv
(
netdev
);
struct
e1000_hw
*
hw
=
&
adapter
->
hw
;
u32
ctrl
;
if
(
!
test_bit
(
__E1000_DOWN
,
&
adapter
->
flags
))
if
(
!
test_bit
(
__E1000_DOWN
,
&
adapter
->
flags
))
e1000_irq_disable
(
adapter
);
e1000_irq_disable
(
adapter
);
ctrl
=
er32
(
CTRL
);
__e1000_vlan_mode
(
adapter
,
features
);
if
(
features
&
NETIF_F_HW_VLAN_RX
)
{
/* enable VLAN tag insert/strip */
ctrl
|=
E1000_CTRL_VME
;
}
else
{
/* disable VLAN tag insert/strip */
ctrl
&=
~
E1000_CTRL_VME
;
}
ew32
(
CTRL
,
ctrl
);
if
(
!
test_bit
(
__E1000_DOWN
,
&
adapter
->
flags
))
if
(
!
test_bit
(
__E1000_DOWN
,
&
adapter
->
flags
))
e1000_irq_enable
(
adapter
);
e1000_irq_enable
(
adapter
);
...
...
drivers/net/ethernet/intel/e1000e/netdev.c
View file @
973db569
...
@@ -60,6 +60,11 @@
...
@@ -60,6 +60,11 @@
char
e1000e_driver_name
[]
=
"e1000e"
;
char
e1000e_driver_name
[]
=
"e1000e"
;
const
char
e1000e_driver_version
[]
=
DRV_VERSION
;
const
char
e1000e_driver_version
[]
=
DRV_VERSION
;
#define DEFAULT_MSG_ENABLE (NETIF_MSG_DRV|NETIF_MSG_PROBE|NETIF_MSG_LINK)
static
int
debug
=
-
1
;
module_param
(
debug
,
int
,
0
);
MODULE_PARM_DESC
(
debug
,
"Debug level (0=none,...,16=all)"
);
static
void
e1000e_disable_aspm
(
struct
pci_dev
*
pdev
,
u16
state
);
static
void
e1000e_disable_aspm
(
struct
pci_dev
*
pdev
,
u16
state
);
static
const
struct
e1000_info
*
e1000_info_tbl
[]
=
{
static
const
struct
e1000_info
*
e1000_info_tbl
[]
=
{
...
@@ -6172,7 +6177,7 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
...
@@ -6172,7 +6177,7 @@ static int __devinit e1000_probe(struct pci_dev *pdev,
adapter
->
hw
.
adapter
=
adapter
;
adapter
->
hw
.
adapter
=
adapter
;
adapter
->
hw
.
mac
.
type
=
ei
->
mac
;
adapter
->
hw
.
mac
.
type
=
ei
->
mac
;
adapter
->
max_hw_frame_size
=
ei
->
max_hw_frame_size
;
adapter
->
max_hw_frame_size
=
ei
->
max_hw_frame_size
;
adapter
->
msg_enable
=
(
1
<<
NETIF_MSG_DRV
|
NETIF_MSG_PROBE
)
-
1
;
adapter
->
msg_enable
=
netif_msg_init
(
debug
,
DEFAULT_MSG_ENABLE
)
;
mmio_start
=
pci_resource_start
(
pdev
,
0
);
mmio_start
=
pci_resource_start
(
pdev
,
0
);
mmio_len
=
pci_resource_len
(
pdev
,
0
);
mmio_len
=
pci_resource_len
(
pdev
,
0
);
...
...
drivers/net/ethernet/intel/igb/igb_main.c
View file @
973db569
...
@@ -238,6 +238,11 @@ MODULE_DESCRIPTION("Intel(R) Gigabit Ethernet Network Driver");
...
@@ -238,6 +238,11 @@ MODULE_DESCRIPTION("Intel(R) Gigabit Ethernet Network Driver");
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_VERSION
(
DRV_VERSION
);
MODULE_VERSION
(
DRV_VERSION
);
#define DEFAULT_MSG_ENABLE (NETIF_MSG_DRV|NETIF_MSG_PROBE|NETIF_MSG_LINK)
static
int
debug
=
-
1
;
module_param
(
debug
,
int
,
0
);
MODULE_PARM_DESC
(
debug
,
"Debug level (0=none,...,16=all)"
);
struct
igb_reg_info
{
struct
igb_reg_info
{
u32
ofs
;
u32
ofs
;
char
*
name
;
char
*
name
;
...
@@ -1893,7 +1898,7 @@ static int __devinit igb_probe(struct pci_dev *pdev,
...
@@ -1893,7 +1898,7 @@ static int __devinit igb_probe(struct pci_dev *pdev,
adapter
->
pdev
=
pdev
;
adapter
->
pdev
=
pdev
;
hw
=
&
adapter
->
hw
;
hw
=
&
adapter
->
hw
;
hw
->
back
=
adapter
;
hw
->
back
=
adapter
;
adapter
->
msg_enable
=
NETIF_MSG_DRV
|
NETIF_MSG_PROBE
;
adapter
->
msg_enable
=
netif_msg_init
(
debug
,
DEFAULT_MSG_ENABLE
)
;
mmio_start
=
pci_resource_start
(
pdev
,
0
);
mmio_start
=
pci_resource_start
(
pdev
,
0
);
mmio_len
=
pci_resource_len
(
pdev
,
0
);
mmio_len
=
pci_resource_len
(
pdev
,
0
);
...
...
drivers/net/ethernet/intel/igbvf/netdev.c
View file @
973db569
...
@@ -55,6 +55,11 @@ static const char igbvf_driver_string[] =
...
@@ -55,6 +55,11 @@ static const char igbvf_driver_string[] =
static
const
char
igbvf_copyright
[]
=
static
const
char
igbvf_copyright
[]
=
"Copyright (c) 2009 - 2012 Intel Corporation."
;
"Copyright (c) 2009 - 2012 Intel Corporation."
;
#define DEFAULT_MSG_ENABLE (NETIF_MSG_DRV|NETIF_MSG_PROBE|NETIF_MSG_LINK)
static
int
debug
=
-
1
;
module_param
(
debug
,
int
,
0
);
MODULE_PARM_DESC
(
debug
,
"Debug level (0=none,...,16=all)"
);
static
int
igbvf_poll
(
struct
napi_struct
*
napi
,
int
budget
);
static
int
igbvf_poll
(
struct
napi_struct
*
napi
,
int
budget
);
static
void
igbvf_reset
(
struct
igbvf_adapter
*
);
static
void
igbvf_reset
(
struct
igbvf_adapter
*
);
static
void
igbvf_set_interrupt_capability
(
struct
igbvf_adapter
*
);
static
void
igbvf_set_interrupt_capability
(
struct
igbvf_adapter
*
);
...
@@ -2649,7 +2654,7 @@ static int __devinit igbvf_probe(struct pci_dev *pdev,
...
@@ -2649,7 +2654,7 @@ static int __devinit igbvf_probe(struct pci_dev *pdev,
adapter
->
flags
=
ei
->
flags
;
adapter
->
flags
=
ei
->
flags
;
adapter
->
hw
.
back
=
adapter
;
adapter
->
hw
.
back
=
adapter
;
adapter
->
hw
.
mac
.
type
=
ei
->
mac
;
adapter
->
hw
.
mac
.
type
=
ei
->
mac
;
adapter
->
msg_enable
=
(
1
<<
NETIF_MSG_DRV
|
NETIF_MSG_PROBE
)
-
1
;
adapter
->
msg_enable
=
netif_msg_init
(
debug
,
DEFAULT_MSG_ENABLE
)
;
/* PCI config space info */
/* PCI config space info */
...
...
drivers/net/ethernet/intel/ixgb/ixgb_main.c
View file @
973db569
...
@@ -134,8 +134,8 @@ MODULE_DESCRIPTION("Intel(R) PRO/10GbE Network Driver");
...
@@ -134,8 +134,8 @@ MODULE_DESCRIPTION("Intel(R) PRO/10GbE Network Driver");
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_VERSION
(
DRV_VERSION
);
MODULE_VERSION
(
DRV_VERSION
);
#define DEFAULT_
DEBUG_LEVEL_SHIFT 3
#define DEFAULT_
MSG_ENABLE (NETIF_MSG_DRV|NETIF_MSG_PROBE|NETIF_MSG_LINK)
static
int
debug
=
DEFAULT_DEBUG_LEVEL_SHIFT
;
static
int
debug
=
-
1
;
module_param
(
debug
,
int
,
0
);
module_param
(
debug
,
int
,
0
);
MODULE_PARM_DESC
(
debug
,
"Debug level (0=none,...,16=all)"
);
MODULE_PARM_DESC
(
debug
,
"Debug level (0=none,...,16=all)"
);
...
@@ -442,7 +442,7 @@ ixgb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
...
@@ -442,7 +442,7 @@ ixgb_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
adapter
->
netdev
=
netdev
;
adapter
->
netdev
=
netdev
;
adapter
->
pdev
=
pdev
;
adapter
->
pdev
=
pdev
;
adapter
->
hw
.
back
=
adapter
;
adapter
->
hw
.
back
=
adapter
;
adapter
->
msg_enable
=
netif_msg_init
(
debug
,
DEFAULT_
DEBUG_LEVEL_SHIFT
);
adapter
->
msg_enable
=
netif_msg_init
(
debug
,
DEFAULT_
MSG_ENABLE
);
adapter
->
hw
.
hw_addr
=
pci_ioremap_bar
(
pdev
,
BAR_0
);
adapter
->
hw
.
hw_addr
=
pci_ioremap_bar
(
pdev
,
BAR_0
);
if
(
!
adapter
->
hw
.
hw_addr
)
{
if
(
!
adapter
->
hw
.
hw_addr
)
{
...
...
drivers/net/ethernet/intel/ixgbe/ixgbe.h
View file @
973db569
...
@@ -544,7 +544,7 @@ struct ixgbe_fdir_filter {
...
@@ -544,7 +544,7 @@ struct ixgbe_fdir_filter {
u16
action
;
u16
action
;
};
};
enum
ix
bg
e_state_t
{
enum
ix
gb
e_state_t
{
__IXGBE_TESTING
,
__IXGBE_TESTING
,
__IXGBE_RESETTING
,
__IXGBE_RESETTING
,
__IXGBE_DOWN
,
__IXGBE_DOWN
,
...
...
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
View file @
973db569
...
@@ -63,8 +63,8 @@ static char ixgbe_default_device_descr[] =
...
@@ -63,8 +63,8 @@ static char ixgbe_default_device_descr[] =
"Intel(R) 10 Gigabit Network Connection"
;
"Intel(R) 10 Gigabit Network Connection"
;
#endif
#endif
#define MAJ 3
#define MAJ 3
#define MIN
6
#define MIN
8
#define BUILD
7
#define BUILD
21
#define DRV_VERSION __stringify(MAJ) "." __stringify(MIN) "." \
#define DRV_VERSION __stringify(MAJ) "." __stringify(MIN) "." \
__stringify(BUILD) "-k"
__stringify(BUILD) "-k"
const
char
ixgbe_driver_version
[]
=
DRV_VERSION
;
const
char
ixgbe_driver_version
[]
=
DRV_VERSION
;
...
@@ -141,13 +141,16 @@ module_param(allow_unsupported_sfp, uint, 0);
...
@@ -141,13 +141,16 @@ module_param(allow_unsupported_sfp, uint, 0);
MODULE_PARM_DESC
(
allow_unsupported_sfp
,
MODULE_PARM_DESC
(
allow_unsupported_sfp
,
"Allow unsupported and untested SFP+ modules on 82599-based adapters"
);
"Allow unsupported and untested SFP+ modules on 82599-based adapters"
);
#define DEFAULT_MSG_ENABLE (NETIF_MSG_DRV|NETIF_MSG_PROBE|NETIF_MSG_LINK)
static
int
debug
=
-
1
;
module_param
(
debug
,
int
,
0
);
MODULE_PARM_DESC
(
debug
,
"Debug level (0=none,...,16=all)"
);
MODULE_AUTHOR
(
"Intel Corporation, <linux.nics@intel.com>"
);
MODULE_AUTHOR
(
"Intel Corporation, <linux.nics@intel.com>"
);
MODULE_DESCRIPTION
(
"Intel(R) 10 Gigabit PCI Express Network Driver"
);
MODULE_DESCRIPTION
(
"Intel(R) 10 Gigabit PCI Express Network Driver"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_VERSION
(
DRV_VERSION
);
MODULE_VERSION
(
DRV_VERSION
);
#define DEFAULT_DEBUG_LEVEL_SHIFT 3
static
void
ixgbe_service_event_schedule
(
struct
ixgbe_adapter
*
adapter
)
static
void
ixgbe_service_event_schedule
(
struct
ixgbe_adapter
*
adapter
)
{
{
if
(
!
test_bit
(
__IXGBE_DOWN
,
&
adapter
->
state
)
&&
if
(
!
test_bit
(
__IXGBE_DOWN
,
&
adapter
->
state
)
&&
...
@@ -6834,7 +6837,7 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
...
@@ -6834,7 +6837,7 @@ static int __devinit ixgbe_probe(struct pci_dev *pdev,
adapter
->
pdev
=
pdev
;
adapter
->
pdev
=
pdev
;
hw
=
&
adapter
->
hw
;
hw
=
&
adapter
->
hw
;
hw
->
back
=
adapter
;
hw
->
back
=
adapter
;
adapter
->
msg_enable
=
(
1
<<
DEFAULT_DEBUG_LEVEL_SHIFT
)
-
1
;
adapter
->
msg_enable
=
netif_msg_init
(
debug
,
DEFAULT_MSG_ENABLE
)
;
hw
->
hw_addr
=
ioremap
(
pci_resource_start
(
pdev
,
0
),
hw
->
hw_addr
=
ioremap
(
pci_resource_start
(
pdev
,
0
),
pci_resource_len
(
pdev
,
0
));
pci_resource_len
(
pdev
,
0
));
...
...
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
View file @
973db569
...
@@ -91,7 +91,10 @@ MODULE_DESCRIPTION("Intel(R) 82599 Virtual Function Driver");
...
@@ -91,7 +91,10 @@ MODULE_DESCRIPTION("Intel(R) 82599 Virtual Function Driver");
MODULE_LICENSE
(
"GPL"
);
MODULE_LICENSE
(
"GPL"
);
MODULE_VERSION
(
DRV_VERSION
);
MODULE_VERSION
(
DRV_VERSION
);
#define DEFAULT_DEBUG_LEVEL_SHIFT 3
#define DEFAULT_MSG_ENABLE (NETIF_MSG_DRV|NETIF_MSG_PROBE|NETIF_MSG_LINK)
static
int
debug
=
-
1
;
module_param
(
debug
,
int
,
0
);
MODULE_PARM_DESC
(
debug
,
"Debug level (0=none,...,16=all)"
);
/* forward decls */
/* forward decls */
static
void
ixgbevf_set_itr_msix
(
struct
ixgbevf_q_vector
*
q_vector
);
static
void
ixgbevf_set_itr_msix
(
struct
ixgbevf_q_vector
*
q_vector
);
...
@@ -3367,7 +3370,7 @@ static int __devinit ixgbevf_probe(struct pci_dev *pdev,
...
@@ -3367,7 +3370,7 @@ static int __devinit ixgbevf_probe(struct pci_dev *pdev,
adapter
->
pdev
=
pdev
;
adapter
->
pdev
=
pdev
;
hw
=
&
adapter
->
hw
;
hw
=
&
adapter
->
hw
;
hw
->
back
=
adapter
;
hw
->
back
=
adapter
;
adapter
->
msg_enable
=
(
1
<<
DEFAULT_DEBUG_LEVEL_SHIFT
)
-
1
;
adapter
->
msg_enable
=
netif_msg_init
(
debug
,
DEFAULT_MSG_ENABLE
)
;
/*
/*
* call save state here in standalone driver because it relies on
* call save state here in standalone driver because it relies on
...
...
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