mirror of https://github.com/lianthony/NT4.0
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.
72 lines
3.6 KiB
72 lines
3.6 KiB
/****************************************************************************/
|
|
/****************************************************************************/
|
|
/* */
|
|
/* THE HARDWARE INTERFACE MODULE (MICROCHANNEL CARDS) */
|
|
/* ================================================== */
|
|
/* */
|
|
/* HWI_MC.H : Part of the FASTMAC TOOL-KIT (FTK) */
|
|
/* */
|
|
/* Copyright (c) Madge Networks Ltd. 1990-1994 */
|
|
/* Developed by MF */
|
|
/* From code by NT */
|
|
/* CONFIDENTIAL */
|
|
/* */
|
|
/* */
|
|
/****************************************************************************/
|
|
/* */
|
|
/* The purpose of the Hardware Interface (HWI) is to supply an adapter card */
|
|
/* independent interface to any driver. It performs nearly all of the */
|
|
/* functions that involve affecting SIF registers on the adapter cards. */
|
|
/* This includes downloading code to, initializing, and removing adapters. */
|
|
/* */
|
|
/* The HWI_MC.H file contains the exported function definitions for the */
|
|
/* HWI_MC.C module. */
|
|
/* */
|
|
/****************************************************************************/
|
|
|
|
/****************************************************************************/
|
|
/* */
|
|
/* VERSION_NUMBER of FTK to which this HWI_MC.H belongs : */
|
|
/* */
|
|
|
|
#define FTK_VERSION_NUMBER_HWI_MC_H 221
|
|
|
|
|
|
/****************************************************************************/
|
|
|
|
export UINT hwi_mc_probe_card(
|
|
|
|
PROBE * resources,
|
|
UINT length,
|
|
WORD * valid_locations,
|
|
UINT number_locations
|
|
);
|
|
|
|
extern WBOOLEAN hwi_mc_install_card(
|
|
|
|
ADAPTER * adapter,
|
|
DOWNLOAD_IMAGE * download_image
|
|
);
|
|
|
|
extern void hwi_mc_interrupt_handler(
|
|
|
|
ADAPTER * adapter
|
|
);
|
|
|
|
extern void hwi_mc_remove_card(
|
|
|
|
ADAPTER * adapter
|
|
);
|
|
|
|
extern void hwi_mc_set_dio_address(
|
|
|
|
ADAPTER * adapter,
|
|
DWORD dio_address
|
|
);
|
|
|
|
|
|
/* */
|
|
/* */
|
|
/************** End of HWI_MC.H file ****************************************/
|
|
/* */
|
|
/* */
|