1250386Sadrian/*-
2250386Sadrian * Copyright (c) 2013 Luiz Otavio O Souza.
3250386Sadrian * All rights reserved.
4250386Sadrian *
5250386Sadrian * Redistribution and use in source and binary forms, with or without
6250386Sadrian * modification, are permitted provided that the following conditions
7250386Sadrian * are met:
8250386Sadrian * 1. Redistributions of source code must retain the above copyright
9250386Sadrian *    notice, this list of conditions and the following disclaimer.
10250386Sadrian * 2. Redistributions in binary form must reproduce the above copyright
11250386Sadrian *    notice, this list of conditions and the following disclaimer in the
12250386Sadrian *    documentation and/or other materials provided with the distribution.
13250386Sadrian *
14250386Sadrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15250386Sadrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16250386Sadrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17250386Sadrian * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18250386Sadrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19250386Sadrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20250386Sadrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21250386Sadrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22250386Sadrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23250386Sadrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24250386Sadrian * SUCH DAMAGE.
25250386Sadrian *
26250386Sadrian * $FreeBSD: releng/11.0/sys/dev/etherswitch/ip17x/ip17x_vlans.h 250386 2013-05-08 20:58:41Z adrian $
27250386Sadrian */
28250386Sadrian
29250386Sadrian#ifndef	__IP17X_VLANS_H__
30250386Sadrian#define	__IP17X_VLANS_H__
31250386Sadrian
32250386Sadrianint ip17x_reset_vlans(struct ip17x_softc *, uint32_t);
33250386Sadrianint ip17x_getvgroup(device_t, etherswitch_vlangroup_t *);
34250386Sadrianint ip17x_setvgroup(device_t, etherswitch_vlangroup_t *);
35250386Sadrian
36250386Sadrian#endif	/* __IP17X_VLANS_H__ */
37