projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changes for char dev uio'ing
[unix-history]
/
usr
/
src
/
sys
/
vax
/
uba
/
up.c
diff --git
a/usr/src/sys/vax/uba/up.c
b/usr/src/sys/vax/uba/up.c
index
5acc5ec
..
16901b7
100644
(file)
--- a/
usr/src/sys/vax/uba/up.c
+++ b/
usr/src/sys/vax/uba/up.c
@@
-1,4
+1,4
@@
-/* up.c 4.5
6 82/07/15
*/
+/* up.c 4.5
7 82/08/13
*/
#include "up.h"
#if NSC > 0
#include "up.h"
#if NSC > 0
@@
-26,6
+26,7
@@
#include "../h/ubavar.h"
#include "../h/ubareg.h"
#include "../h/cmap.h"
#include "../h/ubavar.h"
#include "../h/ubareg.h"
#include "../h/cmap.h"
+#include "../h/uio.h"
#include "../h/upreg.h"
#include "../h/upreg.h"
@@
-656,15
+657,16
@@
doattn:
upaddr->upcs1 = UP_IE;
}
upaddr->upcs1 = UP_IE;
}
-upread(dev)
+upread(dev
, uio
)
dev_t dev;
dev_t dev;
+ struct uio *uio;
{
register int unit = minor(dev) >> 3;
if (unit >= NUP)
u.u_error = ENXIO;
else
{
register int unit = minor(dev) >> 3;
if (unit >= NUP)
u.u_error = ENXIO;
else
- physio(upstrategy, &rupbuf[unit], dev, B_READ, minphys);
+ physio(upstrategy, &rupbuf[unit], dev, B_READ, minphys
, uio
);
}
upwrite(dev)
}
upwrite(dev)
@@
-675,7
+677,7
@@
upwrite(dev)
if (unit >= NUP)
u.u_error = ENXIO;
else
if (unit >= NUP)
u.u_error = ENXIO;
else
- physio(upstrategy, &rupbuf[unit], dev, B_WRITE, minphys);
+ physio(upstrategy, &rupbuf[unit], dev, B_WRITE, minphys
, 0
);
}
/*
}
/*