From owner-freebsd-scsi Wed Jun 10 09:58:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA17235 for freebsd-scsi-outgoing; Wed, 10 Jun 1998 09:58:31 -0700 (PDT) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id JAA17188; Wed, 10 Jun 1998 09:58:08 -0700 (PDT) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es by polaris.we.lc.ehu.es (SMI-8.6/SMI-SVR4) id SAA04275; Wed, 10 Jun 1998 18:56:16 +0200 Message-ID: <357EBAB0.9867A333@we.lc.ehu.es> Date: Wed, 10 Jun 1998 18:56:16 +0200 From: "Jose M. Alcaide" Organization: Universidad del País Vasco - Dept. Electricidad y Electrónica X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.6-STABLE i386) MIME-Version: 1.0 To: "Daniel M. Eischen" 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 References: <199806021650.LAA15386@iworks.InterWorks.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 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