On Thu, Jul 21, 2011 at 10:53 AM, John Baldwin <jhb_at_freebsd.org> wrote: > Hmm, so there does look to be a reasonable _CRS method. Oh, I think I see > what I don't like: > > DWordMemory (ResourceProducer, PosDecode, MinNotFixed, MaxFixed, Cacheable, ReadWrite, > 0x00000000, // Granularity > 0x00000000, // Range Minimum > 0xFFDFFFFF, // Range Maximum > 0x00000000, // Translation Offset > 0x00000000, // Length > ,, _Y01, AddressRangeMemory, TypeStatic) > This patch fixed the problem with my recent install of FreeBSD 9.0 on VirtualBox. Thanks for the fix. Scot > It should be using MinFixed, not MinNotFixed. Try this patch: > > Index: acpi_pcib_acpi.c > =================================================================== > --- acpi_pcib_acpi.c (revision 224217) > +++ acpi_pcib_acpi.c (working copy) > _at__at_ -207,10 +207,12 _at__at_ acpi_pcib_producer_handler(ACPI_RESOURCE *res, voi > length = res->Data.ExtAddress64.AddressLength; > break; > } > - if (length == 0 || > - res->Data.Address.MinAddressFixed != ACPI_ADDRESS_FIXED || > - res->Data.Address.MaxAddressFixed != ACPI_ADDRESS_FIXED) > + if (length == 0) > break; > + if (min + length - 1 != max && > + (res->Data.Address.MinAddressFixed != ACPI_ADDRESS_FIXED || > + res->Data.Address.MaxAddressFixed != ACPI_ADDRESS_FIXED)) > + break; > flags = 0; > switch (res->Data.Address.ResourceType) { > case ACPI_MEMORY_RANGE: > > -- > John Baldwin > _______________________________________________ > freebsd-current_at_freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org" >Received on Thu Jul 21 2011 - 17:10:29 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:16 UTC