[Stgt-devel] vtl patch.
Mark Harvey
markh794
Thu Apr 5 04:36:21 CEST 2007
On 4/5/07, Ming Zhang <blackmagic02881 at gmail.com> wrote:
>
> On Thu, 2007-04-05 at 09:56 +1000, Mark Harvey wrote:
> > + .ops = {
> > + {spc_test_unit,},
> > + {spc_illegal_op,},
> > + {spc_illegal_op,},
> > + {spc_request_sense,},
> > + {spc_illegal_op,},
> > + {spc_illegal_op,},
> > + {spc_illegal_op,},
> > + {spc_illegal_op,},
> > +
> > + {spc_illegal_op,},
> > + {spc_illegal_op,},
> > + {spc_illegal_op,},
>
> instead of having tons of these spc_illegal_op, can we have them by
> default to be NULL and the caller check if NULL, if NULL call
> spc_illegal_op directly?
>
I basically copied the sbc.c module and followed its syntax, and
called/set all un-implemented routines to spc_illegal_op for the time
being.
But I like your suggestion.
Cheers
Mark
More information about the stgt
mailing list