146283Sdfr/*- 246283Sdfr * Copyright (c) 2012 Hans Petter Selasky. All rights reserved. 398944Sobrien * 498944Sobrien * Redistribution and use in source and binary forms, with or without 546283Sdfr * modification, are permitted provided that the following conditions 698944Sobrien * are met: 746283Sdfr * 1. Redistributions of source code must retain the above copyright 898944Sobrien * notice, this list of conditions and the following disclaimer. 998944Sobrien * 2. Redistributions in binary form must reproduce the above copyright 1098944Sobrien * notice, this list of conditions and the following disclaimer in the 1198944Sobrien * documentation and/or other materials provided with the distribution. 1246283Sdfr * 1398944Sobrien * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 1498944Sobrien * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 1598944Sobrien * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 1698944Sobrien * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 1746283Sdfr * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 1898944Sobrien * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 1998944Sobrien * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 2098944Sobrien * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 2198944Sobrien * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 2298944Sobrien * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 2346283Sdfr * SUCH DAMAGE. 2446283Sdfr */ 2546283Sdfr 2646283Sdfr#ifndef _DWC_OTG_FDT_H_ 2746283Sdfr#define _DWC_OTG_FDT_H_ 2846283Sdfr 2946283Sdfrstruct dwc_otg_fdt_softc { 3046283Sdfr struct dwc_otg_softc sc_otg; /* must be first */ 3146283Sdfr}; 3246283Sdfr 3346283Sdfrextern driver_t dwc_otg_driver; 3446283Sdfr 3546283Sdfrdevice_attach_t dwc_otg_attach; 3698944Sobriendevice_attach_t dwc_otg_detach; 3798944Sobrien 3898944Sobrien#endif 3998944Sobrien