Hi Jeff,
Change: pdc2027x: add ata_scsi_ioctl.
Attached please find the patch 1/4 against the libata-dev-2.6 tree for your review. Thanks.
Albert
Signed-off-by: Albert Lee <[EMAIL PROTECTED]>
--- libata-dev-2.6/drivers/scsi/pata_pdc2027x.c 2005-04-11 09:45:37.000000000
+0800
+++ libata-dev-2.6-058/drivers/scsi/pata_pdc2027x.c 2005-04-11
09:41:50.000000000 +0800
@@ -29,7 +29,7 @@
#include <asm/io.h>
#define DRV_NAME "pata_pdc2027x"
-#define DRV_VERSION "0.57"
+#define DRV_VERSION "0.58"
#undef PDC_DEBUG
#ifdef PDC_DEBUG
@@ -115,6 +115,7 @@
static Scsi_Host_Template pdc2027x_sht = {
.module = THIS_MODULE,
.name = DRV_NAME,
+ .ioctl = ata_scsi_ioctl,
.queuecommand = ata_scsi_queuecmd,
.eh_strategy_handler = ata_scsi_error,
.can_queue = ATA_DEF_QUEUE,
@@ -450,6 +451,7 @@
if (cmd->request_bufflen % 256)
rc = 1;
+ PDPRINTK("request_bufflen %d, rc %d\n", cmd->request_bufflen, rc);
return rc;
}
