Subject: Re: strangeness with atapi
To: enami tsugutomo <enami@sm.sony.co.jp>
From: Chuck Silvers <chuq@chuq.com>
List: tech-kern
Date: 09/12/2001 23:03:43
yup, that fixes it.

thanks,
-Chuck


On Thu, Sep 13, 2001 at 02:56:44PM +0900, enami tsugutomo wrote:
> 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;