[Stgt-devel] [Patch 1/1] Add SCSI MEDIUM CHANGER support
Mark Harvey
markh794
Fri Jul 13 12:11:14 CEST 2007
On 7/12/07, FUJITA Tomonori <fujita.tomonori at lab.ntt.co.jp> wrote:
> From: "Mark Harvey" <markh794 at gmail.com>
> Subject: Re: [Stgt-devel] [Patch 1/1] Add SCSI MEDIUM CHANGER support
> Date: Thu, 12 Jul 2007 14:43:33 +1000
>
> > > > +static int test_slot_full(struct slot *s)
> > > > +{
> > > > + return s->status && 1;
> > > > +}
> > >
> > > ?
> > >
> > > s->status & 1;
>
> Is this correct?
>
Sorry... Missed this one.
Yes. Return status of bit 0 in the 'status' byte.
Regards
Mark
More information about the stgt
mailing list