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
12cbbd95
Commit
12cbbd95
authored
Oct 21, 2006
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge tag 'jg-20061012-00' of
git://electric-eye.fr.zoreil.com/home/romieu/linux-2.6
into tmp
parents
af60496f
733b736c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
drivers/net/r8169.c
drivers/net/r8169.c
+6
-1
No files found.
drivers/net/r8169.c
View file @
12cbbd95
...
...
@@ -214,6 +214,7 @@ static struct pci_device_id rtl8169_pci_tbl[] = {
{
PCI_DEVICE
(
PCI_VENDOR_ID_REALTEK
,
0x8168
),
0
,
0
,
RTL_CFG_2
},
{
PCI_DEVICE
(
PCI_VENDOR_ID_REALTEK
,
0x8169
),
0
,
0
,
RTL_CFG_0
},
{
PCI_DEVICE
(
PCI_VENDOR_ID_DLINK
,
0x4300
),
0
,
0
,
RTL_CFG_0
},
{
PCI_DEVICE
(
0x1259
,
0xc107
),
0
,
0
,
RTL_CFG_0
},
{
PCI_DEVICE
(
0x16ec
,
0x0116
),
0
,
0
,
RTL_CFG_0
},
{
PCI_VENDOR_ID_LINKSYS
,
0x1032
,
PCI_ANY_ID
,
0x0024
,
0
,
0
,
RTL_CFG_0
},
...
...
@@ -2700,6 +2701,7 @@ static void rtl8169_down(struct net_device *dev)
struct
rtl8169_private
*
tp
=
netdev_priv
(
dev
);
void
__iomem
*
ioaddr
=
tp
->
mmio_addr
;
unsigned
int
poll_locked
=
0
;
unsigned
int
intrmask
;
rtl8169_delete_timer
(
dev
);
...
...
@@ -2738,8 +2740,11 @@ static void rtl8169_down(struct net_device *dev)
* 2) dev->change_mtu
* -> rtl8169_poll can not be issued again and re-enable the
* interruptions. Let's simply issue the IRQ down sequence again.
*
* No loop if hotpluged or major error (0xffff).
*/
if
(
RTL_R16
(
IntrMask
))
intrmask
=
RTL_R16
(
IntrMask
);
if
(
intrmask
&&
(
intrmask
!=
0xffff
))
goto
core_down
;
rtl8169_tx_clear
(
tp
);
...
...
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