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
34f53a63
Commit
34f53a63
authored
Feb 07, 2002
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://linux.bkbits.net/gkernel-2.5
into rum.normnet.org:/spare/work/gkernel-2.5
parents
b615942a
00bc059e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
3 deletions
+16
-3
drivers/net/eepro100.c
drivers/net/eepro100.c
+7
-3
drivers/net/tulip/ChangeLog
drivers/net/tulip/ChangeLog
+5
-0
drivers/net/tulip/tulip_core.c
drivers/net/tulip/tulip_core.c
+1
-0
include/linux/pci_ids.h
include/linux/pci_ids.h
+3
-0
No files found.
drivers/net/eepro100.c
View file @
34f53a63
...
@@ -833,6 +833,10 @@ static int speedo_found1(struct pci_dev *pdev,
...
@@ -833,6 +833,10 @@ static int speedo_found1(struct pci_dev *pdev,
sp
->
phy
[
0
]
=
eeprom
[
6
];
sp
->
phy
[
0
]
=
eeprom
[
6
];
sp
->
phy
[
1
]
=
eeprom
[
7
];
sp
->
phy
[
1
]
=
eeprom
[
7
];
sp
->
rx_bug
=
(
eeprom
[
3
]
&
0x03
)
==
3
?
0
:
1
;
sp
->
rx_bug
=
(
eeprom
[
3
]
&
0x03
)
==
3
?
0
:
1
;
if
(((
pdev
->
device
>
0x1030
&&
(
pdev
->
device
<
0x1039
)))
||
(
pdev
->
device
==
0x2449
))
{
sp
->
chip_id
=
1
;
}
if
(
sp
->
rx_bug
)
if
(
sp
->
rx_bug
)
printk
(
KERN_INFO
" Receiver lock-up workaround activated.
\n
"
);
printk
(
KERN_INFO
" Receiver lock-up workaround activated.
\n
"
);
...
@@ -1099,9 +1103,9 @@ static void speedo_timer(unsigned long data)
...
@@ -1099,9 +1103,9 @@ static void speedo_timer(unsigned long data)
mdio_read
(
ioaddr
,
phy_num
,
1
);
mdio_read
(
ioaddr
,
phy_num
,
1
);
/* If link beat has returned... */
/* If link beat has returned... */
if
(
mdio_read
(
ioaddr
,
phy_num
,
1
)
&
0x0004
)
if
(
mdio_read
(
ioaddr
,
phy_num
,
1
)
&
0x0004
)
dev
->
flags
|=
IFF_RUNNING
;
netif_carrier_on
(
dev
)
;
else
else
dev
->
flags
&=
~
IFF_RUNNING
;
netif_carrier_off
(
dev
)
;
}
}
}
}
if
(
speedo_debug
>
3
)
{
if
(
speedo_debug
>
3
)
{
...
@@ -1375,7 +1379,7 @@ speedo_start_xmit(struct sk_buff *skb, struct net_device *dev)
...
@@ -1375,7 +1379,7 @@ speedo_start_xmit(struct sk_buff *skb, struct net_device *dev)
/* workaround for hardware bug on 10 mbit half duplex */
/* workaround for hardware bug on 10 mbit half duplex */
if
((
sp
->
partner
==
0
)
&&
(
sp
->
chip_id
==
1
))
{
if
((
sp
->
partner
==
0
)
||
(
sp
->
chip_id
==
1
))
{
wait_for_cmd_done
(
ioaddr
+
SCBCmd
);
wait_for_cmd_done
(
ioaddr
+
SCBCmd
);
outb
(
0
,
ioaddr
+
SCBCmd
);
outb
(
0
,
ioaddr
+
SCBCmd
);
}
}
...
...
drivers/net/tulip/ChangeLog
View file @
34f53a63
2002-02-07 Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
* tulip_core (tulip_pci_tbl[]):
Add PCI id for comet tulip clone.
2001-12-11 Jeff Garzik <jgarzik@mandrakesoft.com>
2001-12-11 Jeff Garzik <jgarzik@mandrakesoft.com>
* eeprom.c, timer.c, media.c, tulip_core.c:
* eeprom.c, timer.c, media.c, tulip_core.c:
...
...
drivers/net/tulip/tulip_core.c
View file @
34f53a63
...
@@ -202,6 +202,7 @@ static struct pci_device_id tulip_pci_tbl[] __devinitdata = {
...
@@ -202,6 +202,7 @@ static struct pci_device_id tulip_pci_tbl[] __devinitdata = {
{
0x1317
,
0x1985
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
COMET
},
{
0x1317
,
0x1985
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
COMET
},
{
0x13D1
,
0xAB02
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
COMET
},
{
0x13D1
,
0xAB02
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
COMET
},
{
0x13D1
,
0xAB03
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
COMET
},
{
0x13D1
,
0xAB03
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
COMET
},
{
0x13D1
,
0xAB08
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
COMET
},
{
0x104A
,
0x0981
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
COMET
},
{
0x104A
,
0x0981
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
COMET
},
{
0x104A
,
0x2774
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
COMET
},
{
0x104A
,
0x2774
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
COMET
},
{
0x11F6
,
0x9881
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
COMPEX9881
},
{
0x11F6
,
0x9881
,
PCI_ANY_ID
,
PCI_ANY_ID
,
0
,
0
,
COMPEX9881
},
...
...
include/linux/pci_ids.h
View file @
34f53a63
...
@@ -1486,6 +1486,9 @@
...
@@ -1486,6 +1486,9 @@
#define PCI_DEVICE_ID_PANACOM_QUADMODEM 0x0400
#define PCI_DEVICE_ID_PANACOM_QUADMODEM 0x0400
#define PCI_DEVICE_ID_PANACOM_DUALMODEM 0x0402
#define PCI_DEVICE_ID_PANACOM_DUALMODEM 0x0402
#define PCI_VENDOR_ID_AFAVLAB 0x14db
#define PCI_DEVICE_ID_AFAVLAB_P028 0x2180
#define PCI_VENDOR_ID_BROADCOM 0x14e4
#define PCI_VENDOR_ID_BROADCOM 0x14e4
#define PCI_DEVICE_ID_TIGON3_5700 0x1644
#define PCI_DEVICE_ID_TIGON3_5700 0x1644
#define PCI_DEVICE_ID_TIGON3_5701 0x1645
#define PCI_DEVICE_ID_TIGON3_5701 0x1645
...
...
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