Re: Workaround for some broken BIOSes that forgot to enable ATAchannels [patch]

From: M. Warner Losh <imp_at_bsdimp.com>
Date: Tue, 15 Apr 2003 08:25:15 -0600 (MDT)
In message: <20030414155915.GB23374_at_vega.vega.com>
            Maxim Sobolev <sobomax_at_portaone.com> writes:
: Many other drivers don't rely on BIOS to do the right job and
: enable ports, memory space and busmastering explicitly.

And those drivers are wrong.

:  And
: this is the right thing (IMO), since most modern operating
: systems including FreeBSD don't give a shit to BIOS settings
: anyway. If device is probed and user didn't disable the driver
: explicitly, it should do everything to attach to device, no
: matter in which weird state the BIOS left it.

I agree, but the right place for this is in the bus layer, not the
driver layer.  See my other post for code that does this, as well as
the work around that most people use: hw.pci.enable_io_modes=1

Warner
Received on Tue Apr 15 2003 - 05:25:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:03 UTC