Bug 16912

Summary: add UDMA4 mode for Intel ICH
Product: Base System Reporter: sakichan <sakichan>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description sakichan 2000-02-22 17:40:01 UTC
	IDE controller in Intel 82801AA (ICH) can handle
	ATA66 mode, but the current ATA driver does not
	try to ATA66.

Fix: Patch below fix the problem. PCI Config register 0x54
	is "IDE I/O Configuration Register". Bit 0-3 is the base
	clock flag of each drive for UDMA timings. '1' means 66MHz,
	and '0' means 33MHz. bit 4-7 is set/reset for each drive 
	by BIOS in the startup, which reports whether the ATA cable
	is the 80-pin or the 40-pin.
How-To-Repeat: 
	Every boot on i386 systems on i810/820/840 chipsets platform,
	with Ultra ATA66 hard disks connected to the IDE interface
	on the motherboard wired to ICH by the ATA66 cable.
Comment 1 Søren Schmidt freebsd_committer freebsd_triage 2000-02-22 20:30:48 UTC
State Changed
From-To: open->closed

I have a semilar patch just not committed yet, but since 
they apparently works for lots of people I've committed 
them, thereby closing this PR. 
Thanks for the patches though!