Remove struct dev's dc [3/3]
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 15 Sep 2015 15:47:51 +0000 (11:47 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Mon, 28 Sep 2015 19:14:00 +0000 (15:14 -0400)
commit5d778e1fd99aedbbe31ca48cc0bf5b747747f208
treebd7dc3fb93fc425ec4c236c9b1b6e27ac285b34f
parent7fb6e21101138a9d6de0d71456a21570c0ae66a6
Remove struct dev's dc [3/3]

This was the field that identified the device with one char.

For the most part, this change was just removing dc and using name in
its place for some debugging.

The tricky stuff is that devmnt and devdir were putting the dc into the
struct dir (a D), I think.  We'll see if there are any harmful effects
of that.
22 files changed:
kern/arch/x86/devarch.c
kern/drivers/dev/acpi.c
kern/drivers/dev/alarm.c
kern/drivers/dev/cons.c
kern/drivers/dev/ether.c
kern/drivers/dev/kprof.c
kern/drivers/dev/mnt.c
kern/drivers/dev/nix.c
kern/drivers/dev/pci.c
kern/drivers/dev/pipe.c
kern/drivers/dev/proc.c
kern/drivers/dev/regress.c
kern/drivers/dev/root.c
kern/drivers/dev/srv.c
kern/include/ns.h
kern/src/fdtap.c
kern/src/net/devip.c
kern/src/net/eipconv.c
kern/src/ns/chan.c
kern/src/ns/dev.c
kern/src/ns/devtab.c
kern/src/ns/sysfile.c