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.

56 lines
2.9 KiB

5 years ago
  1. /****************************************************************************/
  2. /****************************************************************************/
  3. /* */
  4. /* THE HARDWARE INTERFACE MODULE (PCI CARDS) */
  5. /* ========================================= */
  6. /* */
  7. /* HWI_PCI.H : Part of the FASTMAC TOOL-KIT (FTK) */
  8. /* */
  9. /* Copyright (c) Madge Networks Ltd. 1990-1994 */
  10. /* Developed by PRR */
  11. /* CONFIDENTIAL */
  12. /* */
  13. /* */
  14. /****************************************************************************/
  15. /* */
  16. /* The purpose of the Hardware Interface (HWI) is to supply an adapter card */
  17. /* independent interface to any driver. It performs nearly all of the */
  18. /* functions that involve affecting SIF registers on the adapter cards. */
  19. /* This includes downloading code to, initializing, and removing adapters. */
  20. /* */
  21. /* The HWI_PCI2.H file contains the exported function definitions for the */
  22. /* HWI_PCI2.C module. */
  23. /* */
  24. /****************************************************************************/
  25. #define FTK_VERSION_NUMBER_hwi_pci2_H 221
  26. /****************************************************************************/
  27. export WBOOLEAN hwi_pci2_install_card( ADAPTER * adapter,
  28. DOWNLOAD_IMAGE * download_image );
  29. export void hwi_pci2_interrupt_handler( ADAPTER * adapter);
  30. export void hwi_pci2_remove_card( ADAPTER * adapter );
  31. export void hwi_pci2_set_dio_address( ADAPTER * adapter,
  32. DWORD dio_address );
  33. export UINT hwi_pci2_probe_card( PROBE * Resources,
  34. UINT NumberOfResources,
  35. WORD * IOMask,
  36. UINT NumberIO
  37. );
  38. export WBOOLEAN hwi_pci2_deprobe_card(
  39. PROBE resource
  40. );
  41. /* */
  42. /* */
  43. /************** End of HWI_PCI.H file ***************************************/
  44. /* */
  45. /* */