From owner-cvs-sys Sat Jan 31 20:14:44 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA08415 for cvs-sys-outgoing; Sat, 31 Jan 1998 20:14:44 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA08214; Sat, 31 Jan 1998 20:13:19 -0800 (PST) (envelope-from wollman@FreeBSD.org) From: Garrett Wollman Received: (from wollman@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id UAA03294; Sat, 31 Jan 1998 20:13:14 -0800 (PST) Date: Sat, 31 Jan 1998 20:13:14 -0800 (PST) Message-Id: <199802010413.UAA03294@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/scsi scsi_ioctl.c src/sys/sys scsiio.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 1998/01/31 20:13:14 PST Modified files: sys/scsi scsi_ioctl.c sys/sys scsiio.h Log: Add a new ioctl, SCSIOCGETDEVINFO, which takes a device ID and uses it to look up information about that device. Right now, all it does is give back the dev_t for the device, if known, since that's all I needed, but hopefully the SCSI mavens will come up with a more generally useful structure. Revision Changes Path 1.28 +16 -2 src/sys/scsi/scsi_ioctl.c 1.9 +9 -1 src/sys/sys/scsiio.h