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
fca1287a
Commit
fca1287a
authored
Sep 03, 2008
by
David S. Miller
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'davem-fixes' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6
parents
437cf2f1
0b62afb4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
16 deletions
+14
-16
drivers/net/ixgbe/ixgbe_main.c
drivers/net/ixgbe/ixgbe_main.c
+6
-0
drivers/net/netxen/netxen_nic_main.c
drivers/net/netxen/netxen_nic_main.c
+0
-10
drivers/net/pcmcia/axnet_cs.c
drivers/net/pcmcia/axnet_cs.c
+1
-0
drivers/net/pcmcia/pcnet_cs.c
drivers/net/pcmcia/pcnet_cs.c
+1
-1
drivers/net/usb/pegasus.c
drivers/net/usb/pegasus.c
+6
-5
No files found.
drivers/net/ixgbe/ixgbe_main.c
View file @
fca1287a
...
@@ -2303,6 +2303,12 @@ static int __devinit ixgbe_set_interrupt_capability(struct ixgbe_adapter
...
@@ -2303,6 +2303,12 @@ static int __devinit ixgbe_set_interrupt_capability(struct ixgbe_adapter
int
err
=
0
;
int
err
=
0
;
int
vector
,
v_budget
;
int
vector
,
v_budget
;
/*
* Set the default interrupt throttle rate.
*/
adapter
->
rx_eitr
=
(
1000000
/
IXGBE_DEFAULT_ITR_RX_USECS
);
adapter
->
tx_eitr
=
(
1000000
/
IXGBE_DEFAULT_ITR_TX_USECS
);
/*
/*
* It's easy to be greedy for MSI-X vectors, but it really
* It's easy to be greedy for MSI-X vectors, but it really
* doesn't do us much good if we have a lot more vectors
* doesn't do us much good if we have a lot more vectors
...
...
drivers/net/netxen/netxen_nic_main.c
View file @
fca1287a
...
@@ -359,16 +359,6 @@ static void netxen_pcie_strap_init(struct netxen_adapter *adapter)
...
@@ -359,16 +359,6 @@ static void netxen_pcie_strap_init(struct netxen_adapter *adapter)
int
i
,
pos
;
int
i
,
pos
;
struct
pci_dev
*
pdev
;
struct
pci_dev
*
pdev
;
pdev
=
pci_get_device
(
0x1166
,
0x0140
,
NULL
);
if
(
pdev
)
{
pci_dev_put
(
pdev
);
adapter
->
hw_read_wx
(
adapter
,
NETXEN_PCIE_REG
(
PCIE_TGT_SPLIT_CHICKEN
),
&
chicken
,
4
);
chicken
|=
0x4000
;
adapter
->
hw_write_wx
(
adapter
,
NETXEN_PCIE_REG
(
PCIE_TGT_SPLIT_CHICKEN
),
&
chicken
,
4
);
}
pdev
=
adapter
->
pdev
;
pdev
=
adapter
->
pdev
;
adapter
->
hw_read_wx
(
adapter
,
adapter
->
hw_read_wx
(
adapter
,
...
...
drivers/net/pcmcia/axnet_cs.c
View file @
fca1287a
...
@@ -784,6 +784,7 @@ static struct pcmcia_device_id axnet_ids[] = {
...
@@ -784,6 +784,7 @@ static struct pcmcia_device_id axnet_ids[] = {
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega FEther PCC-TXD"
,
0x5261440f
,
0x436768c5
),
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega FEther PCC-TXD"
,
0x5261440f
,
0x436768c5
),
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega FEtherII PCC-TXD"
,
0x5261440f
,
0x730df72e
),
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega FEtherII PCC-TXD"
,
0x5261440f
,
0x730df72e
),
PCMCIA_DEVICE_PROD_ID12
(
"Dynalink"
,
"L100C16"
,
0x55632fd5
,
0x66bc2a90
),
PCMCIA_DEVICE_PROD_ID12
(
"Dynalink"
,
"L100C16"
,
0x55632fd5
,
0x66bc2a90
),
PCMCIA_DEVICE_PROD_ID12
(
"IO DATA"
,
"ETXPCM"
,
0x547e66dc
,
0x233adac2
),
PCMCIA_DEVICE_PROD_ID12
(
"Linksys"
,
"EtherFast 10/100 PC Card (PCMPC100 V3)"
,
0x0733cc81
,
0x232019a8
),
PCMCIA_DEVICE_PROD_ID12
(
"Linksys"
,
"EtherFast 10/100 PC Card (PCMPC100 V3)"
,
0x0733cc81
,
0x232019a8
),
PCMCIA_DEVICE_PROD_ID12
(
"MELCO"
,
"LPC3-TX"
,
0x481e0094
,
0xf91af609
),
PCMCIA_DEVICE_PROD_ID12
(
"MELCO"
,
"LPC3-TX"
,
0x481e0094
,
0xf91af609
),
PCMCIA_DEVICE_PROD_ID12
(
"PCMCIA"
,
"100BASE"
,
0x281f1c5d
,
0x7c2add04
),
PCMCIA_DEVICE_PROD_ID12
(
"PCMCIA"
,
"100BASE"
,
0x281f1c5d
,
0x7c2add04
),
...
...
drivers/net/pcmcia/pcnet_cs.c
View file @
fca1287a
...
@@ -1626,6 +1626,7 @@ static struct pcmcia_device_id pcnet_ids[] = {
...
@@ -1626,6 +1626,7 @@ static struct pcmcia_device_id pcnet_ids[] = {
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega EtherII PCC-TD"
,
0x5261440f
,
0xc49bd73d
),
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega EtherII PCC-TD"
,
0x5261440f
,
0xc49bd73d
),
PCMCIA_DEVICE_PROD_ID12
(
"Corega K.K."
,
"corega EtherII PCC-TD"
,
0xd4fdcbd8
,
0xc49bd73d
),
PCMCIA_DEVICE_PROD_ID12
(
"Corega K.K."
,
"corega EtherII PCC-TD"
,
0xd4fdcbd8
,
0xc49bd73d
),
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega Ether PCC-T"
,
0x5261440f
,
0x6705fcaa
),
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega Ether PCC-T"
,
0x5261440f
,
0x6705fcaa
),
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega Ether PCC-TD"
,
0x5261440f
,
0x47d5ca83
),
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega FastEther PCC-TX"
,
0x5261440f
,
0x485e85d9
),
PCMCIA_DEVICE_PROD_ID12
(
"corega K.K."
,
"corega FastEther PCC-TX"
,
0x5261440f
,
0x485e85d9
),
PCMCIA_DEVICE_PROD_ID12
(
"Corega,K.K."
,
"Ethernet LAN Card"
,
0x110d26d9
,
0x9fd2f0a2
),
PCMCIA_DEVICE_PROD_ID12
(
"Corega,K.K."
,
"Ethernet LAN Card"
,
0x110d26d9
,
0x9fd2f0a2
),
PCMCIA_DEVICE_PROD_ID12
(
"corega,K.K."
,
"Ethernet LAN Card"
,
0x9791a90e
,
0x9fd2f0a2
),
PCMCIA_DEVICE_PROD_ID12
(
"corega,K.K."
,
"Ethernet LAN Card"
,
0x9791a90e
,
0x9fd2f0a2
),
...
@@ -1737,7 +1738,6 @@ static struct pcmcia_device_id pcnet_ids[] = {
...
@@ -1737,7 +1738,6 @@ static struct pcmcia_device_id pcnet_ids[] = {
PCMCIA_DEVICE_PROD_ID1
(
"CyQ've 10 Base-T LAN CARD"
,
0x94faf360
),
PCMCIA_DEVICE_PROD_ID1
(
"CyQ've 10 Base-T LAN CARD"
,
0x94faf360
),
PCMCIA_DEVICE_PROD_ID1
(
"EP-210 PCMCIA LAN CARD."
,
0x8850b4de
),
PCMCIA_DEVICE_PROD_ID1
(
"EP-210 PCMCIA LAN CARD."
,
0x8850b4de
),
PCMCIA_DEVICE_PROD_ID1
(
"ETHER-C16"
,
0x06a8514f
),
PCMCIA_DEVICE_PROD_ID1
(
"ETHER-C16"
,
0x06a8514f
),
PCMCIA_DEVICE_PROD_ID1
(
"IC-CARD"
,
0x60cb09a6
),
PCMCIA_DEVICE_PROD_ID1
(
"NE2000 Compatible"
,
0x75b8ad5a
),
PCMCIA_DEVICE_PROD_ID1
(
"NE2000 Compatible"
,
0x75b8ad5a
),
PCMCIA_DEVICE_PROD_ID2
(
"EN-6200P2"
,
0xa996d078
),
PCMCIA_DEVICE_PROD_ID2
(
"EN-6200P2"
,
0xa996d078
),
/* too generic! */
/* too generic! */
...
...
drivers/net/usb/pegasus.c
View file @
fca1287a
...
@@ -117,7 +117,7 @@ static void ctrl_callback(struct urb *urb)
...
@@ -117,7 +117,7 @@ static void ctrl_callback(struct urb *urb)
case
-
ENOENT
:
case
-
ENOENT
:
break
;
break
;
default:
default:
if
(
netif_msg_drv
(
pegasus
))
if
(
netif_msg_drv
(
pegasus
)
&&
printk_ratelimit
()
)
dev_dbg
(
&
pegasus
->
intf
->
dev
,
"%s, status %d
\n
"
,
dev_dbg
(
&
pegasus
->
intf
->
dev
,
"%s, status %d
\n
"
,
__FUNCTION__
,
urb
->
status
);
__FUNCTION__
,
urb
->
status
);
}
}
...
@@ -166,7 +166,7 @@ static int get_registers(pegasus_t * pegasus, __u16 indx, __u16 size,
...
@@ -166,7 +166,7 @@ static int get_registers(pegasus_t * pegasus, __u16 indx, __u16 size,
set_current_state
(
TASK_RUNNING
);
set_current_state
(
TASK_RUNNING
);
if
(
ret
==
-
ENODEV
)
if
(
ret
==
-
ENODEV
)
netif_device_detach
(
pegasus
->
net
);
netif_device_detach
(
pegasus
->
net
);
if
(
netif_msg_drv
(
pegasus
))
if
(
netif_msg_drv
(
pegasus
)
&&
printk_ratelimit
()
)
dev_err
(
&
pegasus
->
intf
->
dev
,
"%s, status %d
\n
"
,
dev_err
(
&
pegasus
->
intf
->
dev
,
"%s, status %d
\n
"
,
__FUNCTION__
,
ret
);
__FUNCTION__
,
ret
);
goto
out
;
goto
out
;
...
@@ -275,7 +275,7 @@ static int set_register(pegasus_t * pegasus, __u16 indx, __u8 data)
...
@@ -275,7 +275,7 @@ static int set_register(pegasus_t * pegasus, __u16 indx, __u8 data)
if
((
ret
=
usb_submit_urb
(
pegasus
->
ctrl_urb
,
GFP_ATOMIC
)))
{
if
((
ret
=
usb_submit_urb
(
pegasus
->
ctrl_urb
,
GFP_ATOMIC
)))
{
if
(
ret
==
-
ENODEV
)
if
(
ret
==
-
ENODEV
)
netif_device_detach
(
pegasus
->
net
);
netif_device_detach
(
pegasus
->
net
);
if
(
netif_msg_drv
(
pegasus
))
if
(
netif_msg_drv
(
pegasus
)
&&
printk_ratelimit
()
)
dev_err
(
&
pegasus
->
intf
->
dev
,
"%s, status %d
\n
"
,
dev_err
(
&
pegasus
->
intf
->
dev
,
"%s, status %d
\n
"
,
__FUNCTION__
,
ret
);
__FUNCTION__
,
ret
);
goto
out
;
goto
out
;
...
@@ -1209,8 +1209,7 @@ static void pegasus_set_multicast(struct net_device *net)
...
@@ -1209,8 +1209,7 @@ static void pegasus_set_multicast(struct net_device *net)
pegasus
->
eth_regs
[
EthCtrl2
]
|=
RX_PROMISCUOUS
;
pegasus
->
eth_regs
[
EthCtrl2
]
|=
RX_PROMISCUOUS
;
if
(
netif_msg_link
(
pegasus
))
if
(
netif_msg_link
(
pegasus
))
pr_info
(
"%s: Promiscuous mode enabled.
\n
"
,
net
->
name
);
pr_info
(
"%s: Promiscuous mode enabled.
\n
"
,
net
->
name
);
}
else
if
(
net
->
mc_count
||
}
else
if
(
net
->
mc_count
||
(
net
->
flags
&
IFF_ALLMULTI
))
{
(
net
->
flags
&
IFF_ALLMULTI
))
{
pegasus
->
eth_regs
[
EthCtrl0
]
|=
RX_MULTICAST
;
pegasus
->
eth_regs
[
EthCtrl0
]
|=
RX_MULTICAST
;
pegasus
->
eth_regs
[
EthCtrl2
]
&=
~
RX_PROMISCUOUS
;
pegasus
->
eth_regs
[
EthCtrl2
]
&=
~
RX_PROMISCUOUS
;
if
(
netif_msg_link
(
pegasus
))
if
(
netif_msg_link
(
pegasus
))
...
@@ -1220,6 +1219,8 @@ static void pegasus_set_multicast(struct net_device *net)
...
@@ -1220,6 +1219,8 @@ static void pegasus_set_multicast(struct net_device *net)
pegasus
->
eth_regs
[
EthCtrl2
]
&=
~
RX_PROMISCUOUS
;
pegasus
->
eth_regs
[
EthCtrl2
]
&=
~
RX_PROMISCUOUS
;
}
}
pegasus
->
ctrl_urb
->
status
=
0
;
pegasus
->
flags
|=
ETH_REGS_CHANGE
;
pegasus
->
flags
|=
ETH_REGS_CHANGE
;
ctrl_callback
(
pegasus
->
ctrl_urb
);
ctrl_callback
(
pegasus
->
ctrl_urb
);
}
}
...
...
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