diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-06-25 17:58:50 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-25 19:25:00 -0400 |
commit | a2ba192c96d12447472e105890a9cd1b97952747 (patch) | |
tree | 715558098846e2a3257cd2d1384135b4c98a1f9f /drivers/scsi/initio.h | |
parent | 09417379be9b126e10ae7dcd7afc20b666146266 (diff) |
[PATCH] drivers/scsi/initio.c: cleanups
This patch contains the following cleanups:
- make needlessly global code static
- remove or #if 0 the following unused functions:
- tul_pop_pend_scb
- tul_device_reset
- tul_reset_scsi_bus
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/scsi/initio.h')
-rw-r--r-- | drivers/scsi/initio.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/scsi/initio.h b/drivers/scsi/initio.h index df3ed7c1cee3..3efb1184fc39 100644 --- a/drivers/scsi/initio.h +++ b/drivers/scsi/initio.h | |||
@@ -719,21 +719,3 @@ typedef struct _HCSinfo { | |||
719 | #define SCSI_RESET_HOST_RESET 0x200 | 719 | #define SCSI_RESET_HOST_RESET 0x200 |
720 | #define SCSI_RESET_ACTION 0xff | 720 | #define SCSI_RESET_ACTION 0xff |
721 | 721 | ||
722 | extern void init_i91uAdapter_table(void); | ||
723 | extern int Addi91u_into_Adapter_table(WORD, WORD, BYTE, BYTE, BYTE); | ||
724 | extern int tul_ReturnNumberOfAdapters(void); | ||
725 | extern void get_tulipPCIConfig(HCS * pHCB, int iChannel_index); | ||
726 | extern int init_tulip(HCS * pHCB, SCB * pSCB, int tul_num_scb, BYTE * pbBiosAdr, int reset_time); | ||
727 | extern SCB *tul_alloc_scb(HCS * pHCB); | ||
728 | extern int tul_abort_srb(HCS * pHCB, struct scsi_cmnd * pSRB); | ||
729 | extern void tul_exec_scb(HCS * pHCB, SCB * pSCB); | ||
730 | extern void tul_release_scb(HCS * pHCB, SCB * pSCB); | ||
731 | extern void tul_stop_bm(HCS * pHCB); | ||
732 | extern int tul_reset_scsi(HCS * pCurHcb, int seconds); | ||
733 | extern int tul_isr(HCS * pHCB); | ||
734 | extern int tul_reset(HCS * pHCB, struct scsi_cmnd * pSRB, unsigned char target); | ||
735 | extern int tul_reset_scsi_bus(HCS * pCurHcb); | ||
736 | extern int tul_device_reset(HCS * pCurHcb, struct scsi_cmnd *pSrb, | ||
737 | unsigned int target, unsigned int ResetFlags); | ||
738 | /* ---- EXTERNAL VARIABLES ---- */ | ||
739 | extern HCS tul_hcs[]; | ||