Problem in ncr53c8xx.c driver

Alois Fertl alois_fertl at talknet.de
Tue Jan 4 07:24:47 EST 2000


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
-------------- next part --------------
--- drivers/scsi/ncr53c8xx.c.dist	Tue Dec 21 20:35:12 1999
+++ drivers/scsi/ncr53c8xx.c.new	Mon Jan  3 21:14:12 2000
@@ -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;
 		}


More information about the Linuxppc-dev mailing list