[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] scsidrv and InquireSCSI()



Hello!

> I'm working with someone (beta testing) who is trying to create an .XIF
> driver for the Dayna SCSI/Link ethernet adapters.  We have ran into a
> problem, perhaps someone here has the answer.
>
> The problem is InquireSCSI() returns -32 within the .XIF.
> >From the desktop all the test programs work, even InquireSCSI().  From
> looking at the mint source tree I can see that the kernal replaces the SCSI
> cookie with it's own and/or emulates the scsidrv.  Does one have to call
> these routines in a special mode from an .XIF?

>From within the kernel you can't go over the userspace designated
interface (the replaced cookie). You need either to call the kernel
routines directly (not exported to an XIF at the moment or, as temporary
solution, simply go over the old TOS cookie [see get_toscookie,
should be in kerinfo]).


Tschuess
   ...Frank

--
ATARI FALCON 040 // MILAN 060
-----------------------------------------
http://www.cs.uni-magdeburg.de/~fnaumann/
e-Mail: fnaumann@freemint.de