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