[9310] in linux-scsi channel archive
Re: How to send scsi command from kernel space ?
daemon@ATHENA.MIT.EDU (Kurt Garloff)
Mon Aug 7 08:33:20 2000
Date: Mon, 7 Aug 2000 14:28:08 +0200
From: Kurt Garloff <garloff@suse.de>
To: Sergey Vichik <SVichik@store-age.com>
Cc: Linux SCSI list <linux-scsi@vger.rutgers.edu>
Message-ID: <20000807142808.M27907@garloff.etpnet.phys.tue.nl>
Mail-Followup-To: Kurt Garloff <garloff@suse.de>,
Sergey Vichik <SVichik@store-age.com>,
Linux SCSI list <linux-scsi@vger.rutgers.edu>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-md5;
protocol="application/pgp-signature"; boundary="q8dntDJTu318bll0"
Content-Disposition: inline
In-Reply-To: <DCBFB8E1BD8BD311A94D00A0C9CA44EA0CCD21@STOREAGE_NT>; from SVichik@store-age.com on Sun, Aug 06, 2000 at 06:41:49PM +0200
--q8dntDJTu318bll0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Sun, Aug 06, 2000 at 06:41:49PM +0200, Sergey Vichik wrote:
> I need to send scsi command to device from kernel space ( not from
> any kind of scsi driver ).
> Sending scsi command from user space is very simple task : for example is=
sue
> ioctl to scsi disk,=20
> but I cannot find how it can be done from kernel space.
>=20
> Please let me know how it can be done.
Look at the INQUIRY code at the end of tmscsim.
Basically, it's half-copied from scsi.c ...
Regards,
--=20
Kurt Garloff <garloff@suse.de> Eindhoven, NL
GPG key: See mail header, key servers Linux kernel development
SuSE GmbH, Nuernberg, FRG SCSI, Security
--q8dntDJTu318bll0
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1e-SuSE (GNU/Linux)
Comment: Weitere Infos: siehe http://www.gnupg.org
iD8DBQE5jqtXxmLh6hyYd04RArURAKCzavPnkPv53VrFXtmGbtZ1kv/GUwCeMqHR
Dd/WTFCtDbM19HqwbHvGgF8=
=XOMN
-----END PGP SIGNATURE-----
--q8dntDJTu318bll0--
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@vger.rutgers.edu