advansys.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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. #ifndef _ADVANSYS_H
  18. #define _ADVANSYS_H
  19. /*
  20. * struct scsi_host_template function prototypes.
  21. */
  22. int advansys_detect(struct scsi_host_template *);
  23. int advansys_release(struct Scsi_Host *);
  24. const char *advansys_info(struct Scsi_Host *);
  25. int advansys_queuecommand(struct scsi_cmnd *, void (* done)(struct scsi_cmnd *));
  26. int advansys_reset(struct scsi_cmnd *);
  27. int advansys_biosparam(struct scsi_device *, struct block_device *,
  28. sector_t, int[]);
  29. static int advansys_slave_configure(struct scsi_device *);
  30. /* init/main.c setup function */
  31. void advansys_setup(char *, int *);
  32. #endif /* _ADVANSYS_H */