Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Sep 2013 10:01:14 +0200
From:      =?ISO-8859-15?Q?Jean-S=E9bastien_P=E9dron?= <dumbbell@FreeBSD.org>
To:        John Baldwin <jhb@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r254882 - head/sys/dev/pci
Message-ID:  <52298BCA.7040602@FreeBSD.org>
In-Reply-To: <201309031410.46052.jhb@freebsd.org>
References:  <201308251809.r7PI9CsE052978@svn.freebsd.org> <201308301644.36750.jhb@freebsd.org> <52219DAE.9010707@FreeBSD.org> <201309031410.46052.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Le 03/09/2013 20:10, John Baldwin a écrit :
> Yes, orm0 is eating it.  Try this along with using RF_SHAREABLE in your
> call to BUS_ALLOC_RESOURCE():
>
> Index: x86/isa/orm.c
> (...)
> -		res = bus_alloc_resource_any(child, SYS_RES_MEMORY, &rid, 0);
> +		res = bus_alloc_resource_any(child, SYS_RES_MEMORY, &rid,
> +		    RF_SHAREABLE);

I tried this patch + RF_SHAREABLE in vga_pci.c but without success. In 
the call to BUS_ALLOC_RESOURCE in vga_pci.c, I tried with various 
"parents"/"grand-parents" but it always returns NULL.

-- 
Jean-Sébastien Pédron



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