Skip to contentSkip to conversation

Problem in ncr53c8xx.c driver

PATCH Alois Fertl 1 participant 1 message Jan 3, 2000

lore
Share & tools
lore
#0 lore raw

Version revision 3.2d from 6th of Dec. crashed my ppc kernel at boot because it tries to access the nvram witin the ncr53c8xx_pci_init() function before the pointer has been correctly initialized. The patch below adds the initialization.

Alois

scsi/ncr53c8xx.c.new renamed from scsi/ncr53c8xx.c.dist +1 -0
@@ -9509,6 +9509,7 @@
 		devp = &devtbl[count];
 		devp->host_id = driver_setup.host_id;
 		devp->attach_done = 0;
+		devp->nvram = nvp;
 		if (ncr53c8xx_pci_init(tpnt, pcidev, devp)) {
 			continue;
 		}