Re: Problems with Trantor 128 in 2.1.xx

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 28 Aug 1998 13:21:20 +0100 (BST)


> My SCSI host adapter blew up on my recently, so I dug a Trantor 128 out of
> mothballs to use until I could get a better one. But, kernel 2.1.11[78]
> (and 2.1.107) gave me an oops something like this:

I did a fix a while back but the person I sent it to never replied so its
never gone to Linus. Let me know if this works for you

diff -u --recursive --new-file --exclude-from ../exclude linux.vanilla/drivers/scsi/t128.c linux/drivers/scsi/t128.c
--- linux.vanilla/drivers/scsi/t128.c Sat Apr 11 19:13:25 1998
+++ linux/drivers/scsi/t128.c Sun Aug 23 23:39:42 1998
@@ -240,7 +240,7 @@
break;

instance = scsi_register (tpnt, sizeof(struct NCR5380_hostdata));
- instance->base = base;
+ instance->base = phys_to_virt(base);

NCR5380_init(instance, 0);

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html