CVSROOT: /cvs Module name: src Changes by: o...@cvs.openbsd.org 2011/06/23 16:02:26
Modified files: sys/dev/pci : isp_pci.c Log message: make malloc calls in isp_pci_mbxdma NOWAIT to match the bus_dma calls that are all nowait. While here, plug a memory leak if one of the bus_dma calls near the bottom of the function fails because it would fail to free the dmamap, unmap the memory and free the memory. make that part of the code use the standard list of goto labels for error handling that most callers of bus_dmamem_alloc; bus_dmamem_map; bus_dmamap_creat; bus_dmamap_load() use to clean up. ok miod@