/*  Copyright (C) MOXA Inc. All rights reserved.

    This software is distributed under the terms of the
    MOXA License.  See the file COPYING-MOXA for details.
*/
/*
 * IOCTL
 */
#define GPD_TYPE 40000
#define MOXA_HTSP_IOCTL				0x950   
#define IOCTL_GET_DISK_STATUS			CTL_CODE(GPD_TYPE,  MOXA_HTSP_IOCTL, METHOD_BUFFERED, FILE_ANY_ACCESS) //0x950 
#define IOCTL_SET_DISK_LED				CTL_CODE(GPD_TYPE,  MOXA_HTSP_IOCTL+1, METHOD_BUFFERED, FILE_ANY_ACCESS) //0x951 
#define IOCTL_GET_DISK_BTN				CTL_CODE(GPD_TYPE,  MOXA_HTSP_IOCTL+2, METHOD_BUFFERED, FILE_ANY_ACCESS) //0x952 
#define IOCTL_CHECK_DISK_PLUGGED		CTL_CODE(GPD_TYPE,  MOXA_HTSP_IOCTL+3, METHOD_BUFFERED, FILE_ANY_ACCESS) //0x953

typedef struct _mxhtsp_param {
	int disk_num;
	int val;
} mxhtsp_param;
 