Subject: Re: Heads up: new ahc driver committed
To: None <fvdl@netbsd.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: current-users
Date: 04/21/2003 01:35:51
In article <20030420174613.A9951@vaasje.org>
fvdl@netbsd.org wrote:

> Could you update ahc_eisa.c and try again? I forgot to add a call
> to an initialization that would probably cause it to hang in
> ahc_reset().

Hmm, not good yet:
---
pceb0 at pci0 dev 15 function 0
pceb0: Compaq PCI-EISA Bridge (rev. 0x03)
eisa0 at pceb0
ahc0 at eisa0 slot 1: Adaptec AHA-274x SCSI
ahc0: level sensitive interrupting at irq 11
(null): aic7770 >= Rev E, uvm_fault(0xc04fe8a0, 0x0, 0, 1) -> e
kernel: page fault trap, code=0
Stopped in pid 0.1 (swapper) at ahc_createdmamem+0x2e:  movl    0x24(%edi),%eax
db> trace
ahc_createdmamem(0,200,0,c079830c,c07982b4) at ahc_createdmamem+0x2e
ahc_init(c0798000,0,c03bfb89,c025fdd9,c0798000) at ahc_init+0x77
ahc_aic77xx_attach(c0798000,c079801c,c04a5f30,c04f4d9c,c04c4f58) at ahc_aic77xx_attach+0x161
ahc_eisa_attach(c07c2dc0,c0798000,c0587ca0,c0259ee5,c0798000) at ahc_eisa_attach+0x36d
config_attach(c07c2dc0,c04c3b1c,c0587ca0,c0368600,c0587cb6) at config_attach+0x35d
 :
---

More initialization is needed for ahc_softc?
At least ahc_name(ahc) in aic77xx.c returns (null),
so ahc_set_name() is also needed in attachments.
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp