after the recent config_attach_pseudo() changes, unit numbers have the same
sementics as for real devices, so DVUNIT_ANY=-1 is illegal
This commit is contained in:
parent
3cac6dbb47
commit
f6c8681509
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ata_raid.c,v 1.20 2006/11/16 01:32:47 christos Exp $ */
|
||||
/* $NetBSD: ata_raid.c,v 1.21 2007/03/09 15:41:02 drochner Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2003 Wasabi Systems, Inc.
|
||||
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ata_raid.c,v 1.20 2006/11/16 01:32:47 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ata_raid.c,v 1.21 2007/03/09 15:41:02 drochner Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/buf.h>
|
||||
|
@ -132,7 +132,7 @@ ata_raid_finalize(struct device *self)
|
|||
static struct cfdata ataraid_cfdata = {
|
||||
.cf_name = "ataraid",
|
||||
.cf_atname = "ataraid",
|
||||
.cf_unit = DVUNIT_ANY,
|
||||
.cf_unit = 0,
|
||||
.cf_fstate = FSTATE_STAR,
|
||||
};
|
||||
extern struct cfdriver ataraid_cd;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: hpf1275a_tty.c,v 1.20 2007/03/04 06:01:47 christos Exp $ */
|
||||
/* $NetBSD: hpf1275a_tty.c,v 1.21 2007/03/09 15:41:02 drochner Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2004 Valeriy E. Ushakov
|
||||
|
@ -28,7 +28,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: hpf1275a_tty.c,v 1.20 2007/03/04 06:01:47 christos Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: hpf1275a_tty.c,v 1.21 2007/03/09 15:41:02 drochner Exp $");
|
||||
|
||||
#include "opt_wsdisplay_compat.h"
|
||||
|
||||
|
@ -304,7 +304,7 @@ hpf1275a_open(dev_t dev, struct tty *tp)
|
|||
static struct cfdata hpf1275a_cfdata = {
|
||||
.cf_name = "hpf1275a",
|
||||
.cf_atname = "hpf1275a",
|
||||
.cf_unit = DVUNIT_ANY,
|
||||
.cf_unit = 0,
|
||||
.cf_fstate = FSTATE_STAR,
|
||||
};
|
||||
struct lwp *l = curlwp; /* XXX */
|
||||
|
|
Loading…
Reference in New Issue