Hello James Bottomley, This driver has nothing changed since last time submit. However recently we check the 2.6.23.1 kernel and found code is not up-to-date (still remain @2005). Resend this message to submit the same driver again. (.c diff file under atp870u.c.diff.bz2 format) Please help Acard to build in this modified SCSI driver with latest Linux kernel. If any code still volient the documentation, please let us know the reasons and file path. Thanks! James Hsu ----- Original Message ----- From: jameshsu To: postmaster@xxxxxxxxxxxxxxx Cc: 'David Miller' ; James Bottomley Sent: Thursday, March 29, 2007 3:36 PM Subject: Re: FW: [linux-scsi-owner@xxxxxxxxxxxxxxx: BOUNCElinux-scsi@xxxxxxxxxxxxxxx: - - Completed To whom can take care of this driver issues: We, Acard, modified this driver again based on James Bottomley's input 3/16/2007. In the mean time, I attach the source code with another email for James Bottomley. Those changes are: 1.Modify coding style. 2.Add old copy right. 3.CompString, ClearString, CopyString routine replaced with memcmp, memset and memcpy. 4.Remove adapters array form 2.6 kernel. 5.Removed the scsi_data_direction() hack macro.Just pass the direction directly into the functions 6.Use defined values instead of bare numbers (REQUEST_SENSE instead of 0x03) 7.Replace page_address() to get arbitrary userspace memory with kmap_atomic()/kunmap_atomic(). 8.Use SAM_STAT_CHECK_CONDITION/GOOD instead of separate #define 9.Removed home defined READ_6, WRITE_6 etc. 10.Return SCSI_MLQUEUE_HOST_BUSY on out of resources in queuecommand. Please let me know if this submission is proper. Again, relly appreciate for your help! James Hsu, Manager,QA Testing Dept. ACARD TECHNOLOGY CORP. Taipei Hsien,Taiwan 6F No78,Sec 1,Kwang Fu Road,Sang Chung, (02)8512-2290 x 2311(O),(02)8512-2548(FAX) 0968-989-555 (mobile)
Attachment:
atp870u.c.diff.bz2
Description: Binary data
Attachment:
atp870u.h.diff
Description: Binary data