summaryrefslogtreecommitdiffstats
path: root/sys/scsi/uk.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-01-20 15:05:55 +0000
committerjoerg <joerg@FreeBSD.org>1996-01-20 15:05:55 +0000
commitfb3b6ba3b03063c224a9ffc657d1bbe6d55e8c33 (patch)
tree014abe66202dadace9fd5e67b4b269fa7e4e0462 /sys/scsi/uk.c
parent67ab82dff8bcc3226fa4300bd7522d7d641979aa (diff)
downloadFreeBSD-src-fb3b6ba3b03063c224a9ffc657d1bbe6d55e8c33.zip
FreeBSD-src-fb3b6ba3b03063c224a9ffc657d1bbe6d55e8c33.tar.gz
Make the "uk" device usable again. The open() always failed due to an internal driver
design problem.
Diffstat (limited to 'sys/scsi/uk.c')
-rw-r--r--sys/scsi/uk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/uk.c b/sys/scsi/uk.c
index f144e48..03c9822 100644
--- a/sys/scsi/uk.c
+++ b/sys/scsi/uk.c
@@ -2,7 +2,7 @@
* Driver for a device we can't identify.
* by Julian Elischer (julian@tfs.com)
*
- * $Id: uk.c,v 1.12 1995/12/08 11:19:03 julian Exp $
+ * $Id: uk.c,v 1.13 1995/12/08 23:22:30 phk Exp $
*
* If you find that you are adding any code to this file look closely
* at putting it in "scsi_driver.c" instead.
@@ -40,7 +40,7 @@ struct scsi_device uk_switch =
"uk",
0,
{0, 0},
- SDEV_ONCE_ONLY, /* Only one open allowed */
+ SDEV_ONCE_ONLY|SDEV_UK, /* Only one open allowed */
0,
"Unknown",
ukopen,
OpenPOWER on IntegriCloud