Move the 'sw' device off block major #1, which is now occupied by 'wfd'.

This commit is contained in:
Mike Smith 1998-02-19 12:15:06 +00:00
parent d975ec253b
commit eed5086e1a
3 changed files with 6 additions and 4 deletions

View File

@ -1,4 +1,4 @@
$Id: majors.i386,v 1.30 1998/02/18 13:43:43 msmith Exp $
$Id: majors.i386,v 1.31 1998/02/19 01:33:29 jkh Exp $
Hopefully, this list will one day be obsoleted by DEVFS, but for now
this is the current allocation of device major numbers.
@ -39,6 +39,7 @@ blkdev name comments
23 worm SCSI "worm type"
24 wstb ATAPI tape client of "ata"
25 vinum RAID fs
26 sw VM internal swap device
chrdev name comments
0 cn console
1 ctty /dev/tty

View File

@ -1,4 +1,4 @@
$Id: majors.i386,v 1.30 1998/02/18 13:43:43 msmith Exp $
$Id: majors.i386,v 1.31 1998/02/19 01:33:29 jkh Exp $
Hopefully, this list will one day be obsoleted by DEVFS, but for now
this is the current allocation of device major numbers.
@ -39,6 +39,7 @@ blkdev name comments
23 worm SCSI "worm type"
24 wstb ATAPI tape client of "ata"
25 vinum RAID fs
26 sw VM internal swap device
chrdev name comments
0 cn console
1 ctty /dev/tty

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)vm_swap.c 8.5 (Berkeley) 2/17/94
* $Id: vm_swap.c,v 1.50 1998/01/24 02:54:56 eivind Exp $
* $Id: vm_swap.c,v 1.51 1998/01/25 04:13:25 eivind Exp $
*/
#include "opt_devfs.h"
@ -71,7 +71,7 @@
static void swstrategy __P((struct buf *));
#define CDEV_MAJOR 4
#define BDEV_MAJOR 1
#define BDEV_MAJOR 26
extern struct cdevsw sw_cdevsw ;
static struct bdevsw sw_bdevsw =