diff options
author | bde <bde@FreeBSD.org> | 1995-12-10 20:10:23 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-12-10 20:10:23 +0000 |
commit | 5e103e2a73ffb8bdbe4331a4ea7ad04c8517a96e (patch) | |
tree | a3ca4c29de61948694fdd1eb0018de7c975eda5b /sys/dev/scd | |
parent | 8d9fed7ec4710b5c9c7bffb9355e7c520a830ec1 (diff) | |
download | FreeBSD-src-5e103e2a73ffb8bdbe4331a4ea7ad04c8517a96e.zip FreeBSD-src-5e103e2a73ffb8bdbe4331a4ea7ad04c8517a96e.tar.gz |
Replaced scdsize by generic nopsize.
Diffstat (limited to 'sys/dev/scd')
-rw-r--r-- | sys/dev/scd/scd.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/scd/scd.c b/sys/dev/scd/scd.c index 449239e..8f49d59 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 **************************************************************/ |