summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_physio.c
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>1995-12-13 15:13:57 +0000
committerjulian <julian@FreeBSD.org>1995-12-13 15:13:57 +0000
commitd905b350fec038c097b2a29731ddef049bc79b80 (patch)
treef0ebb5173fc54865e90ae9881089258ea9c50611 /sys/kern/kern_physio.c
parenta9b0efbc489928e8b1df5cb2c1b948a9128932f2 (diff)
downloadFreeBSD-src-d905b350fec038c097b2a29731ddef049bc79b80.zip
FreeBSD-src-d905b350fec038c097b2a29731ddef049bc79b80.tar.gz
devsw tables are now arrays of POINTERS to struct [cb]devsw
seems to work hre just fine though I can't check every file that changed due to limmited h/w, however I've checked enught to be petty happy withe hte code.. WARNING... struct lkm[mumble] has changed so it might be an idea to recompile any lkm related programs
Diffstat (limited to 'sys/kern/kern_physio.c')
-rw-r--r--sys/kern/kern_physio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c
index 36f1c14..7f8324b 100644
--- a/sys/kern/kern_physio.c
+++ b/sys/kern/kern_physio.c
@@ -16,7 +16,7 @@
* 4. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: kern_physio.c,v 1.14 1995/12/02 18:58:48 bde Exp $
+ * $Id: kern_physio.c,v 1.15 1995/12/07 12:46:46 davidg Exp $
*/
#include <sys/param.h>
@@ -174,14 +174,14 @@ minphys(struct buf *bp)
int
rawread(dev_t dev, struct uio *uio, int ioflag)
{
- return (physio(cdevsw[major(dev)].d_strategy, (struct buf *)NULL,
+ return (physio(cdevsw[major(dev)]->d_strategy, (struct buf *)NULL,
dev, 1, minphys, uio));
}
int
rawwrite(dev_t dev, struct uio *uio, int ioflag)
{
- return (physio(cdevsw[major(dev)].d_strategy, (struct buf *)NULL,
+ return (physio(cdevsw[major(dev)]->d_strategy, (struct buf *)NULL,
dev, 0, minphys, uio));
}
OpenPOWER on IntegriCloud