Commit 6e840954 authored by Scott Feldman's avatar Scott Feldman Committed by Jeff Garzik

[E100] ICH5 support added

On Thu, 20 Mar 2003, Scott Feldman wrote:


* ICH5 support: chipset integrated LAN (8255x)
* PHY loopback diags is broken on all ICHs
parent d3fe5891
...@@ -615,7 +615,9 @@ e100_found1(struct pci_dev *pcid, const struct pci_device_id *ent) ...@@ -615,7 +615,9 @@ e100_found1(struct pci_dev *pcid, const struct pci_device_id *ent)
} }
if (((bdp->pdev->device > 0x1030) if (((bdp->pdev->device > 0x1030)
&& (bdp->pdev->device < 0x103F)) && (bdp->pdev->device < 0x103F))
|| ((bdp->pdev->device >= 0x1050)
&& (bdp->pdev->device <= 0x1057))
|| (bdp->pdev->device == 0x2449) || (bdp->pdev->device == 0x2449)
|| (bdp->pdev->device == 0x2459) || (bdp->pdev->device == 0x2459)
|| (bdp->pdev->device == 0x245D)) { || (bdp->pdev->device == 0x245D)) {
......
...@@ -242,6 +242,9 @@ e100_diag_config_loopback(struct e100_private* bdp, ...@@ -242,6 +242,9 @@ e100_diag_config_loopback(struct e100_private* bdp,
*dynamic_tbd = e100_config_dynamic_tbd(bdp,*dynamic_tbd); *dynamic_tbd = e100_config_dynamic_tbd(bdp,*dynamic_tbd);
if (set_loopback) { if (set_loopback) {
/* ICH PHY loopback is broken */
if (bdp->flags & IS_ICH && loopback_mode == PHY_LOOPBACK)
loopback_mode = MAC_LOOPBACK;
/* Configure loopback on MAC */ /* Configure loopback on MAC */
e100_config_loopback_mode(bdp,loopback_mode); e100_config_loopback_mode(bdp,loopback_mode);
} else { } else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment