11d3c4164SMatthew Dillon /* 21d3c4164SMatthew Dillon * Copyright (c) 2015 Imre Vadász <imre@vdsz.com> 31d3c4164SMatthew Dillon * 41d3c4164SMatthew Dillon * Permission to use, copy, modify, and distribute this software for any 51d3c4164SMatthew Dillon * purpose with or without fee is hereby granted, provided that the above 61d3c4164SMatthew Dillon * copyright notice and this permission notice appear in all copies. 71d3c4164SMatthew Dillon * 81d3c4164SMatthew Dillon * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 91d3c4164SMatthew Dillon * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 101d3c4164SMatthew Dillon * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 111d3c4164SMatthew Dillon * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 121d3c4164SMatthew Dillon * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 131d3c4164SMatthew Dillon * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 141d3c4164SMatthew Dillon * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 151d3c4164SMatthew Dillon */ 161d3c4164SMatthew Dillon 171d3c4164SMatthew Dillon struct wbsio_softc { 18*5d302545SFrançois Tigeot device_t sc_dev; 191d3c4164SMatthew Dillon 201d3c4164SMatthew Dillon struct resource *sc_iores; 211d3c4164SMatthew Dillon int sc_iorid; 221d3c4164SMatthew Dillon 231d3c4164SMatthew Dillon bus_space_tag_t sc_iot; 241d3c4164SMatthew Dillon bus_space_handle_t sc_ioh; 251d3c4164SMatthew Dillon 261d3c4164SMatthew Dillon int sc_devid; 271d3c4164SMatthew Dillon }; 28