Deleted Added
full compact
if_ti.c (227089) if_ti.c (227091)
1/*-
2 * Copyright (c) 1997, 1998, 1999
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

72 * - Raymond Lee of Netgear, for providing a pair of Netgear
73 * GA620 Tigon 2 boards for testing
74 * - Ulf Zimmermann, for bringing the GA260 to my attention and
75 * convincing me to write this driver.
76 * - Andrew Gallatin for providing FreeBSD/Alpha support.
77 */
78
79#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1997, 1998, 1999
3 * Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

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

72 * - Raymond Lee of Netgear, for providing a pair of Netgear
73 * GA620 Tigon 2 boards for testing
74 * - Ulf Zimmermann, for bringing the GA260 to my attention and
75 * convincing me to write this driver.
76 * - Andrew Gallatin for providing FreeBSD/Alpha support.
77 */
78
79#include <sys/cdefs.h>
80__FBSDID("$FreeBSD: head/sys/dev/ti/if_ti.c 227089 2011-11-04 19:12:07Z yongari $");
80__FBSDID("$FreeBSD: head/sys/dev/ti/if_ti.c 227091 2011-11-04 20:25:30Z yongari $");
81
82#include "opt_ti.h"
83
84#include <sys/param.h>
85#include <sys/systm.h>
86#include <sys/sockio.h>
87#include <sys/mbuf.h>
88#include <sys/malloc.h>

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

2517 sc->ti_jumbo_dmamap);
2518#endif
2519 if (sc->ti_jumbo_dmat)
2520 bus_dma_tag_destroy(sc->ti_jumbo_dmat);
2521 if (sc->ti_mbuftx_dmat)
2522 bus_dma_tag_destroy(sc->ti_mbuftx_dmat);
2523 if (sc->ti_mbufrx_dmat)
2524 bus_dma_tag_destroy(sc->ti_mbufrx_dmat);
81
82#include "opt_ti.h"
83
84#include <sys/param.h>
85#include <sys/systm.h>
86#include <sys/sockio.h>
87#include <sys/mbuf.h>
88#include <sys/malloc.h>

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

2517 sc->ti_jumbo_dmamap);
2518#endif
2519 if (sc->ti_jumbo_dmat)
2520 bus_dma_tag_destroy(sc->ti_jumbo_dmat);
2521 if (sc->ti_mbuftx_dmat)
2522 bus_dma_tag_destroy(sc->ti_mbuftx_dmat);
2523 if (sc->ti_mbufrx_dmat)
2524 bus_dma_tag_destroy(sc->ti_mbufrx_dmat);
2525 if (sc->ti_rdata && sc->ti_rdata_dmamap)
2526 bus_dmamap_unload(sc->ti_rdata_dmat, sc->ti_rdata_dmamap);
2525 if (sc->ti_rdata)
2526 bus_dmamem_free(sc->ti_rdata_dmat, sc->ti_rdata,
2527 sc->ti_rdata_dmamap);
2528 if (sc->ti_rdata_dmat)
2529 bus_dma_tag_destroy(sc->ti_rdata_dmat);
2530 if (sc->ti_parent_dmat)
2531 bus_dma_tag_destroy(sc->ti_parent_dmat);
2532 if (sc->ti_intrhand)

--- 1257 unchanged lines hidden ---
2527 if (sc->ti_rdata)
2528 bus_dmamem_free(sc->ti_rdata_dmat, sc->ti_rdata,
2529 sc->ti_rdata_dmamap);
2530 if (sc->ti_rdata_dmat)
2531 bus_dma_tag_destroy(sc->ti_rdata_dmat);
2532 if (sc->ti_parent_dmat)
2533 bus_dma_tag_destroy(sc->ti_parent_dmat);
2534 if (sc->ti_intrhand)

--- 1257 unchanged lines hidden ---