impactvar.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* $OpenBSD: impactvar.h,v 1.1 2012/04/18 17:28:24 miod Exp $ */
  2. /*
  3. * Copyright (c) 2010 Miodrag Vallat.
  4. *
  5. * Permission to use, copy, modify, and distribute this software for any
  6. * purpose with or without fee is hereby granted, provided that the above
  7. * copyright notice and this permission notice appear in all copies.
  8. *
  9. * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
  10. * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
  11. * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
  12. * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
  13. * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
  14. * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  15. * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  16. */
  17. struct impact_screen;
  18. struct impact_softc {
  19. struct device sc_dev;
  20. struct impact_screen *curscr;
  21. int console;
  22. int nscreens;
  23. };
  24. int impact_attach_common(struct impact_softc *, bus_space_tag_t,
  25. bus_space_handle_t, int, int);
  26. int impact_cnattach_common(bus_space_tag_t, bus_space_handle_t, int);
  27. struct gio_attach_args;
  28. int impact_gio_cnprobe(struct gio_attach_args *);
  29. int impact_gio_cnattach(struct gio_attach_args *);
  30. int impact_xbow_cnprobe(void);
  31. int impact_xbow_cnattach(void);