On Thu, 2007-02-15 at 20:15 +0800, jameshsu wrote: > Resend I'm afraid you can't send something of this size to linux-scsi ... there's a 100k limit on the mail reflector; that's why people tend to do smaller sizes or multiple patches. > Please let me know if this submition is proper. > appreciate for your help! It would still be nice to have a diff rather than the actual files. However, looking through there are still one or two fundamental problems: mDelay(3000); // wait for some ATAPI device ready Can't be in the driver ... that's a busy wait for 3s which will trip all of the soft lockup detectors if we ever hit it. Since this is supposed to be a SCSI driver, what ATAPI devices are you thinking of? There's only one SCSI<->ATA bridge I know and it was used for an obscure DVD device. Also, the type Obfuscation: typedef unsigned char UCHAR; typedef unsigned short USHORT; typedef unsigned int UINT; typedef unsigned long ULONG; typedef unsigned char * PUCHAR; typedef unsigned short * PUSHORT; typedef unsigned int * PUINT; typedef unsigned long * PULONG; typedef void * PVOID; typedef unsigned long ULONG_PTR; typedef unsigned short IOPORT; is really contrary to the linux coding style, particularly when it buys nothing other than a bigger diff in the driver. Most of this is covered in the Documentation/CodingStyle file in the kernel tree. James - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html