Fix for drivers/scsi/ncr53c8xx.c in 2.1.75

Richard Gooch (rgooch@atnf.CSIRO.AU)
Mon, 22 Dec 1997 17:00:43 +1100


Hi, all. The changes to the x86 CPU information in 2.1.75 broke the
ncr53c8xx SCSI driver. The following patch seems to fix it.

Regards,

Richard....

--- ncr53c8xx.c~ Mon Sep 22 04:45:42 1997
+++ ncr53c8xx.c Mon Dec 22 16:48:07 1997
@@ -9359,8 +9359,7 @@
#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) {
+ switch(boot_cpu_data.x86) {
case 4: cache_line_size = 4; break;
case 5: cache_line_size = 8; break;
}