Plan 9 from Bell Labs 1993-01-19
1 files changed, 3 insertions(+), 1 deletions(-) M pc/adaptec.c
M pc/adaptec.c => pc/adaptec.c +3 -1
@@ 367,8 367,10 @@ scsiio(int bus, Scsi *p, int rw) int scsiexec(Scsi *p, int rw) { - USED(rw); + Ctlr *ctlr = &softctlr[0]; + if(ctlr->port == 0) + error(Enodev); if(p->target == CtlrID) return 0x6002;