aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1995-12-10 20:10:23 +0000
committerBruce Evans <bde@FreeBSD.org>1995-12-10 20:10:23 +0000
commit690999827d806e821a163c1f14466c5a8ed0af09 (patch)
treea3ca4c29de61948694fdd1eb0018de7c975eda5b /sys/dev
parent658a9cba7e1bd0475d22a6a132417fc86e6d102a (diff)
Notes
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/scd/scd.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c
index 449239e28081..8f49d59188af 100644
--- a/sys/dev/scd/scd.c
+++ b/sys/dev/scd/scd.c
@@ -41,7 +41,7 @@
*/
-/* $Id: scd.c,v 1.14 1995/12/08 23:20:39 phk Exp $ */
+/* $Id: scd.c,v 1.15 1995/12/10 19:44:52 bde Exp $ */
/* Please send any comments to micke@dynas.se */
@@ -193,7 +193,6 @@ struct isa_driver scddriver = { scd_probe, scd_attach, "scd" };
static d_open_t scdopen;
static d_close_t scdclose;
static d_ioctl_t scdioctl;
-static d_psize_t scdsize;
static d_strategy_t scdstrategy;
#define CDEV_MAJOR 45
@@ -201,7 +200,7 @@ static d_strategy_t scdstrategy;
extern struct cdevsw scd_cdevsw;
static struct bdevsw scd_bdevsw =
{ scdopen, scdclose, scdstrategy, scdioctl, /*16*/
- nodump, scdsize, 0, "scd", &scd_cdevsw, -1 };
+ nodump, nopsize, 0, "scd", &scd_cdevsw, -1 };
static struct cdevsw scd_cdevsw =
{ scdopen, scdclose, rawread, nowrite, /*45*/
@@ -537,12 +536,6 @@ scdioctl(dev_t dev, int cmd, caddr_t addr, int flags, struct proc *p)
}
}
-static int
-scdsize(dev_t dev)
-{
- return -1;
-}
-
/***************************************************************
* lower level of driver starts here
**************************************************************/