cvs commit: src/sys/dev/pci pci.c pci_private.h

From: Warner Losh <>
Date: Fri, 30 Dec 2005 19:28:27 +0000 (UTC)
imp         2005-12-30 19:28:26 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pci          pci.c pci_private.h 
  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
Received on Fri Dec 30 2005 - 19:28:27 UTC