14574da7fSAdrian Chadd /*- 2*4d846d26SWarner Losh * SPDX-License-Identifier: BSD-2-Clause 3718cf2ccSPedro F. Giffuni * 44574da7fSAdrian Chadd * Copyright (c) 2011-2012 Stefan Bethke. 54574da7fSAdrian Chadd * All rights reserved. 64574da7fSAdrian Chadd * 74574da7fSAdrian Chadd * Redistribution and use in source and binary forms, with or without 84574da7fSAdrian Chadd * modification, are permitted provided that the following conditions 94574da7fSAdrian Chadd * are met: 104574da7fSAdrian Chadd * 1. Redistributions of source code must retain the above copyright 114574da7fSAdrian Chadd * notice, this list of conditions and the following disclaimer. 124574da7fSAdrian Chadd * 2. Redistributions in binary form must reproduce the above copyright 134574da7fSAdrian Chadd * notice, this list of conditions and the following disclaimer in the 144574da7fSAdrian Chadd * documentation and/or other materials provided with the distribution. 154574da7fSAdrian Chadd * 164574da7fSAdrian Chadd * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 174574da7fSAdrian Chadd * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 184574da7fSAdrian Chadd * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 194574da7fSAdrian Chadd * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 204574da7fSAdrian Chadd * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 214574da7fSAdrian Chadd * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 224574da7fSAdrian Chadd * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 234574da7fSAdrian Chadd * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 244574da7fSAdrian Chadd * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 254574da7fSAdrian Chadd * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 264574da7fSAdrian Chadd * SUCH DAMAGE. 274574da7fSAdrian Chadd */ 284574da7fSAdrian Chadd 294574da7fSAdrian Chadd #ifndef __DEV_ETHERSWITCH_MIIPROXY_H__ 304574da7fSAdrian Chadd #define __DEV_ETHERSWITCH_MIIPROXY_H__ 314574da7fSAdrian Chadd 324574da7fSAdrian Chadd extern driver_t miiproxy_driver; 334574da7fSAdrian Chadd 344574da7fSAdrian Chadd device_t mii_attach_proxy(device_t dev); 354574da7fSAdrian Chadd 364574da7fSAdrian Chadd #endif /* __DEV_ETHERSWITCH_MIIPROXY_H__ */ 37