int atp870u_proc_info(struct Scsi_Host *HBAptr, char *buffer, char **start, off_t offset, int length, int inout) 
static int atp870u_proc_info(struct Scsi_Host *HBAptr, char *buffer, char **start, off_t offset, int length, int inout) 
int atp870u_proc_info(struct Scsi_Host *HBAptr, char *buffer, 		      char **start, off_t offset, int length, int inout){	static u8 buff[512];	int size = 0;	int len = 0;	off_t begin = 0;	off_t pos = 0;		if (inout) 			return -EINVAL;	if (offset == 0)		memset(buff, 0, sizeof(buff));	size += sprintf(BLS, "ACARD AEC-671X Driver Version: 2.6+ac\n");	len += size;	pos = begin + len;	size = 0;	size += sprintf(BLS, "\n");	size += sprintf(BLS, "Adapter Configuration:\n");	size += sprintf(BLS, "               Base IO: %#.4lx\n", HBAptr->io_port);	size += sprintf(BLS, "                   IRQ: %d\n", HBAptr->irq);	len += size;	pos = begin + len;		*start = buffer + (offset - begin);	/* Start of wanted data */	len -= (offset - begin);	/* Start slop */	if (len > length) {		len = length;	/* Ending slop */	}	return (len);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/420b4a73de8e36f0da486056189da66b0a164398/atp870u.c/clean/drivers/scsi/atp870u.c