Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Aug 2007 23:29:37 +0200
From:      =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= <des@des.no>
To:        John Baldwin <jhb@freebsd.org>
Cc:        freebsd-acpi@freebsd.org, Mike Tancsa <mike@sentex.net>
Subject:   Re: ichwd for ICH8
Message-ID:  <86ps1vm62m.fsf@ds4.des.no>
In-Reply-To: <86ir7nnpxy.fsf@ds4.des.no> ("Dag-Erling =?utf-8?Q?Sm=C3=B8rg?= =?utf-8?Q?rav=22's?= message of "Fri\, 10 Aug 2007 21\:35\:05 %2B0200")
References:  <46337B06.9080102@ybb.ne.jp> <200708081750.l78HoaUY047803@lava.sentex.ca> <86vebn7ipx.fsf@ds4.des.no> <200708101455.44492.jhb@freebsd.org> <86ir7nnpxy.fsf@ds4.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Sm=C3=B8rgrav <des@des.no> writes:
> So basically, the quick fix is this?
>
>         sc->tco_res =3D bus_alloc_resource(dev, SYS_RES_IOPORT, &sc->tco_=
rid,
>             pmbase + TCO_BASE, pmbase + TCO_BASE + TCO_LEN, TCO_LEN,
>             RF_ACTIVE | RF_SHAREABLE);

That doesn't work, bus_alloc_resource() fails.  It didn't with ~0ul.

DES
--=20
Dag-Erling Sm=C3=B8rgrav - des@des.no



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