[BACK]Return to pci_machdep.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / arch / x86 / pci

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/arch/x86/pci/pci_machdep.c between version 1.45 and 1.46

version 1.45, 2011/05/17 17:34:53 version 1.46, 2011/08/27 09:32:11
Line 191  struct {
Line 191  struct {
  * of these functions.   * of these functions.
  */   */
 struct x86_bus_dma_tag pci_bus_dma_tag = {  struct x86_bus_dma_tag pci_bus_dma_tag = {
         0,                              /* tag_needs_free */          ._tag_needs_free        = 0,
 #if defined(_LP64) || defined(PAE)  #if defined(_LP64) || defined(PAE)
         PCI32_DMA_BOUNCE_THRESHOLD,     /* bounce_thresh */          ._bounce_thresh         = PCI32_DMA_BOUNCE_THRESHOLD,
         ISA_DMA_BOUNCE_THRESHOLD,       /* bounce_alloclo */          ._bounce_alloc_lo       = ISA_DMA_BOUNCE_THRESHOLD,
         PCI32_DMA_BOUNCE_THRESHOLD,     /* bounce_allochi */          ._bounce_alloc_hi       = PCI32_DMA_BOUNCE_THRESHOLD,
 #else  #else
         0,          ._bounce_thresh         = 0,
         0,          ._bounce_alloc_lo       = 0,
         0,          ._bounce_alloc_hi       = 0,
 #endif  #endif
         NULL,                   /* _may_bounce */          ._may_bounce            = NULL,
         _bus_dmamap_create,  
         _bus_dmamap_destroy,          ._dmamap_create         = _bus_dmamap_create,
         _bus_dmamap_load,          ._dmamap_destroy        = _bus_dmamap_destroy,
         _bus_dmamap_load_mbuf,          ._dmamap_load           = _bus_dmamap_load,
         _bus_dmamap_load_uio,          ._dmamap_load_mbuf      = _bus_dmamap_load_mbuf,
         _bus_dmamap_load_raw,          ._dmamap_load_uio       = _bus_dmamap_load_uio,
         _bus_dmamap_unload,          ._dmamap_load_raw       = _bus_dmamap_load_raw,
         _bus_dmamap_sync,          ._dmamap_unload         = _bus_dmamap_unload,
         _bus_dmamem_alloc,          ._dmamap_sync           = _bus_dmamap_sync,
         _bus_dmamem_free,  
         _bus_dmamem_map,          ._dmamem_alloc          = _bus_dmamem_alloc,
         _bus_dmamem_unmap,          ._dmamem_free           = _bus_dmamem_free,
         _bus_dmamem_mmap,          ._dmamem_map            = _bus_dmamem_map,
         _bus_dmatag_subregion,          ._dmamem_unmap          = _bus_dmamem_unmap,
         _bus_dmatag_destroy,          ._dmamem_mmap           = _bus_dmamem_mmap,
   
           ._dmatag_subregion      = _bus_dmatag_subregion,
           ._dmatag_destroy        = _bus_dmatag_destroy,
 };  };
   
 #ifdef _LP64  #ifdef _LP64
 struct x86_bus_dma_tag pci_bus_dma64_tag = {  struct x86_bus_dma_tag pci_bus_dma64_tag = {
         0,                              /* tag_needs_free */          ._tag_needs_free        = 0,
         0,          ._bounce_thresh         = 0,
         0,          ._bounce_alloc_lo       = 0,
         0,          ._bounce_alloc_hi       = 0,
         NULL,                   /* _may_bounce */          ._may_bounce            = NULL,
         _bus_dmamap_create,  
         _bus_dmamap_destroy,          ._dmamap_create         = _bus_dmamap_create,
         _bus_dmamap_load,          ._dmamap_destroy        = _bus_dmamap_destroy,
         _bus_dmamap_load_mbuf,          ._dmamap_load           = _bus_dmamap_load,
         _bus_dmamap_load_uio,          ._dmamap_load_mbuf      = _bus_dmamap_load_mbuf,
         _bus_dmamap_load_raw,          ._dmamap_load_uio       = _bus_dmamap_load_uio,
         _bus_dmamap_unload,          ._dmamap_load_raw       = _bus_dmamap_load_raw,
         NULL,          ._dmamap_unload         = _bus_dmamap_unload,
         _bus_dmamem_alloc,          ._dmamap_sync           = NULL,
         _bus_dmamem_free,  
         _bus_dmamem_map,          ._dmamem_alloc          = _bus_dmamem_alloc,
         _bus_dmamem_unmap,          ._dmamem_free           = _bus_dmamem_free,
         _bus_dmamem_mmap,          ._dmamem_map            = _bus_dmamem_map,
         _bus_dmatag_subregion,          ._dmamem_unmap          = _bus_dmamem_unmap,
         _bus_dmatag_destroy,          ._dmamem_mmap           = _bus_dmamem_mmap,
   
           ._dmatag_subregion      = _bus_dmatag_subregion,
           ._dmatag_destroy        = _bus_dmatag_destroy,
 };  };
 #endif  #endif
   

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

CVSweb <webmaster@jp.NetBSD.org>