Following patch fixes the ncr 53c8xx driver in the latest 2.1.57 kernel.
*** linux/drivers/scsi/ncr53c8xx.c.orig Tue Dec 23 00:41:07 1997
--- linux/drivers/scsi/ncr53c8xx.c Tue Dec 23 00:39:46 1997
***************
*** 112,117 ****
--- 112,118 ----
#include <asm/dma.h>
#include <asm/io.h>
#include <asm/system.h>
+ #include <asm/processor.h>
#include <linux/delay.h>
#include <linux/signal.h>
#include <linux/sched.h>
*************** static int ncr53c8xx_pci_init(Scsi_Host_
*** 9359,9366 ****
#if defined(__i386) && !defined(MODULE)
if ((driver_setup.pci_fix_up & 1) &&
(chip->features & FE_CLSE) && cache_line_size == 0) {
! extern char x86;
! switch(x86) {
case 4: cache_line_size = 4; break;
case 5: cache_line_size = 8; break;
}
--- 9360,9366 ----
#if defined(__i386) && !defined(MODULE)
if ((driver_setup.pci_fix_up & 1) &&
(chip->features & FE_CLSE) && cache_line_size == 0) {
! switch(boot_cpu_data.x86) {
case 4: cache_line_size = 4; break;
case 5: cache_line_size = 8; break;
}
Amitay.
--Reality is a nice place to visit, but I sure would not want to live there.