| plan 9 kernel history: overview | file list | diff list |
1991/0112/port/devwren.c (diff list | history)
| 1991/0112/sys/src/9/port/devwren.c:7,14 – 1991/0115/sys/src/9/port/devwren.c:7,12 (short | long | prev | next) | ||
| 1991/0110 | #include "devtab.h" #include "io.h" | |
| 1991/0112 | typedef struct Part Part; typedef struct Disk Disk; | |
| 1991/0112/sys/src/9/port/devwren.c:39,47 – 1991/0115/sys/src/9/port/devwren.c:37,47 | ||
| 1991/0110 | ||
| 1991/0112 | static Disk wren[Ndisk]; | |
| 1991/0110 | ||
| 1991/0112 |
| |
| 1991/0115 | static Scsi staticcmd; /* BUG */ static uchar datablk[BY2PG]; /* BUG */ | |
| 1991/0112 | ||
| 1991/0115 | #define BGLONG(p) (((((((p)[0]<<8)|(p)[1])<<8)|(p)[2])<<8)|(p)[3]) | |
| 1991/0110 | /* * accepts [0-7].[0-7], or abbreviation */ | |
| 1991/0112/sys/src/9/port/devwren.c:108,114 – 1991/0115/sys/src/9/port/devwren.c:108,114 | ||
| 1991/0112 | p->qid.path = Qdata + i; p->perm = 0600; p++->length = 0; | |
| 1991/0115 | sprint(p->name, "struct%d", i); | |
| 1991/0112 | p->qid.path = Qstruct + i; p->perm = 0600; p++->length = 0; | |