Date: Tue, 3 Apr 2007 10:08:06 +0200 From: Roman Divacky <rdivacky@freebsd.org> To: scsi@freebsd.org Subject: question about fbsd scsi layer Message-ID: <20070403080806.GA60720@freebsd.org>
next in thread | raw e-mail | index | archive | help
hi I am trying to port some semi-driver for linux sg device from netbsd to freebsd (in linux emulation layer) and it uses scsi. the netbsd code looks basically like this: struct scsireq req; req.flags = SCCMD_WRITE; req.cmd = cmd; ...further initialization of req... ioctl(fp, SCIOCCOMAND, &req, td); return req to userland; I don't understand how to do this in FreeBSD, we don't have SCIOCCOMAND etc. can you point me in the right way? thnx roman p.s. please CC me as I am not subscribed to this ml
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070403080806.GA60720>