summaryrefslogtreecommitdiffstats
path: root/sys/sys/bio.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-12-02 21:07:20 +0000
committerphk <phk@FreeBSD.org>1997-12-02 21:07:20 +0000
commita1bfb618d996ea613b9d640d00950f5ffef739db (patch)
treed373e61301d1dc027cf0572e25d38f7a9f63450d /sys/sys/bio.h
parentbf21e6b4e0e85ae08cb5d1f2335da248f52e2d26 (diff)
downloadFreeBSD-src-a1bfb618d996ea613b9d640d00950f5ffef739db.zip
FreeBSD-src-a1bfb618d996ea613b9d640d00950f5ffef739db.tar.gz
In all such uses of struct buf: 's/b_un.b_addr/b_data/g'
Diffstat (limited to 'sys/sys/bio.h')
-rw-r--r--sys/sys/bio.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/sys/sys/bio.h b/sys/sys/bio.h
index 36b6b53..f98f120 100644
--- a/sys/sys/bio.h
+++ b/sys/sys/bio.h
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)buf.h 8.9 (Berkeley) 3/30/95
- * $Id: buf.h,v 1.42 1997/09/21 22:08:58 gibbs Exp $
+ * $Id: buf.h,v 1.43 1997/10/23 11:32:06 gibbs Exp $
*/
#ifndef _SYS_BUF_H_
@@ -75,9 +75,7 @@ struct buf {
long b_bcount; /* Valid bytes in buffer. */
long b_resid; /* Remaining I/O. */
dev_t b_dev; /* Device associated with buffer. */
- struct {
- caddr_t b_addr; /* Memory, superblocks, indirect etc. */
- } b_un;
+ caddr_t b_data; /* Memory, superblocks, indirect etc. */
caddr_t b_kvabase; /* base kva for buffer */
int b_kvasize; /* size of kva for buffer */
daddr_t b_lblkno; /* Logical block number. */
@@ -107,9 +105,6 @@ struct buf {
int b_npages;
};
-/* Device driver compatibility definitions. */
-#define b_data b_un.b_addr /* b_un.b_addr is not changeable. */
-
/*
* These flags are kept in b_flags.
*/
OpenPOWER on IntegriCloud