Date: Sun, 21 Mar 1999 19:25:48 -0500 (EST) From: "Matthew N. Dodd" <winter@jurai.net> To: "Justin T. Gibbs" <gibbs@plutotech.com> Cc: scsi@FreeBSD.org Subject: Re: CAM entry point for SCSI-to-Ethernet device. Message-ID: <Pine.BSF.4.02.9903211917520.2158-100000@sasami.jurai.net> In-Reply-To: <199903191941.MAA12517@pluto.plutotech.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 19 Mar 1999, Justin T. Gibbs wrote: > >Seems kind of redundant. Unless of course CAM does this: > > > ><Cabletrn EA412/EA419 R 0100> at scbus2 target 5 lun 0 (pass15,pt0,se0) > > > >Which I hope it does. > > Which is what it will do. Indeed it did. (camcontrol devlist) <Cabletrn EA412/EA419 R 0100> at scbus2 target 5 lun 0 (se0,pass15,pt0) (dmesg) pt0 at dpt0 bus 0 target 5 lun 0 pt0: <Cabletrn EA412/EA419 R 0100> Fixed Processor SCSI-0 device se0 at dpt0 bus 0 target 5 lun 0 se0: <Cabletrn EA412/EA419 R 0100> Fixed Processor SCSI-0 device se0: Ethernet address: 00:00:1d:08:23:0c (ifconfig) se0: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> mtu 1500 inet 10.10.10.10 netmask 0xffffff00 broadcast 10.10.10.255 ether 00:00:1d:08:23:0c Is there any way to issue multiple CCBs when I'm in XXstart? Currently I'm running the 'get_addr' command but would like to issue the 'add_proto' commands to enable IP etc (though the NetBSD driver adds protocols in the if IOCTL routine which I suppose I could do as well. Any reason I might see a panic in cam_periph_getccb() when called from XXregister()? (Actually the panic was in tsleep()). I attribute this to the device not actually having completed the XXregister routine and returning CAM_REQ_CMP. Is this the case? I'm not sure I completly understand the role of XXstart and XXdone. Am I to understand that all CCBs are dispatched and completed via these routines? Thanks. -- | Matthew N. Dodd | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS | | winter@jurai.net | This Space For Rent | ix86,sparc,m68k,pmax,vax | | http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage? | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.02.9903211917520.2158-100000>