lkml.org 
[lkml]   [1996]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
SubjectFix for AHA152x on pre-2.1.0 (Re: test version of 2.1.0 available)
Date
Linus,
the enclosed patch fixes the AHA152x driver to work with your pre-2.1.0 patch.
The machine I tested it on is an IBM ThinkPad 755CX with the DockingStation II
SCSI adapter.

And: pre-2.1.0 survived 9 hours crashme.

--- aha152x.c Tue Sep 24 19:19:49 1996
+++ aha152x.c.original Wed Sep 25 06:23:03 1996
@@ -895,7 +895,7 @@
ok=0;
for(i=0; i < ADDRESS_COUNT && !ok; i++)
for(j=0; (j < SIGNATURE_COUNT) && !ok; j++)
- ok=!memcmp(phys_to_virt(addresses[i]+signatures[j].sig_offset),
+ ok=!memcmp((void *) addresses[i]+signatures[j].sig_offset,
(void *) signatures[j].signature,
(int) signatures[j].sig_length);

--
Joerg Pommnitz | joerg@raleigh.ibm.com | Never attribute to malloc
Mobile/Wireless | Dept UMRA | that which can be adequately
Tel:(919)254-6397 | Office B502/E117 | explained by stupidity.
\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.138 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site