freebsd-src/sys/scsi/uk.c
Peter Dufault a0520fbaac Reviewed by: gibbs@freefall.cdrom.com julian@freefall.cdrom.com
1. Support for fixed device configuration
2. Hoisted common code to scsi_driver
3. SCSI busses dynamically allocated at boot
4. Reorg'd for LKMs
1995-03-01 22:24:47 +00:00

46 lines
669 B
C

/*
* 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 $
*/
#include <sys/param.h>
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
SCSI_DEVICE_ENTRIES(uk)
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,
};
/*
* 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;
}