Adds chaninfo()
authorBarret Rhoden <brho@cs.berkeley.edu>
Wed, 29 Jan 2014 19:34:08 +0000 (11:34 -0800)
committerBarret Rhoden <brho@cs.berkeley.edu>
Wed, 29 Jan 2014 19:34:08 +0000 (11:34 -0800)
commitb0d662d7803c06427938366a8a18fa6826acc365
tree601d8f10207bae95a1d47ea14b911c3b9beec880
parent63736ada86c141eb51c5b56bd0c64ac06c8b1966
Adds chaninfo()

This is useful for debugging.  Most devices will use devchaninfo.  But
if you want to spit out extra info, take a look at ipchaninfo.

This info will show up now when we do a "procinfo pid #" from the kernel
monitor.  We could also use it from procfs in the future.
13 files changed:
kern/drivers/dev/alarm.c
kern/drivers/dev/cons.c
kern/drivers/dev/ether.c
kern/drivers/dev/mnt.c
kern/drivers/dev/pipe.c
kern/drivers/dev/proc.c
kern/drivers/dev/root.c
kern/drivers/dev/srv.c
kern/drivers/dev/vm.c
kern/include/ns.h
kern/src/net/devip.c
kern/src/ns/dev.c
kern/src/ns/sysfile.c