|
DataMuseum.dkPresents historical artifacts from the history of: Regnecentalen RC-900 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Regnecentalen RC-900 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 2376 (0x948) Types: TextFile Notes: UNIX file Names: »space.c«
└─⟦fdc69b24d⟧ Bits:30004152 SW95705I 386/ix Multi User Update 1 └─⟦fdc69b24d⟧ UNIX Filesystem └─⟦this⟧ »U1/new/etc/atconf/modules/tape/space.c«
/* Copyrighted as an unpublished work. * (c) Copyright 1988 INTERACTIVE Systems Corporation * All rights reserved. * * RESTRICTED RIGHTS * * These programs are supplied under a license. They may be used, * disclosed, and/or copied only as permitted under such license * agreement. Any copy must contain the above copyright notice and * this restricted rights notice. Use, copying, and/or disclosure * of the programs is strictly prohibited unless otherwise provided * in the license agreement. * "@(#)space.c 1.2 - 88/08/08" */ #include "sys/types.h" #include "sys/param.h" #include "sys/sysmacros.h" #include "sys/buf.h" #include "sys/elog.h" #include "sys/iobuf.h" #include "sys/vtoc.h" #include "sys/alttbl.h" #include "sys/gendev.h" #include "sys/gentape.h" #include "sys/athd.h" #include "sys/gramd.h" #include "sys/errno.h" #include "sys/kdef.h" #include "sys/aha1540.h" #include "config.h" /* In case user wants to override defaults */ /* The actual configuration table */ struct gdev_cfg_entry tape_cfg_tbl[] = { { "Adaptec AHA-1540 SCSI Host Adapter", /* Controller Name */ (CCAP_NOSEEK | CCAP_RETRY | CCAP_ERRCOR | CCAP_MULTI | CCAP_DMA | CCAP_SHARED), /* capabilities */ 0L, /* No memory address */ 0L, /* No memory address */ 0x330, /* I/O space addresses */ 0, /* No I/O space addresses */ 6, /* First-party DMA */ 0, /* No DMA */ 255, /* Max sector count */ 4, /* Up to 4 drives */ 0, /* no drive switch delay */ 0, /* Start at minormap entry 0 (minor dev 0) */ 512, /* Default sector size (all you get on AT) */ aha_tpbdinit, /* init board function */ aha_tpdinit, /* init drive function */ aha_cmd, /* command function */ NULL, /* no open function */ NULL, /* no close function */ aha_mastint, /* Master interrupt handler */ { /* Interrupt entries */ 15, aha_tapeint,/* First Hardware Interrupt */ }, { /* Special IOCTL handlers */ 0, /* None present */ }, }, }; ushort tape_cfg_entries = sizeof(tape_cfg_tbl)/sizeof(struct gdev_cfg_entry);