Subject: Re: netbsd 2.99.9 panic on sparc64
To: Sean Davis <dive@endersgame.net>
From: enami tsugutomo <enami@but-b.or.jp>
List: port-sparc64
Date: 10/05/2004 21:46:31
> No. I only had cmdide, atabus, atapibus, and cd.

Then, try following change.

enami.

Index: wdc.c
===================================================================
RCS file: /cvsroot/src/sys/dev/ic/wdc.c,v
retrieving revision 1.213
diff -c -r1.213 wdc.c
*** wdc.c	21 Aug 2004 01:51:46 -0000	1.213
--- wdc.c	5 Oct 2004 10:09:56 -0000
***************
*** 125,138 ****
  /* A fake one, the autoconfig will print "wd at foo ... not configured */
  const struct ata_bustype wdc_ata_bustype = {
  	SCSIPI_BUSTYPE_ATA,
! 	NULL,		/* wdc_ata_bio */
! 	NULL,		/* wdc_reset_drive */
! 	NULL,		/* wdc_reset_channel */
! 	NULL,		/* wdc_exec_command */
! 	NULL,		/* ata_get_params */
! 	NULL,		/* wdc_ata_addref */
! 	NULL,		/* wdc_ata_delref */
! 	NULL		/* ata_kill_pending */
  };
  #endif
  
--- 125,138 ----
  /* A fake one, the autoconfig will print "wd at foo ... not configured */
  const struct ata_bustype wdc_ata_bustype = {
  	SCSIPI_BUSTYPE_ATA,
! 	NULL,				/* wdc_ata_bio */
! 	NULL,				/* wdc_reset_drive */
! 	wdc_reset_channel,
! 	wdc_exec_command,
! 	NULL,				/* ata_get_params */
! 	NULL,				/* wdc_ata_addref */
! 	NULL,				/* wdc_ata_delref */
! 	NULL				/* ata_kill_pending */
  };
  #endif