/* SPDX-License-Identifier: GPL-1.0+ WITH Linux-syscall-note */


#ifndef _UAPI_LINUX_PG_H
#define _UAPI_LINUX_PG_H

#define PG_MAGIC	'P'
#define PG_RESET	'Z'
#define PG_COMMAND	'C'

#define PG_MAX_DATA	32768

struct pg_write_hdr {

	char	magic;		
	char	func;		
	int     dlen;		
	int     timeout;	
	char	packet[12];	

};

struct pg_read_hdr {

	char	magic;		
	char	scsi;		
	int	dlen;		
	int     duration;	
	char    pad[12];	

};

#endif 
