diff options
author | dufault <dufault@FreeBSD.org> | 1995-03-04 20:51:10 +0000 |
---|---|---|
committer | dufault <dufault@FreeBSD.org> | 1995-03-04 20:51:10 +0000 |
commit | caa91d7b29df7b209af9699dd4f38031136d1b0d (patch) | |
tree | 08e7e0728f4cbe050b6439ba8c037dc43bf00e8e /sys/scsi/uk.c | |
parent | 504389ec944dd6925d07e290d3aa2f23ccb14153 (diff) | |
download | FreeBSD-src-caa91d7b29df7b209af9699dd4f38031136d1b0d.zip FreeBSD-src-caa91d7b29df7b209af9699dd4f38031136d1b0d.tar.gz |
1. Change driver signatures to full signature for slice support.
2. Add "pt" (processor type) driver.
3. Add "worm" (Write Once) driver for Jordan.
Diffstat (limited to 'sys/scsi/uk.c')
-rw-r--r-- | sys/scsi/uk.c | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/sys/scsi/uk.c b/sys/scsi/uk.c index 0f21110..d3c3506 100644 --- a/sys/scsi/uk.c +++ b/sys/scsi/uk.c @@ -2,7 +2,10 @@ * Driver for a device we can't identify. * by Julian Elischer (julian@tfs.com) * - * $Id: uk.c,v 1.6 1995/01/08 13:38:38 dufault Exp $ + * $Id: uk.c,v 1.7 1995/03/01 22:24:47 dufault Exp $ + * + * If you find that you are adding any code to this file look closely + * at putting it in "scsi_driver.c" instead. */ #include <sys/param.h> @@ -21,7 +24,8 @@ struct scsi_device uk_switch = 0, {0, 0}, SDEV_ONCE_ONLY, /* Only one open allowed */ - ukattach, + 0, + "Unknown", ukopen, 0, T_UNKNOWN, @@ -32,15 +36,3 @@ struct scsi_device uk_switch = 0, 0, }; - -/* - * The routine called by the low level scsi routine when it discovers - * a device suitable for this driver. - */ -errval -ukattach(struct scsi_link *sc_link) -{ - printf("unknown device\n"); - - return 0; -} |