X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fscsi%2Fpsi240i.c;h=03df5b630cd9add45eaa3a23cbb3e0ce88c974e4;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=6bb14acbf70b37c0b38eebd0c6569dd93063a283;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/drivers/scsi/psi240i.c b/drivers/scsi/psi240i.c index 6bb14acbf..03df5b630 100644 --- a/drivers/scsi/psi240i.c +++ b/drivers/scsi/psi240i.c @@ -41,7 +41,7 @@ #include #include #include "scsi.h" -#include "hosts.h" +#include #include "psi240i.h" #include "psi_chip.h" @@ -641,41 +641,6 @@ static int Psi240i_Release(struct Scsi_Host *shost) return 0; } -/**************************************************************** - * Name: Psi240i_Abort - * - * Description: Process the Abort command from the SCSI manager. - * - * Parameters: SCpnt - Pointer to SCSI command structure. - * - * Returns: Allways snooze. - * - ****************************************************************/ -int Psi240i_Abort (Scsi_Cmnd *SCpnt) - { - DEB (printk ("psi240i_abort\n")); - return SCSI_ABORT_SNOOZE; - } -/**************************************************************** - * Name: Psi240i_Reset - * - * Description: Process the Reset command from the SCSI manager. - * - * Parameters: SCpnt - Pointer to SCSI command structure. - * flags - Flags about the reset command - * - * Returns: No active command at this time, so this means - * that each time we got some kind of response the - * last time through. Tell the mid-level code to - * request sense information in order to decide what - * to do next. - * - ****************************************************************/ -int Psi240i_Reset (Scsi_Cmnd *SCpnt, unsigned int reset_flags) - { - return SCSI_RESET_PUNT; - } - /**************************************************************** * Name: Psi240i_BiosParam * @@ -710,8 +675,6 @@ static Scsi_Host_Template driver_template = { .detect = Psi240i_Detect, .release = Psi240i_Release, .queuecommand = Psi240i_QueueCommand, - .abort = Psi240i_Abort, - .reset = Psi240i_Reset, .bios_param = Psi240i_BiosParam, .can_queue = 1, .this_id = -1,