⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pci2220i.h

📁 Linux内核源代码 为压缩文件 是<<Linux内核>>一书中的源代码
💻 H
字号:
/**************************************************************************** * Perceptive Solutions, Inc. PCI-2220I device driver for Linux. * * pci2220i.h - Linux Host Driver for PCI-2220i EIDE Adapters * * Copyright (c) 1997-1999 Perceptive Solutions, Inc. * All Rights Reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that redistributions of source * code retain the above copyright notice and this comment without * modification. * * Technical updates and product information at: *  http://www.psidisk.com * * Please send questions, comments, bug reports to: *  tech@psidisk.com Technical Support * ****************************************************************************/#ifndef _PCI2220I_H#define _PCI2220I_H#ifndef LINUX_VERSION_CODE#include <linux/version.h>#endif #define	LINUXVERSION(v,p,s)    (((v)<<16) + ((p)<<8) + (s))// function prototypesint Pci2220i_Detect			(Scsi_Host_Template *tpnt);int Pci2220i_Command		(Scsi_Cmnd *SCpnt);int Pci2220i_QueueCommand	(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *));int Pci2220i_Abort			(Scsi_Cmnd *SCpnt);int Pci2220i_Reset			(Scsi_Cmnd *SCpnt, unsigned int flags);int Pci2220i_Release		(struct Scsi_Host *pshost);int Pci2220i_BiosParam		(Disk *disk, kdev_t dev, int geom[]);#ifndef NULL	#define NULL 0#endif#define PCI2220I {					\	proc_name:		"pci2220i",		\	name:			"PCI-2220I/PCI-2240I",	\	detect:			Pci2220i_Detect,	\	release:		Pci2220i_Release,	\	command:		Pci2220i_Command,	\	queuecommand:		Pci2220i_QueueCommand,	\	abort:			Pci2220i_Abort,		\	reset:			Pci2220i_Reset,		\	bios_param:		Pci2220i_BiosParam,	\	can_queue:		1,			\	this_id:		-1,			\	sg_tablesize:		SG_ALL,			\	cmd_per_lun:		1,			\	present:		0,			\	unchecked_isa_dma:	0,			\	use_clustering:		DISABLE_CLUSTERING,	\	use_new_eh_code:	0			\}#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -