*BSD News Article 25847


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!cserve.cs.adfa.oz.au!wkt
From: wkt@cserve.cs.adfa.oz.au (Warren Toomey)
Subject: Finding Mitsumi (was Re: CDROM support)
Message-ID: <1994Jan12.011348.22994@sserve.cc.adfa.oz.au>
Sender: news@sserve.cc.adfa.oz.au
Organization: Australian Defence Force Academy
References: <CIzI2p.C76@sugar.NeoSoft.COM> <2gd8rc$gi@intergate.swc.cc.ca.us> <1994Jan07.054524.49510@rchland.ibm.com> <1994Jan11.035328.20854@mcshub.dcss.mcmaster.ca>
Date: Wed, 12 Jan 1994 01:13:48 GMT

In article <1994Jan11.035328.20854@mcshub.dcss.mcmaster.ca>, hfraser@maccs.mcmaster.ca (Hugh Fraser) writes:
|> Yep. I have a Mitsumi drive that also refuses to be seen. Very frustrating,
|> since mine is a "Mitsumi" Mitsumi drive. I too am anxiously awaiting a 
|> solution.  

Use the old probe code, which I've included below. Works for me :-)

	Warren

int mcd_probe(struct isa_device *dev)
{
        int port = dev->id_iobase;      
        int unit = dev->id_unit;
        int st;

        mcd_data[unit].flags = MCDPROBING;

#ifdef NOTDEF
        /* get irq/drq configuration word */
        mcd_data[unit].config = irqs[dev->id_irq]; /* | drqs[dev->id_drq];*/
#else
        mcd_data[unit].config = 0;
#endif

        /* send a reset */
        outb(port+mcd_reset, MCD_CMDRESET);
        mcd_delay(300000);

        /* get status */
        st = mcd_getstat(unit,1);
        mcd_data[unit].flags = 0;

        return (st<0) ? 0 : 4;
}


-- 

`` ... nor do I regularly post multi-kilobyte screeds about driver software I
can't release because aliens haven't used the radio receivers in my head to
give me permission yet.'' -- John F. Woods