Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Aug 2004 12:01:39 -0700 (PDT)
From:      Doug White <dwhite@gumbysoft.com>
To:        Jason Andresen <jandrese@mitre.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: SiI3112a possible workaround?
Message-ID:  <20040805115935.H36982@carver.gumbysoft.com>
In-Reply-To: <41125A82.7070302@mitre.org>
References:  <41125A82.7070302@mitre.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 5 Aug 2004, Jason Andresen wrote:

>   hdparm -X66 -d1 /dev/hda
>   echo "max_kb_per_request:15" > /proc/ide/hdX/settings
>   (repeat for both drives, e.g. hde and hdg).
>
> As I have one of these unfortunate controllers, I was wondering if it is
> possible to do something like this in FreeBSD?  sysctl doesn't seem to
> have anything and I'm not sure what to look for in the sources.  Does
> FreeBSD have any sort of analog to the above hdparm command?

'atacontrol mode' allows you to set the speeds on a per-device basis.

For the max_kb_per_request thing, thre isnt' a way to set that that I know
of, but it might be something that we could quirk in the driver.

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite@gumbysoft.com          |  www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040805115935.H36982>