Deleted Added
full compact
adwcam.c (263954) adwcam.c (267340)
1/*-
2 * CAM SCSI interface for the Advanced Systems Inc.
3 * Second Generation SCSI controllers.
4 *
5 * Product specific probe and attach routines can be found in:
6 *
7 * adw_pci.c ABP[3]940UW, ABP950UW, ABP3940U2W
8 *

--- 30 unchanged lines hidden (view full) ---

39 *
40 * Redistribution and use in source and binary forms, with or without
41 * modification, are permitted provided that redistributions of source
42 * code retain the above copyright notice and this comment without
43 * modification.
44 */
45
46#include <sys/cdefs.h>
1/*-
2 * CAM SCSI interface for the Advanced Systems Inc.
3 * Second Generation SCSI controllers.
4 *
5 * Product specific probe and attach routines can be found in:
6 *
7 * adw_pci.c ABP[3]940UW, ABP950UW, ABP3940U2W
8 *

--- 30 unchanged lines hidden (view full) ---

39 *
40 * Redistribution and use in source and binary forms, with or without
41 * modification, are permitted provided that redistributions of source
42 * code retain the above copyright notice and this comment without
43 * modification.
44 */
45
46#include <sys/cdefs.h>
47__FBSDID("$FreeBSD: head/sys/dev/advansys/adwcam.c 263954 2014-03-30 23:43:36Z imp $");
47__FBSDID("$FreeBSD: head/sys/dev/advansys/adwcam.c 267340 2014-06-10 20:25:45Z jhb $");
48
49#include <sys/param.h>
50#include <sys/conf.h>
51#include <sys/systm.h>
52#include <sys/kernel.h>
53#include <sys/malloc.h>
54#include <sys/lock.h>
55#include <sys/module.h>

--- 716 unchanged lines hidden (view full) ---

772 }
773 bus_dma_tag_destroy(adw->sg_dmat);
774 }
775 case 8:
776 bus_dmamap_unload(adw->acb_dmat, adw->acb_dmamap);
777 case 7:
778 bus_dmamem_free(adw->acb_dmat, adw->acbs,
779 adw->acb_dmamap);
48
49#include <sys/param.h>
50#include <sys/conf.h>
51#include <sys/systm.h>
52#include <sys/kernel.h>
53#include <sys/malloc.h>
54#include <sys/lock.h>
55#include <sys/module.h>

--- 716 unchanged lines hidden (view full) ---

772 }
773 bus_dma_tag_destroy(adw->sg_dmat);
774 }
775 case 8:
776 bus_dmamap_unload(adw->acb_dmat, adw->acb_dmamap);
777 case 7:
778 bus_dmamem_free(adw->acb_dmat, adw->acbs,
779 adw->acb_dmamap);
780 bus_dmamap_destroy(adw->acb_dmat, adw->acb_dmamap);
781 case 6:
782 bus_dma_tag_destroy(adw->acb_dmat);
783 case 5:
784 bus_dmamap_unload(adw->carrier_dmat, adw->carrier_dmamap);
785 case 4:
786 bus_dmamem_free(adw->carrier_dmat, adw->carriers,
787 adw->carrier_dmamap);
780 case 6:
781 bus_dma_tag_destroy(adw->acb_dmat);
782 case 5:
783 bus_dmamap_unload(adw->carrier_dmat, adw->carrier_dmamap);
784 case 4:
785 bus_dmamem_free(adw->carrier_dmat, adw->carriers,
786 adw->carrier_dmamap);
788 bus_dmamap_destroy(adw->carrier_dmat, adw->carrier_dmamap);
789 case 3:
790 bus_dma_tag_destroy(adw->carrier_dmat);
791 case 2:
792 bus_dma_tag_destroy(adw->buffer_dmat);
793 case 1:
794 bus_dma_tag_destroy(adw->parent_dmat);
795 case 0:
796 break;

--- 710 unchanged lines hidden ---
787 case 3:
788 bus_dma_tag_destroy(adw->carrier_dmat);
789 case 2:
790 bus_dma_tag_destroy(adw->buffer_dmat);
791 case 1:
792 bus_dma_tag_destroy(adw->parent_dmat);
793 case 0:
794 break;

--- 710 unchanged lines hidden ---