Rename other disk drivers which needed rdisk.

Delete device names from all the drivers.
Move device inslude files from include/sys to include/machine directory.
Only include files which have something useful for user layer
(like special ioctls codes) should be placed into sys.
This commit is contained in:
Serge Vakulenko
2015-09-26 23:00:13 -07:00
parent fdb295ec25
commit 5cb608d7e1
54 changed files with 119 additions and 285 deletions

View File

@@ -11,7 +11,7 @@ CFLAGS += -Werror
# Programs that live in subdirectories, and have makefiles of their own.
# /bin
SUBDIR = adb adc-demo aout ar as awk basic calendar cc chflags \
chpass cpp dc devupdate diff emg env fdisk find fold forth \
chpass cpp dc diff emg env fdisk find fold forth \
fstat glcdtest hostname id la lcc lcpp ld ls login make \
man md5 med more nm passwd pdc picoc portio printf pwm \
ranlib re renice retroforth scm sed setty sh sl smallc \

View File

@@ -1,7 +1,7 @@
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/adc.h>
#include <machine/adc.h>
#include <unistd.h>
int fd[16];