cvs commit: src/sys/alpha/include bus.h src/sys/amd64/include bus_dma.h src/sys/i386/include bus_dma.h src/sys/i4b/layer1/itjc i4b_itjc_pci.c src/sys/ia64/include bus.h src/sys/sparc64/include bus.h

Hiten Pandya hmp at FreeBSD.org
Fri May 30 13:40:35 PDT 2003


hmp         2003/05/30 13:40:33 PDT

  FreeBSD src repository (doc committer)

  Modified files:
    sys/alpha/include    bus.h 
    sys/amd64/include    bus_dma.h 
    sys/i386/include     bus_dma.h 
    sys/i4b/layer1/itjc  i4b_itjc_pci.c 
    sys/ia64/include     bus.h 
    sys/sparc64/include  bus.h 
  Log:
  Rename BUS_DMAMEM_NOSYNC to BUS_DMA_COHERENT.
  
  The current name is confusing, because it indicates to
  the client that a bus_dmamap_sync() operation is not
  necessary when the flag is specified, which is wrong.
  
  The main purpose of this flag is to hint the underlying
  architecture that DMA memory should be mapped in a coherent
  way, but the architecture can ignore it.  But if the
  architecture does supports coherent mapping of memory, then
  it makes bus_dmamap_sync() calls cheap.
  
  This flag is the same as the one in NetBSD's Bus DMA.
  
  Reviewed by: gibbs, scottl, des (implicitly)
  Approved by: re@ (jhb)
  
  Revision  Changes    Path
  1.21      +1 -1      src/sys/alpha/include/bus.h
  1.22      +1 -1      src/sys/amd64/include/bus_dma.h
  1.21      +1 -1      src/sys/i386/include/bus_dma.h
  1.7       +2 -2      src/sys/i4b/layer1/itjc/i4b_itjc_pci.c
  1.12      +1 -1      src/sys/ia64/include/bus.h
  1.26      +1 -2      src/sys/sparc64/include/bus.h


More information about the cvs-all mailing list