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
02a11d70
Commit
02a11d70
authored
Oct 15, 2004
by
Jeff Garzik
Browse files
Options
Browse Files
Download
Plain Diff
Merge pobox.com:/spare/repo/linux-2.6
into pobox.com:/spare/repo/netdev-2.6/janitor
parents
8b5915b0
6e72934d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
18 deletions
+23
-18
drivers/net/3c59x.c
drivers/net/3c59x.c
+1
-1
drivers/net/sis900.c
drivers/net/sis900.c
+10
-8
drivers/net/tulip/tulip_core.c
drivers/net/tulip/tulip_core.c
+12
-9
No files found.
drivers/net/3c59x.c
View file @
02a11d70
...
...
@@ -2888,7 +2888,7 @@ static void vortex_get_drvinfo(struct net_device *dev,
}
static
struct
ethtool_ops
vortex_ethtool_ops
=
{
.
get_drvinfo
=
vortex_get_drvinfo
,
.
get_drvinfo
=
vortex_get_drvinfo
,
};
#ifdef CONFIG_PCI
...
...
drivers/net/sis900.c
View file @
02a11d70
...
...
@@ -262,13 +262,12 @@ static int __devinit sis630e_get_mac_addr(struct pci_dev * pci_dev, struct net_d
u8
reg
;
int
i
;
isa_bridge
=
pci_find_device
(
PCI_VENDOR_ID_SI
,
0x0008
,
isa_bridge
);
isa_bridge
=
pci_get_device
(
PCI_VENDOR_ID_SI
,
0x0008
,
isa_bridge
);
if
(
!
isa_bridge
)
isa_bridge
=
pci_get_device
(
PCI_VENDOR_ID_SI
,
0x0018
,
isa_bridge
);
if
(
!
isa_bridge
)
{
isa_bridge
=
pci_find_device
(
PCI_VENDOR_ID_SI
,
0x0018
,
isa_bridge
);
if
(
!
isa_bridge
)
{
printk
(
"%s: Can not find ISA bridge
\n
"
,
net_dev
->
name
);
return
0
;
}
printk
(
"%s: Can not find ISA bridge
\n
"
,
net_dev
->
name
);
return
0
;
}
pci_read_config_byte
(
isa_bridge
,
0x48
,
&
reg
);
pci_write_config_byte
(
isa_bridge
,
0x48
,
reg
|
0x40
);
...
...
@@ -278,6 +277,7 @@ static int __devinit sis630e_get_mac_addr(struct pci_dev * pci_dev, struct net_d
((
u8
*
)(
net_dev
->
dev_addr
))[
i
]
=
inb
(
0x71
);
}
pci_write_config_byte
(
isa_bridge
,
0x48
,
reg
&
~
0x40
);
pci_dev_put
(
isa_bridge
);
return
1
;
}
...
...
@@ -485,9 +485,11 @@ static int __devinit sis900_probe (struct pci_dev *pci_dev, const struct pci_dev
}
/* save our host bridge revision */
dev
=
pci_
find
_device
(
PCI_VENDOR_ID_SI
,
PCI_DEVICE_ID_SI_630
,
NULL
);
if
(
dev
)
dev
=
pci_
get
_device
(
PCI_VENDOR_ID_SI
,
PCI_DEVICE_ID_SI_630
,
NULL
);
if
(
dev
)
{
pci_read_config_byte
(
dev
,
PCI_CLASS_REVISION
,
&
sis_priv
->
host_bridge_rev
);
pci_dev_put
(
dev
);
}
/* print some information about our NIC */
printk
(
KERN_INFO
"%s: %s at %#lx, IRQ %d, "
,
net_dev
->
name
,
...
...
drivers/net/tulip/tulip_core.c
View file @
02a11d70
...
...
@@ -1236,6 +1236,11 @@ static int __devinit tulip_init_one (struct pci_dev *pdev,
struct
tulip_private
*
tp
;
/* See note below on the multiport cards. */
static
unsigned
char
last_phys_addr
[
6
]
=
{
0x00
,
'L'
,
'i'
,
'n'
,
'u'
,
'x'
};
static
struct
pci_device_id
early_486_chipsets
[]
=
{
{
PCI_DEVICE
(
PCI_VENDOR_ID_INTEL
,
PCI_DEVICE_ID_INTEL_82424
)
},
{
PCI_DEVICE
(
PCI_VENDOR_ID_SI
,
PCI_DEVICE_ID_SI_496
)
},
{
},
};
static
int
last_irq
;
static
int
multiport_cnt
;
/* For four-port boards w/one EEPROM */
u8
chip_rev
;
...
...
@@ -1289,17 +1294,15 @@ static int __devinit tulip_init_one (struct pci_dev *pdev,
* without the workarounds being on.
*/
/* Intel Saturn. Switch to 8 long words burst, 8 long word cache aligned
Aries might need this too. The Saturn errata are not pretty reading but
thankfully it's an old 486 chipset.
/* 1. Intel Saturn. Switch to 8 long words burst, 8 long word cache
aligned. Aries might need this too. The Saturn errata are not
pretty reading but thankfully it's an old 486 chipset.
2. The dreaded SiS496 486 chipset. Same workaround as Intel
Saturn.
*/
if
(
pci_find_device
(
PCI_VENDOR_ID_INTEL
,
PCI_DEVICE_ID_INTEL_82424
,
NULL
))
{
csr0
=
MRL
|
MRM
|
(
8
<<
BurstLenShift
)
|
(
1
<<
CALShift
);
force_csr0
=
1
;
}
/* The dreaded SiS496 486 chipset. Same workaround as above. */
if
(
pci_find_device
(
PCI_VENDOR_ID_SI
,
PCI_DEVICE_ID_SI_496
,
NULL
))
{
if
(
pci_dev_present
(
early_486_chipsets
))
{
csr0
=
MRL
|
MRM
|
(
8
<<
BurstLenShift
)
|
(
1
<<
CALShift
);
force_csr0
=
1
;
}
...
...
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