Subject: Re: strangeness with atapi
To: Chuck Silvers <chuq@chuq.com>
From: enami tsugutomo <enami@sm.sony.co.jp>
List: tech-kern
Date: 09/13/2001 14:56:44
Chuck Silvers <chuq@chuq.com> writes:

> atapibus0 at pciide0 channel 1: 2 targets
> atapibus0 drive 538976288: <, MATSHITA CR-583, > type 0 direct removable not configured

I just find this while reading source.  Is this fix it?

enami.
Index: atapiconf.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/scsipi/atapiconf.c,v
retrieving revision 1.40
diff -u -r1.40 atapiconf.c
--- atapiconf.c	2001/05/14 20:35:27	1.40
+++ atapiconf.c	2001/09/13 05:54:33
@@ -318,7 +318,7 @@
 		return config_attach(&sc->sc_dev, cf, sa,
 		    atapibusprint);
 	} else {
-		atapibusprint(&sa, sc->sc_dev.dv_xname);
+		atapibusprint(sa, sc->sc_dev.dv_xname);
 		printf(" not configured\n");
 		free(periph, M_DEVBUF);
 		return NULL;