Bug 30762

Summary: Ability to specify max UDMA level
Product: Base System Reporter: David Hedley <david>
Component: kernAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.4-RELEASE   
Hardware: Any   
OS: Any   

Description David Hedley 2001-09-23 15:30:00 UTC
It would be nice to be able to specify a maximum UDMA level with the ATA driver.

e.g. I use the Promise TX2/100 card which supports up to UDMA5, however running it at this speed in my current chassis generates many CRC errors. I would like to be able to force it to use UDMA4 max.

Fix: 

I currently manually patch ata_umode in dev/ata/ata-all.c
Comment 1 Søren Schmidt freebsd_committer freebsd_triage 2001-09-23 16:26:08 UTC
State Changed
From-To: open->closed


This is possible in -current using the atacontrol utility,  
however if and when this will be backported to 4.x-stable 
is not determined yet.
Comment 2 greid freebsd_committer freebsd_triage 2001-09-23 18:39:18 UTC
On Sun, Sep 23, 2001 at 07:28:23AM -0700, David Hedley wrote:
> >Fix:
> 
> I currently manually patch ata_umode in dev/ata/ata-all.c

Such a facility already exists in the form of the ``hw.atamodes'' sysctl.

~greid
Comment 3 david_hedley 2001-09-24 08:48:06 UTC
As of 4.4-REL hw.atamodes allows switching between PIO and DMA, not between
different UDMA levels.

David

 --- George Reid <greid@FreeBSD.org> wrote: 
> On Sun, Sep 23, 2001 at 07:28:23AM -0700, David Hedley wrote:
> > >Fix:
> > 
> > I currently manually patch ata_umode in dev/ata/ata-all.c
> 
> Such a facility already exists in the form of the ``hw.atamodes'' sysctl.
> 
> ~greid
> 
> 
>  

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie