blob: 8ee7fb16a7257330a91a412b7307e353e605df73 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001/*
2 * advansys.h - Linux Host Driver for AdvanSys SCSI Adapters
3 *
4 * Copyright (c) 1995-2000 Advanced System Products, Inc.
5 * Copyright (c) 2000-2001 ConnectCom Solutions, Inc.
6 * All Rights Reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that redistributions of source
10 * code retain the above copyright notice and this comment without
11 * modification.
12 *
13 * As of March 8, 2000 Advanced System Products, Inc. (AdvanSys)
14 * changed its name to ConnectCom Solutions, Inc.
15 *
16 */
17
18#ifndef _ADVANSYS_H
19#define _ADVANSYS_H
20
21/*
Christoph Hellwigd0be4a7d2005-10-31 18:31:40 +010022 * struct scsi_host_template function prototypes.
Linus Torvalds1da177e2005-04-16 15:20:36 -070023 */
24int advansys_detect(struct scsi_host_template *);
25int advansys_release(struct Scsi_Host *);
26const char *advansys_info(struct Scsi_Host *);
27int advansys_queuecommand(struct scsi_cmnd *, void (* done)(struct scsi_cmnd *));
28int advansys_reset(struct scsi_cmnd *);
29int advansys_biosparam(struct scsi_device *, struct block_device *,
30 sector_t, int[]);
31static int advansys_slave_configure(struct scsi_device *);
32
33/* init/main.c setup function */
34void advansys_setup(char *, int *);
35
36#endif /* _ADVANSYS_H */