Date: Wed, 10 Jun 1998 18:56:16 +0200 From: "Jose M. Alcaide" <jose@we.lc.ehu.es> To: "Daniel M. Eischen" <deischen@iworks.InterWorks.org> Cc: owner-freebsd-scsi@FreeBSD.ORG, borjam@we.lc.ehu.es, freebsd-scsi@FreeBSD.ORG, gibbs@plutotech.com, gpalmer@FreeBSD.ORG Subject: Re: AHC: "cheksum error" reading SEEPROM with Iwill PIILS mb Message-ID: <357EBAB0.9867A333@we.lc.ehu.es> References: <199806021650.LAA15386@iworks.InterWorks.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Daniel M. Eischen wrote: > > > > 808e 808e 808e 808e 862d bfc0 bfff bfff bfff bfff bfff bfff bfff > > > bfff bfff bfff bfff bfff bfff bfff bfff bfff bfff bfff bfff bfff > > > bfff bfff bfff bfff bfff > > > > > >Strange, isn't it? > > > > I would have expected either valid SEEPROM contents or all ff's indicating > > that the SEEPROM is not present. Did you find a 93cx6 chip on the MB? > > It might be a 93C56 or 93C66 (64 words) with the checksum at the end. > > You might want to change the driver so that if the C46 seeprom read > fails, it tries to read the C56/C66 seeprom. Instead of basing the > SEEPROM type on the controller type... > I asked Iwill about the SEEPROM type on the PIILS motherboard. They answered that the PIILS has a serial EEPROM, and that it's a 93c56. As Daniel Eischen suggested, I "forced" this SEEPROM type in pci/aic7870.c and... bingo!!! Now the SEEPROM is correctly read: ahc0 <Adaptec aic7880 Ultra SCSI host adapter> rev 0 int a irq 9 on pci0:20:0 mapreg[10] type=1 addr=00006400 size=0100. mapreg[14] type=0 addr=f0000000 size=1000. reg20: virtual=0xf50e6000 physical=0xf0000000 size=0x1000 ahc0: Reading SEEPROM...done. low byte termination enabled, high byte termination enabled ahc0: aic7880 Wide Channel, SCSI Id=7, 16/255 SCBs ahc0: Resetting Channel A ahc0: Downloading Sequencer Program...ahc0: 416 instructions downloaded Done ahc0: Probing channel A ahc0 waiting for scsi devices to settle ahc0: target 0 using 16Bit transfers ahc0: target 0 synchronous at 20.0MHz, offset = 0x8 ahc0: target 0 Tagged Queuing Device It works!! And the Ultra SCSI speed is now enabled. Thank you very much!!! Now, should I open a PR about this problem? I think that pci/aic7870.c could be patched. I don't know if CAM has this problem with the SEEPROM type. -- JM ----------------------------------------------------------------------- Jose M. Alcaide | mailto:jose@we.lc.ehu.es Universidad del Pais Vasco | http://www.we.lc.ehu.es/~jose Dpto. de Electricidad y Electronica | Facultad de Ciencias - Campus de Lejona | Tel.: +34-944647700 x2624 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-944858139 ----------------------------------------------------------------------- "Go ahead... make my day." - H. Callahan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?357EBAB0.9867A333>