Send the remains (such as I have located) of "block major numbers" to

the bit-bucket.
This commit is contained in:
Poul-Henning Kamp 2001-03-26 12:41:29 +00:00
parent 0c8923e54b
commit f83880518b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=74810
153 changed files with 4 additions and 183 deletions

View File

@ -93,7 +93,6 @@ static struct cdevsw mem_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_MEM,
/* bmaj */ -1
};
struct mem_range_softc mem_range_softc;

View File

@ -77,7 +77,6 @@ static struct cdevsw prom_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};

View File

@ -82,7 +82,6 @@ static struct cdevsw zs_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static void zsstart __P((struct tty *));

View File

@ -89,7 +89,6 @@ static struct cdevsw mem_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_MEM,
/* bmaj */ -1
};
MALLOC_DEFINE(M_MEMDESC, "memdesc", "memory range descriptors");

View File

@ -599,7 +599,6 @@ static struct cdevsw xpt_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static struct intr_config_hook *xpt_config_hook;

View File

@ -176,7 +176,6 @@ static struct cd_quirk_entry cd_quirk_table[] =
#endif
#define CD_CDEV_MAJOR 15
#define CD_BDEV_MAJOR 6
static d_open_t cdopen;
static d_close_t cdclose;
@ -265,7 +264,6 @@ static struct cdevsw cd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
/* bmaj */ CD_BDEV_MAJOR
};
static struct cdevsw cddisk_cdevsw;

View File

@ -225,7 +225,6 @@ static struct cdevsw ch_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static struct extend_array *chperiphs;

View File

@ -302,7 +302,6 @@ static struct periph_driver dadriver =
PERIPHDRIVER_DECLARE(da, dadriver);
#define DA_CDEV_MAJOR 13
#define DA_BDEV_MAJOR 4
/* For 2.2-stable support */
#ifndef D_DISK
@ -323,7 +322,6 @@ static struct cdevsw da_cdevsw = {
/* dump */ dadump,
/* psize */ nopsize,
/* flags */ D_DISK,
/* bmaj */ DA_BDEV_MAJOR
};
static struct cdevsw dadisk_cdevsw;

View File

@ -123,7 +123,6 @@ static struct cdevsw pass_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static struct extend_array *passperiphs;

View File

@ -132,7 +132,6 @@ static struct cdevsw pt_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static struct extend_array *ptperiphs;

View File

@ -425,7 +425,6 @@ static struct cdevsw sa_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TAPE,
/* bmaj */ -1
};
static struct extend_array *saperiphs;

View File

@ -190,7 +190,6 @@ static struct cdevsw ses_cdevsw =
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static struct extend_array *sesperiphs;

View File

@ -180,7 +180,6 @@ static struct cdevsw targ_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static int targsendccb(struct cam_periph *periph, union ccb *ccb,

View File

@ -78,7 +78,6 @@ static struct cdevsw codadevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
int vcdebug = 1;

View File

@ -39,7 +39,6 @@ static int fla_debug = 0;
SYSCTL_INT(_debug, OID_AUTO, fladebug, CTLFLAG_RW, &fla_debug, 0, "");
#define CDEV_MAJOR 102
#define BDEV_MAJOR 28
static d_strategy_t flastrategy;
static d_open_t flaopen;
@ -60,7 +59,6 @@ static struct cdevsw fla_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK | D_CANFREE,
/* bmaj */ BDEV_MAJOR
};
static struct cdevsw fladisk_cdevsw;

View File

@ -163,7 +163,6 @@ static struct cdevsw aac_cdevsw = {
nodump, /* dump */
nopsize, /* psize */
0, /* flags */
-1, /* bmaj */
};
/********************************************************************************

View File

@ -74,7 +74,6 @@ static struct cdevsw aac_disk_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
/* bmaj */ -1
};
devclass_t aac_disk_devclass;

View File

@ -82,7 +82,6 @@ static struct cdevsw agp_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY,
/* bmaj */ -1
};
static devclass_t agp_devclass;

View File

@ -78,7 +78,6 @@ static struct cdevsw amr_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ 254 /* XXX magic no-bdev */
};
/*

View File

@ -76,7 +76,6 @@ static struct cdevsw amrd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
/* bmaj */ 254
};
static devclass_t amrd_devclass;

View File

@ -546,7 +546,6 @@ STATIC struct cdevsw asr_cdevsw = {
nodump, /* dump */
nopsize, /* psize */
0, /* flags */
-1 /* bmaj */
};
#ifdef ASR_MEASURE_PERFORMANCE

View File

@ -69,7 +69,6 @@ static struct cdevsw ata_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
/* prototypes */

View File

@ -69,7 +69,6 @@ static struct cdevsw ad_cdevsw = {
/* dump */ addump,
/* psize */ nopsize,
/* flags */ D_DISK,
/* bmaj */ 30
};
static struct cdevsw addisk_cdevsw;

View File

@ -64,7 +64,6 @@ static struct cdevsw ar_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
/* bmaj */ -1
};
static struct cdevsw ardisk_cdevsw;

View File

@ -66,7 +66,6 @@ static struct cdevsw acd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK | D_TRACKCLOSE,
/* bmaj */ 31
};
/* prototypes */

View File

@ -62,7 +62,6 @@ static struct cdevsw afd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK | D_TRACKCLOSE,
/* bmaj */ 32
};
static struct cdevsw afddisk_cdevsw;

View File

@ -62,7 +62,6 @@ static struct cdevsw ast_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TAPE | D_TRACKCLOSE,
/* bmaj */ -1
};
/* prototypes */

View File

@ -338,7 +338,6 @@ static struct cdevsw psm_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
/* debug message level */

View File

@ -249,7 +249,6 @@ static struct cdevsw bktr_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
DRIVER_MODULE(bktr, pci, bktr_driver, bktr_devclass, 0, 0);

View File

@ -167,7 +167,6 @@ static d_psize_t ccdsize;
#define NCCDFREEHIWAT 16
#define CDEV_MAJOR 74
#define BDEV_MAJOR 21
static struct cdevsw ccd_cdevsw = {
/* open */ ccdopen,
@ -183,7 +182,6 @@ static struct cdevsw ccd_cdevsw = {
/* dump */ ccddump,
/* psize */ ccdsize,
/* flags */ D_DISK,
/* bmaj */ BDEV_MAJOR
};
/* called during module initialization */

View File

@ -406,7 +406,6 @@ static struct cdevsw sio_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
/* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};

View File

@ -406,7 +406,6 @@ static struct cdevsw sio_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
/* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};

View File

@ -256,7 +256,6 @@ static struct cdevsw dgb_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
/* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};

View File

@ -259,7 +259,6 @@ static struct cdevsw dgm_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
/* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};

View File

@ -106,7 +106,6 @@ static struct cdevsw dpt_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static struct buf *dpt_inbuf[DPT_MAX_ADAPTERS];

View File

@ -372,7 +372,6 @@ static struct cdevsw fb_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};

View File

@ -315,7 +315,6 @@ static d_ioctl_t fdioctl;
static d_strategy_t fdstrategy;
#define CDEV_MAJOR 9
#define BDEV_MAJOR 2
static struct cdevsw fd_cdevsw = {
/* open */ Fdopen,
@ -331,7 +330,6 @@ static struct cdevsw fd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
/* bmaj */ BDEV_MAJOR
};
static int

View File

@ -550,7 +550,6 @@ static struct cdevsw fore_cdev = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};

View File

@ -65,7 +65,6 @@ static d_close_t idad_close;
static d_strategy_t idad_strategy;
static d_dump_t idad_dump;
#define IDAD_BDEV_MAJOR 29
#define IDAD_CDEV_MAJOR 109
static struct cdevsw id_cdevsw = {
@ -82,7 +81,6 @@ static struct cdevsw id_cdevsw = {
/* dump */ idad_dump,
/* psize */ nopsize,
/* flags */ D_DISK,
/* bmaj */ IDAD_BDEV_MAJOR
};
static devclass_t idad_devclass;

View File

@ -103,7 +103,6 @@ static struct cdevsw iic_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
/*

View File

@ -93,7 +93,6 @@ static struct cdevsw joy_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
devclass_t joy_devclass;

View File

@ -435,7 +435,6 @@ static struct cdevsw kbd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
int

View File

@ -209,9 +209,6 @@ static d_psize_t mcdsize;
static d_strategy_t mcdstrategy;
#define CDEV_MAJOR 29
#define BDEV_MAJOR 7
static struct cdevsw mcd_cdevsw = {
/* open */ mcdopen,
@ -227,7 +224,6 @@ static struct cdevsw mcd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
/* bmaj */ BDEV_MAJOR
};
#define mcd_put(port,byte) outb(port,byte)

View File

@ -69,7 +69,6 @@ static struct cdevsw mlx_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
devclass_t mlx_devclass;

View File

@ -58,7 +58,6 @@ static d_close_t mlxd_close;
static d_strategy_t mlxd_strategy;
static d_ioctl_t mlxd_ioctl;
#define MLXD_BDEV_MAJOR 27
#define MLXD_CDEV_MAJOR 131
static struct cdevsw mlxd_cdevsw = {
@ -75,7 +74,6 @@ static struct cdevsw mlxd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
/* bmaj */ MLXD_BDEV_MAJOR
};
devclass_t mlxd_devclass;

View File

@ -153,7 +153,6 @@ static struct cdevsw mse_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static void mseintr __P((void *));

View File

@ -80,7 +80,6 @@ static struct cdevsw nmdm_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY,
/* bmaj */ -1
};
#define BUFSIZ 100 /* Chunk size iomoved to/from user */

View File

@ -63,7 +63,6 @@ static struct cdevsw null_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static struct cdevsw zero_cdevsw = {
@ -80,7 +79,6 @@ static struct cdevsw zero_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_MMAP_ANON,
/* bmaj */ -1
};
static void *zbuf;

View File

@ -82,7 +82,6 @@ struct cdevsw pcicdev = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static int

View File

@ -202,7 +202,6 @@ static struct cdevsw lpt_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static int

View File

@ -81,7 +81,6 @@ static struct cdevsw pcfclock_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
#ifndef PCFCLOCK_MAX_RETRIES

View File

@ -103,7 +103,6 @@ static struct cdevsw ppi_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
#ifdef PERIPH_1284

View File

@ -72,7 +72,6 @@ static struct cdevsw pps_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static void

View File

@ -75,7 +75,6 @@ static struct cdevsw random_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static void random_kthread(void *);

View File

@ -108,7 +108,6 @@ static struct cdevsw rc_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
/* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};

View File

@ -583,7 +583,6 @@ struct cdevsw rp_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY,
/* bmaj */ -1
};
static int rp_num_ports_open = 0;

View File

@ -185,7 +185,7 @@ static d_ioctl_t scdioctl;
static d_strategy_t scdstrategy;
#define CDEV_MAJOR 45
#define BDEV_MAJOR 16
static struct cdevsw scd_cdevsw = {
/* open */ scdopen,
/* close */ scdclose,
@ -200,7 +200,6 @@ static struct cdevsw scd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
/* bmaj */ BDEV_MAJOR
};

View File

@ -130,7 +130,6 @@ static struct cdevsw si_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
/* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};

View File

@ -389,7 +389,6 @@ static struct cdevsw sio_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
/* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};

View File

@ -104,7 +104,6 @@ static struct cdevsw smb_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
/*

View File

@ -52,7 +52,6 @@ static struct cdevsw snp_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};

View File

@ -83,7 +83,6 @@ static struct cdevsw midi_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
/*

View File

@ -158,7 +158,6 @@ static struct cdevsw seq_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static TAILQ_HEAD(,_seqdev_info) seq_info;

View File

@ -58,7 +58,6 @@ static struct cdevsw snd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TRACKCLOSE,
/* bmaj */ -1
};
/*

View File

@ -42,7 +42,6 @@ static struct cdevsw spkr_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static MALLOC_DEFINE(M_SPKR, "spkr", "Speaker buffer");

View File

@ -118,7 +118,6 @@ static struct cdevsw streams_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
struct streams_softc {

View File

@ -212,7 +212,6 @@ static struct cdevsw sc_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY,
/* bmaj */ -1
};
int

View File

@ -61,7 +61,6 @@ static struct cdevsw sm_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY,
/* bmaj */ -1
};
/* local variables */

View File

@ -117,7 +117,6 @@ static struct cdevsw tdfx_cdev = {
nodump, /* dump */
nopsize, /* size */
0, /* flags (no set flags) */
-1 /* bmaj (no block dev) */
};
static int

View File

@ -147,7 +147,6 @@ Static struct cdevsw ugen_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
#endif

View File

@ -152,7 +152,6 @@ Static struct cdevsw uhid_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
#endif

View File

@ -138,7 +138,6 @@ Static struct cdevsw ulpt_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
#endif

View File

@ -172,7 +172,6 @@ static struct cdevsw umodem_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
/* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};
#endif

View File

@ -158,7 +158,6 @@ Static struct cdevsw ums_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
USB_DECLARE_DRIVER(ums);

View File

@ -147,7 +147,6 @@ struct cdevsw usb_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
#endif

View File

@ -220,7 +220,6 @@ Static struct cdevsw uscanner_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
#endif

View File

@ -58,7 +58,7 @@ struct cdevsw vinum_cdevsw =
vinumopen, vinumclose, physread, physwrite,
vinumioctl, seltrue, nommap, vinumstrategy,
"vinum", VINUM_CDEV_MAJOR, vinumdump, vinumsize,
D_DISK, VINUM_BDEV_MAJOR
D_DISK
};
/* Called by main() during pseudo-device attachment. */

View File

@ -59,7 +59,6 @@ enum constants {
MINVINUMSLICE = 1048576, /* minimum size of a slice */
VINUM_CDEV_MAJOR = 91, /* major number for character device */
VINUM_BDEV_MAJOR = 25, /* and legacy major number for block device */
ROUND_ROBIN_READPOL = -1, /* round robin read policy */
@ -131,8 +130,6 @@ enum constants {
<< (VINUM_PLEX_SHIFT + VINUM_VOL_WIDTH)) \
| (t << VINUM_TYPE_SHIFT) )
#define VINUMRBDEV(d,t) makedev (VINUM_BDEV_MAJOR, VINUMRMINOR (d, t))
/* extract device type */
#define DEVTYPE(x) ((minor (x) >> VINUM_TYPE_SHIFT) & 7)

View File

@ -78,7 +78,6 @@ static struct cdevsw codadevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
int vcdebug = 1;

View File

@ -167,7 +167,6 @@ static d_psize_t ccdsize;
#define NCCDFREEHIWAT 16
#define CDEV_MAJOR 74
#define BDEV_MAJOR 21
static struct cdevsw ccd_cdevsw = {
/* open */ ccdopen,
@ -183,7 +182,6 @@ static struct cdevsw ccd_cdevsw = {
/* dump */ ccddump,
/* psize */ ccdsize,
/* flags */ D_DISK,
/* bmaj */ BDEV_MAJOR
};
/* called during module initialization */

View File

@ -97,7 +97,6 @@ static struct cdevsw apm_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static int apm_suspend_delay = 1;

View File

@ -97,7 +97,6 @@ static struct cdevsw apm_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static int apm_suspend_delay = 1;

View File

@ -89,7 +89,6 @@ static struct cdevsw mem_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_MEM,
/* bmaj */ -1
};
MALLOC_DEFINE(M_MEMDESC, "memdesc", "memory range descriptors");

View File

@ -73,7 +73,6 @@ static struct cdevsw perfmon_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
/*

View File

@ -211,7 +211,6 @@ static struct cdevsw asc_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
#define STATIC static

View File

@ -164,7 +164,6 @@ static struct cdevsw ctx_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};

View File

@ -101,7 +101,6 @@ struct cdevsw cx_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
/* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};
#else

View File

@ -406,7 +406,6 @@ static struct cdevsw sio_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
/* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};

View File

@ -91,7 +91,6 @@ static struct cdevsw gp_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
#define BUFSIZE 1024

View File

@ -208,7 +208,6 @@ static struct cdevsw gsc_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};

View File

@ -655,7 +655,6 @@ static struct cdevsw stli_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
/* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};

View File

@ -642,7 +642,6 @@ static struct cdevsw loran_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
#endif /* _KERNEL */

View File

@ -516,7 +516,6 @@ static d_psize_t matcdsize;
static d_strategy_t matcdstrategy;
#define CDEV_MAJOR 46
#define BDEV_MAJOR 17
static struct cdevsw matcd_cdevsw = {
/* open */ matcdopen,
@ -532,7 +531,6 @@ static struct cdevsw matcd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
/* bmaj */ BDEV_MAJOR
};
/*---------------------------------------------------------------------------

View File

@ -209,9 +209,6 @@ static d_psize_t mcdsize;
static d_strategy_t mcdstrategy;
#define CDEV_MAJOR 29
#define BDEV_MAJOR 7
static struct cdevsw mcd_cdevsw = {
/* open */ mcdopen,
@ -227,7 +224,6 @@ static struct cdevsw mcd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
/* bmaj */ BDEV_MAJOR
};
#define mcd_put(port,byte) outb(port,byte)

View File

@ -153,7 +153,6 @@ static struct cdevsw mse_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static void mseintr __P((void *));

View File

@ -169,7 +169,6 @@ static struct cdevsw pca_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ 0,
/* bmaj */ -1
};
static void pca_continue __P((void));

View File

@ -109,7 +109,6 @@ static struct cdevsw vt_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
/* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};

View File

@ -108,7 +108,6 @@ static struct cdevsw rc_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
/* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};

View File

@ -817,7 +817,6 @@ static struct cdevsw rp_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_TTY | D_KQFILTER,
/* bmaj */ -1,
/* kqfilter */ ttykqfilter,
};

View File

@ -185,7 +185,7 @@ static d_ioctl_t scdioctl;
static d_strategy_t scdstrategy;
#define CDEV_MAJOR 45
#define BDEV_MAJOR 16
static struct cdevsw scd_cdevsw = {
/* open */ scdopen,
/* close */ scdclose,
@ -200,7 +200,6 @@ static struct cdevsw scd_cdevsw = {
/* dump */ nodump,
/* psize */ nopsize,
/* flags */ D_DISK,
/* bmaj */ BDEV_MAJOR
};

Some files were not shown because too many files have changed in this diff Show More