Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
3.7 KiB

5 years ago
  1. /****************************************************************************/
  2. /****************************************************************************/
  3. /* */
  4. /* THE HARDWARE INTERFACE MODULE (PCMCIA CARDS) */
  5. /* ============================================ */
  6. /* */
  7. /* HWI_PCMC.H : Part of the FASTMAC TOOL-KIT (FTK) */
  8. /* */
  9. /* Copyright (c) Madge Networks Ltd. 1990-1993 */
  10. /* Developed by VL */
  11. /* From code by MF, NT */
  12. /* CONFIDENTIAL */
  13. /* */
  14. /* */
  15. /****************************************************************************/
  16. /* */
  17. /* The purpose of the Hardware Interface (HWI) is to supply an adapter card */
  18. /* independent interface to any driver. It performs nearly all of the */
  19. /* functions that involve affecting SIF registers on the adapter cards. */
  20. /* This includes downloading code to, initializing, and removing adapters. */
  21. /* */
  22. /* The HWI_PCMC.H file contains the exported function definitions for the */
  23. /* HWI_PCMC.C module. */
  24. /* */
  25. /****************************************************************************/
  26. /****************************************************************************/
  27. /* */
  28. /* VERSION_NUMBER of FTK to which this HWI_PCMC.H belongs : */
  29. /* */
  30. #define FTK_VERSION_NUMBER_HWI_PCMC_H 221
  31. /****************************************************************************/
  32. export UINT hwi_pcmcia_probe_card(
  33. PROBE * resources,
  34. UINT length,
  35. WORD * valid_locations,
  36. UINT number_locations
  37. );
  38. export WBOOLEAN hwi_pcmcia_deprobe_card(
  39. PROBE resource
  40. );
  41. extern WBOOLEAN hwi_pcmcia_install_card(
  42. ADAPTER * adapter,
  43. DOWNLOAD_IMAGE * download_image
  44. );
  45. extern void hwi_pcmcia_interrupt_handler(
  46. ADAPTER * adapter
  47. );
  48. extern void hwi_pcmcia_remove_card(
  49. ADAPTER * adapter
  50. );
  51. extern void hwi_pcmcia_set_dio_address(
  52. ADAPTER * adapter,
  53. DWORD dio_address
  54. );
  55. /* */
  56. /* */
  57. /************** End of HWI_PCMC.H file **************************************/
  58. /* */
  59. /* */