Date: Fri, 30 Dec 2005 19:28:27 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/pci pci.c pci_private.h Message-ID: <200512301928.jBUJSRgw076479@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2005-12-30 19:28:26 UTC FreeBSD src repository Modified files: sys/dev/pci pci.c pci_private.h Log: Expose pci_add_resources to the outside world, add a 'force' flag to force allocation of unallocated BARs (cardbus uses this to preallocate everything). Add a prefetchmask to allow for busses that get prefetch hints to set them. Addjust pci_add_map and pci_ata_maps to take a new force flag which pci_add_resources will pass in. Implement 'force' in pci_add_map. Write new value of allocated resource into the bar, if the allocation succeeded (we should have done this before, but with the new force the bug was very obvious). Revision Changes Path 1.306 +61 -29 src/sys/dev/pci/pci.c 1.16 +2 -0 src/sys/dev/pci/pci_private.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512301928.jBUJSRgw076479>