Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | /* |
| 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 Hellwig | d0be4a7d | 2005-10-31 18:31:40 +0100 | [diff] [blame] | 22 | * struct scsi_host_template function prototypes. |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 23 | */ |
| 24 | int advansys_detect(struct scsi_host_template *); |
| 25 | int advansys_release(struct Scsi_Host *); |
| 26 | const char *advansys_info(struct Scsi_Host *); |
| 27 | int advansys_queuecommand(struct scsi_cmnd *, void (* done)(struct scsi_cmnd *)); |
| 28 | int advansys_reset(struct scsi_cmnd *); |
| 29 | int advansys_biosparam(struct scsi_device *, struct block_device *, |
| 30 | sector_t, int[]); |
| 31 | static int advansys_slave_configure(struct scsi_device *); |
| 32 | |
| 33 | /* init/main.c setup function */ |
| 34 | void advansys_setup(char *, int *); |
| 35 | |
| 36 | #endif /* _ADVANSYS_H */ |