xref: /freebsd/sys/dev/etherswitch/arswitch/arswitch_8316.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
1a043e8c7SAdrian Chadd /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3718cf2ccSPedro F. Giffuni  *
4a043e8c7SAdrian Chadd  * Copyright (c) 2011-2012 Stefan Bethke.
5a043e8c7SAdrian Chadd  * All rights reserved.
6a043e8c7SAdrian Chadd  *
7a043e8c7SAdrian Chadd  * Redistribution and use in source and binary forms, with or without
8a043e8c7SAdrian Chadd  * modification, are permitted provided that the following conditions
9a043e8c7SAdrian Chadd  * are met:
10a043e8c7SAdrian Chadd  * 1. Redistributions of source code must retain the above copyright
11a043e8c7SAdrian Chadd  *    notice, this list of conditions and the following disclaimer.
12a043e8c7SAdrian Chadd  * 2. Redistributions in binary form must reproduce the above copyright
13a043e8c7SAdrian Chadd  *    notice, this list of conditions and the following disclaimer in the
14a043e8c7SAdrian Chadd  *    documentation and/or other materials provided with the distribution.
15a043e8c7SAdrian Chadd  *
16a043e8c7SAdrian Chadd  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
17a043e8c7SAdrian Chadd  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18a043e8c7SAdrian Chadd  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19a043e8c7SAdrian Chadd  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
20a043e8c7SAdrian Chadd  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21a043e8c7SAdrian Chadd  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22a043e8c7SAdrian Chadd  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23a043e8c7SAdrian Chadd  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24a043e8c7SAdrian Chadd  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25a043e8c7SAdrian Chadd  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26a043e8c7SAdrian Chadd  * SUCH DAMAGE.
27a043e8c7SAdrian Chadd  */
28a043e8c7SAdrian Chadd #ifndef	__ARSWITCH_8316_H__
29a043e8c7SAdrian Chadd #define	__ARSWITCH_8316_H__
30a043e8c7SAdrian Chadd 
31a043e8c7SAdrian Chadd extern	void ar8316_attach(struct arswitch_softc *sc);
32a043e8c7SAdrian Chadd 
33a043e8c7SAdrian Chadd #endif	/* __ARSWITCH_8316_H__ */
34a043e8c7SAdrian Chadd 
35