Subject: Re: LUNS in NetBSD SCSI Subsystem/SCSI Configuration
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Matthew Jacob <mjacob@feral.com>
List: tech-kern
Date: 12/02/1998 08:08:13
On Wed, 2 Dec 1998, Manuel Bouyer wrote:
> On Dec 2, Matthew Jacob wrote
> >
> > Mmmm... It's a lot of extra work. Personally I feel that max_target is the
> > bogus semantic.
>
> This can be discussed. But I don't think allowing a default value for
> these is a good idea, because defaults change over time.
Care to elaborate on this? The number of targets is a property of the bus.
The number of luns supported (as opposed to available) is a property of
the transport layer's (HBA's) ability to cope. In any given runstate post
configuratin I would expect neither of these to change. I mean, you don't
all of a sudden say "I feel like going from narrow to wide", or "I feel
that I have too much work to do. I think I'll stop worrying about luns
2 through 31,". If these parameters change, then a whole reconfig of that
branch of the tree has to occur, including rescan/reconfig of any target
drivers.
So- I must be misunderstanding you? Whaddya mean?
> In any case, having 2 different sementics for target and lun is not
> a good thing.
Yes, I was queasy about that a bit, but I guess you convinced me to go the
extra 3cm. for NetBSD on this.... :-)
>
> > But I'll do the max_lun if you generate a list of all HBA
> > drivers that would need this change (I have this list, but it'd be nice if
> > you sent me the list so I could see I hadn't missed anything).
>
> here is mine (just generated). I hope I didn't miss anything too :)
>
> ./arch/amiga/dev/afsc.c
> ./arch/amiga/dev/ahsc.c
> ./arch/amiga/dev/atzsc.c
> ./arch/amiga/dev/drsc.c
> ./arch/amiga/dev/empsc.c
> ./arch/amiga/dev/gtsc.c
> ./arch/amiga/dev/idesc.c
> ./arch/amiga/dev/ivsc.c
> ./arch/amiga/dev/mgnsc.c
> ./arch/amiga/dev/mlhsc.c
> ./arch/amiga/dev/otgsc.c
> ./arch/amiga/dev/wesc.c
> ./arch/amiga/dev/wstsc.c
> ./arch/amiga/dev/zssc.c
> ./arch/arm32/podulebus/asc.c
> ./arch/arm32/podulebus/cosc.c
> ./arch/arm32/podulebus/csc.c
> ./arch/arm32/podulebus/ptsc.c
> ./arch/atari/dev/ncr5380.c
> ./arch/mac68k/dev/ncr5380.c
> ./arch/mvme68k/dev/wdsc.c
> ./arch/pica/dev/asc.c
> ./arch/newsmips/dev/sc_wrap.c
> ./arch/x68k/dev/spc.c
> ./arch/x68k/dev/mha.c
> ./dev/eisa/ahb.c
> ./dev/ic/aha.c
> ./dev/ic/aic6360.c
> ./dev/ic/aic7xxx.c
> ./dev/ic/bha.c
> ./dev/ic/bhavar.h
> ./dev/ic/ncr5380sbc.c
> ./dev/ic/ncr53c9x.c
> ./dev/ic/uha.c
> ./dev/ic/isp_netbsd.c
> ./dev/ic/adv.c
> ./dev/ic/adw.c
> ./dev/isa/seagate.c
> ./dev/isa/wds.c
> ./dev/isa/nca.c
> ./dev/pci/ahc_pci.c
> ./dev/pci/ncr.c
> ./dev/tc/asc.c
>
> --
> Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
> --
>