1993-11-18 05:03:27 +00:00
|
|
|
/*
|
1995-03-01 22:24:47 +00:00
|
|
|
* Driver for a device we can't identify.
|
1993-11-18 05:03:27 +00:00
|
|
|
* by Julian Elischer (julian@tfs.com)
|
|
|
|
*
|
1995-03-01 22:24:47 +00:00
|
|
|
* $Id: uk.c,v 1.6 1995/01/08 13:38:38 dufault Exp $
|
1993-11-18 05:03:27 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <sys/param.h>
|
|
|
|
#include <scsi/scsi_all.h>
|
|
|
|
#include <scsi/scsiconf.h>
|
|
|
|
|
1995-03-01 22:24:47 +00:00
|
|
|
SCSI_DEVICE_ENTRIES(uk)
|
|
|
|
|
1993-11-18 05:03:27 +00:00
|
|
|
struct scsi_device uk_switch =
|
|
|
|
{
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
NULL,
|
|
|
|
"uk",
|
|
|
|
0,
|
1995-03-01 22:24:47 +00:00
|
|
|
{0, 0},
|
|
|
|
SDEV_ONCE_ONLY, /* Only one open allowed */
|
|
|
|
ukattach,
|
|
|
|
ukopen,
|
|
|
|
0,
|
|
|
|
T_UNKNOWN,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
|
|
|
0,
|
1994-12-16 06:03:28 +00:00
|
|
|
};
|
1993-11-18 05:03:27 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* The routine called by the low level scsi routine when it discovers
|
|
|
|
* a device suitable for this driver.
|
|
|
|
*/
|
|
|
|
errval
|
1995-03-01 22:24:47 +00:00
|
|
|
ukattach(struct scsi_link *sc_link)
|
1993-11-18 05:03:27 +00:00
|
|
|
{
|
1995-03-01 22:24:47 +00:00
|
|
|
printf("unknown device\n");
|
1993-11-18 05:03:27 +00:00
|
|
|
|
|
|
|
return 0;
|
|
|
|
}
|