1296177Sjhibbits/*- 2296177Sjhibbits * Copyright (c) 2012 Semihalf. 3296177Sjhibbits * All rights reserved. 4296177Sjhibbits * 5296177Sjhibbits * Redistribution and use in source and binary forms, with or without 6296177Sjhibbits * modification, are permitted provided that the following conditions 7296177Sjhibbits * are met: 8296177Sjhibbits * 1. Redistributions of source code must retain the above copyright 9296177Sjhibbits * notice, this list of conditions and the following disclaimer. 10296177Sjhibbits * 2. Redistributions in binary form must reproduce the above copyright 11296177Sjhibbits * notice, this list of conditions and the following disclaimer in the 12296177Sjhibbits * documentation and/or other materials provided with the distribution. 13296177Sjhibbits * 14296177Sjhibbits * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15296177Sjhibbits * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16296177Sjhibbits * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17296177Sjhibbits * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18296177Sjhibbits * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19296177Sjhibbits * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20296177Sjhibbits * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21296177Sjhibbits * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22296177Sjhibbits * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23296177Sjhibbits * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24296177Sjhibbits * SUCH DAMAGE. 25296177Sjhibbits * 26296177Sjhibbits * $FreeBSD$ 27296177Sjhibbits */ 28296177Sjhibbits 29296177Sjhibbits#ifndef IF_DTSEC_IM_H_ 30296177Sjhibbits#define IF_DTSEC_IM_H_ 31296177Sjhibbits 32296177Sjhibbits/** 33296177Sjhibbits * @group dTSEC Independent Mode API. 34296177Sjhibbits * @{ 35296177Sjhibbits */ 36296177Sjhibbitsint dtsec_im_fm_port_tx_init(struct dtsec_softc *sc, int unit); 37296177Sjhibbitsint dtsec_im_fm_port_rx_init(struct dtsec_softc *sc, int unit); 38296177Sjhibbitsvoid dtsec_im_if_start_locked(struct dtsec_softc *sc); 39296177Sjhibbits/** @} */ 40296177Sjhibbits 41296177Sjhibbits#endif /* IF_DTSEC_IM_H_ */ 42