Bug 58014
Summary: | 2.4.16-0.13 kernel still enforces UDMA=2 for via chipsets | ||
---|---|---|---|
Product: | [Retired] Red Hat Raw Hide | Reporter: | pogosyan |
Component: | kernel | Assignee: | Dave Jones <davej> |
Status: | CLOSED WONTFIX | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1.0 | CC: | db, pfrields |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-10-30 03:23:55 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
pogosyan
2002-01-05 19:33:07 UTC
Unfortionatly it's not just against the via bug; sometimes the cabletype is misdetected and the result is corruption... right now it's "better safe than sorry" I see. BTW, is it all in a single line #436 in via82cxxx.c ? (in __init pci_init_via82cxxx subroutine) ---------- /* * Check 80-wire cable presence and setup Clk66. */ switch (via_config->flags & VIA_UDMA) { case VIA_UDMA_100: pci_read_config_dword(dev, VIA_UDMA_TIMING, &u); for (i = 24; i >= 0; i -= 8) if (((u >> i) & 0x10) || (((u >> i) & 0x20) && (((u >> i) & 7) < 3))) via_80w |= (1 << (1 - (i >> 4))); /* BIOS 80-wire bit or UDMA w/ < 50ns/cycle */ break; case VIA_UDMA_66: pci_read_config_dword(dev, VIA_UDMA_TIMING, &u); /* Enable Clk66 */ pci_write_config_dword(dev, VIA_UDMA_TIMING, u | 0x80008); for (i = 24; i >= 0; i -= 8) if (((u >> (i & 16)) & 8) && ((u >> i) & 0x20) && (((u >> i) & 7) < 2)) via_80w |= (1 << (1 - (i >> 4))); /* 2x PCI clock and UDMA w/ < 3T/cycle */ break; } via_80w = 0; <--------- line 436 if (via_config->flags & VIA_BAD_CLK66) { ----------------------- |