From owner-freebsd-bugs Sun Aug 3 14:00:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA17138 for bugs-outgoing; Sun, 3 Aug 1997 14:00:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.5/8.8.5) id OAA17111; Sun, 3 Aug 1997 14:00:02 -0700 (PDT) Date: Sun, 3 Aug 1997 14:00:02 -0700 (PDT) Message-Id: <199708032100.OAA17111@hub.freebsd.org> To: freebsd-bugs Cc: From: Stefan Esser Subject: Re: kern/4217: Tek390 driver fails with other vendor's (am53c974) SCSI Host Adapter Reply-To: Stefan Esser Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR kern/4217; it has been noted by GNATS. From: Stefan Esser To: ehm@cris.com Cc: freebsd-gnats-submit@freebsd.org Subject: Re: kern/4217: Tek390 driver fails with other vendor's (am53c974) SCSI Host Adapter Date: Sun, 3 Aug 1997 22:53:32 +0200 On Aug 2, ehm@cris.com wrote: > The problem is that the routine which defaults the eeprom settings, > "DC390_DefaultEEprom()", has a pointer bug which causes memory > corruption and fails to intialize the driver with the correct settings. > This failure causes the SCSI adapter to become unresponsive to > commands, ie. it becomes "wedged". Thanks for debugging this and sending a patch. The driver had been released by Tekram without the EEPROM "simulation", which I added to make the driver support generic AMD 53c974 chips. I relied on other people testing the driver, since I had no such controller, myself, and received several positive replies. I'll check out your suggested patch in the context of FreeBSD 2.2 and -current, and will then commit it. Regards, STefan