1234861Sadrian/*-
2234861Sadrian * Copyright (c) 2011-2012 Stefan Bethke.
3234861Sadrian * All rights reserved.
4234861Sadrian *
5234861Sadrian * Redistribution and use in source and binary forms, with or without
6234861Sadrian * modification, are permitted provided that the following conditions
7234861Sadrian * are met:
8234861Sadrian * 1. Redistributions of source code must retain the above copyright
9234861Sadrian *    notice, this list of conditions and the following disclaimer.
10234861Sadrian * 2. Redistributions in binary form must reproduce the above copyright
11234861Sadrian *    notice, this list of conditions and the following disclaimer in the
12234861Sadrian *    documentation and/or other materials provided with the distribution.
13234861Sadrian *
14234861Sadrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15234861Sadrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16234861Sadrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17234861Sadrian * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18234861Sadrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19234861Sadrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20234861Sadrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21234861Sadrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22234861Sadrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23234861Sadrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24234861Sadrian * SUCH DAMAGE.
25234861Sadrian *
26234861Sadrian * $FreeBSD: releng/11.0/sys/dev/etherswitch/miiproxy.h 234861 2012-05-01 06:11:38Z adrian $
27234861Sadrian */
28234861Sadrian
29234861Sadrian#ifndef	__DEV_ETHERSWITCH_MIIPROXY_H__
30234861Sadrian#define	__DEV_ETHERSWITCH_MIIPROXY_H__
31234861Sadrian
32234861Sadrianextern devclass_t miiproxy_devclass;
33234861Sadrianextern driver_t miiproxy_driver;
34234861Sadrian
35234861Sadriandevice_t mii_attach_proxy(device_t dev);
36234861Sadrian
37234861Sadrian#endif	/* __DEV_ETHERSWITCH_MIIPROXY_H__ */
38