Add wireless card.
[jmk] --rw-rw-r-- M 399900 presotto sys 27879 Sep 26 10:00 sys/src/9/pc/wavelan.c
/n/sourcesdump/2005/0926/plan9/sys/src/9/pc/wavelan.c:1263,1267 -
/n/sourcesdump/2005/0927/plan9/sys/src/9/pc/wavelan.c:1263,1268
"Instant Wireless Network PC Card",
"Avaya Wireless PC Card",
"AirLancer MC-11",
+ "INTERSIL;HFA384x/IEEE;Version 01.02;",
nil,
};
[rsc] --rw-rw-r-- M 399900 glenda sys 22681 Sep 26 16:25 sys/src/9/port/devcons.c
/n/sourcesdump/2005/0926/plan9/sys/src/9/port/devcons.c:4,9 -
/n/sourcesdump/2005/0927/plan9/sys/src/9/port/devcons.c:4,10
#include "dat.h"
#include "fns.h"
#include "../port/error.h"
+ #include "pool.h"
#include <authsrv.h>
/n/sourcesdump/2005/0926/plan9/sys/src/9/port/devcons.c:702,708 -
/n/sourcesdump/2005/0927/plan9/sys/src/9/port/devcons.c:703,709
ulong l;
Mach *mp;
char *b, *bp;
- char tmp[128]; /* must be >= 6*NUMSIZE */
+ char tmp[256]; /* must be >= 18*NUMSIZE (Qswap) */
char *cbuf = buf;
int ch, i, k, id, eol;
vlong offset = off;
/n/sourcesdump/2005/0926/plan9/sys/src/9/port/devcons.c:870,878 -
/n/sourcesdump/2005/0927/plan9/sys/src/9/port/devcons.c:871,891
return n;
case Qswap:
- sprint(tmp, "%lud/%lud memory %lud/%lud swap\n",
- palloc.user-palloc.freecount,
- palloc.user, conf.nswap-swapalloc.free, conf.nswap);
+ snprint(tmp, sizeof tmp,
+ "%lud memory\n"
+ "%d pagesize\n"
+ "%lud kernel\n"
+ "%lud/%lud user\n"
+ "%lud/%lud swap\n"
+ "%lud/%lud kernel malloc\n"
+ "%lud/%lud kernel draw\n",
+ conf.npage*BY2PG,
+ BY2PG,
+ conf.npage-conf.upages,
+ palloc.user-palloc.freecount, palloc.user,
+ conf.nswap-swapalloc.free, conf.nswap,
+ mainmem->cursize, mainmem->maxsize,
+ imagmem->cursize, imagmem->maxsize);
return readstr((ulong)offset, buf, n, tmp);
|