PageRenderTime 38ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/sys/arch/arm/include/ofisa_machdep.h

https://gitlab.com/storedmirrors/minix
C Header | 85 lines | 40 code | 11 blank | 34 comment | 0 complexity | 9913b3c27734771425a91bb6960d04b3 MD5 | raw file
  1. /* $NetBSD: ofisa_machdep.h,v 1.3 2012/10/27 17:17:39 chs Exp $ */
  2. /*
  3. * Copyright 1998
  4. * Digital Equipment Corporation. All rights reserved.
  5. *
  6. * This software is furnished under license and may be used and
  7. * copied only in accordance with the following terms and conditions.
  8. * Subject to these conditions, you may download, copy, install,
  9. * use, modify and distribute this software in source and/or binary
  10. * form. No title or ownership is transferred hereby.
  11. *
  12. * 1) Any source code used, modified or distributed must reproduce
  13. * and retain this copyright notice and list of conditions as
  14. * they appear in the source file.
  15. *
  16. * 2) No right is granted to use any trade name, trademark, or logo of
  17. * Digital Equipment Corporation. Neither the "Digital Equipment
  18. * Corporation" name nor any trademark or logo of Digital Equipment
  19. * Corporation may be used to endorse or promote products derived
  20. * from this software without the prior written permission of
  21. * Digital Equipment Corporation.
  22. *
  23. * 3) This software is provided "AS-IS" and any express or implied
  24. * warranties, including but not limited to, any implied warranties
  25. * of merchantability, fitness for a particular purpose, or
  26. * non-infringement are disclaimed. In no event shall DIGITAL be
  27. * liable for any damages whatsoever, and in particular, DIGITAL
  28. * shall not be liable for special, indirect, consequential, or
  29. * incidental damages or damages for lost profits, loss of
  30. * revenue or loss of use, whether such damages arise in contract,
  31. * negligence, tort, under statute, in equity, at law or otherwise,
  32. * even if advised of the possibility of such damage.
  33. */
  34. int ofisa_get_isabus_data(int, struct isabus_attach_args *);
  35. int ofisa_ignore_child(int pphandle, int cphandle);
  36. #if defined(_KERNEL_OPT)
  37. #include "opt_compat_old_ofw.h"
  38. #endif
  39. #ifdef COMPAT_OLD_OFW
  40. #define _OFISA_MD_MATCH
  41. int ofisa_md_match(device_t, cfdata_t, void *);
  42. #define _COM_OFISA_MD_MATCH
  43. #define _COM_OFISA_MD_INTR_FIXUP
  44. int com_ofisa_md_match(device_t, cfdata_t, void *);
  45. int com_ofisa_md_intr_fixup(device_t, device_t, void *,
  46. struct ofisa_intr_desc *, int, int);
  47. #define _CS_OFISA_MD_MATCH
  48. #define _CS_OFISA_MD_REG_FIXUP
  49. #define _CS_OFISA_MD_INTR_FIXUP
  50. #define _CS_OFISA_MD_DMA_FIXUP
  51. #define _CS_OFISA_MD_MEDIA_FIXUP
  52. int cs_ofisa_md_match(device_t, cfdata_t, void *);
  53. int cs_ofisa_md_reg_fixup(device_t, device_t, void *,
  54. struct ofisa_reg_desc *, int, int);
  55. int cs_ofisa_md_intr_fixup(device_t, device_t, void *,
  56. struct ofisa_intr_desc *, int, int);
  57. int cs_ofisa_md_dma_fixup(device_t, device_t, void *,
  58. struct ofisa_dma_desc *, int, int);
  59. int *cs_ofisa_md_media_fixup(device_t, device_t, void *,
  60. int *, int *, int *);
  61. #define _LPT_OFISA_MD_MATCH
  62. #define _LPT_OFISA_MD_INTR_FIXUP
  63. int lpt_ofisa_md_match(device_t, cfdata_t, void *);
  64. int lpt_ofisa_md_intr_fixup(device_t, device_t, void *,
  65. struct ofisa_intr_desc *, int, int);
  66. #define _WDC_OFISA_MD_MATCH
  67. #define _WDC_OFISA_MD_INTR_FIXUP
  68. int wdc_ofisa_md_match(device_t, cfdata_t, void *);
  69. int wdc_ofisa_md_intr_fixup(device_t, device_t, void *,
  70. struct ofisa_intr_desc *, int, int);
  71. #endif /* COMPAT_OLD_OFW */
  72. /* The following aren't dependent on old OpenFirmware. */
  73. #define _CS_OFISA_MD_CFGFLAGS_FIXUP
  74. int cs_ofisa_md_cfgflags_fixup(device_t, device_t, void *);