freebsd_amp_hwpstate/sys/scsi/uk.c

47 lines
669 B
C
Raw Normal View History

1993-11-18 05:03:27 +00:00
/*
* Driver for a device we can't identify.
1993-11-18 05:03:27 +00:00
* by Julian Elischer (julian@tfs.com)
*
* $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>
SCSI_DEVICE_ENTRIES(uk)
1993-11-18 05:03:27 +00:00
struct scsi_device uk_switch =
{
NULL,
NULL,
NULL,
NULL,
"uk",
0,
{0, 0},
SDEV_ONCE_ONLY, /* Only one open allowed */
ukattach,
ukopen,
0,
T_UNKNOWN,
0,
0,
0,
0,
0,
0,
};
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
ukattach(struct scsi_link *sc_link)
1993-11-18 05:03:27 +00:00
{
printf("unknown device\n");
1993-11-18 05:03:27 +00:00
return 0;
}