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

Warner Losh imp at FreeBSD.org
Fri Dec 30 11:28:27 PST 2005


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


More information about the cvs-src mailing list