Subject: Re: different devices for same major
To: Martin Husemann <martin@duskware.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-userlevel
Date: 07/04/2006 11:50:29
On Tue, Jul 04, 2006 at 11:46:23AM +0200, Martin Husemann wrote:
> On Tue, Jul 04, 2006 at 11:15:49AM +0200, Manuel Bouyer wrote:
> > Hi,
> > for Xen I have a /dev/xencons as character device at major 143, minor 0.
> > For Xen3 I added a /dev/xsd_kva as character device at major 143, minor 1.
> 
> This is just like /dev/wskbd vs. wsmux, right? From src/etc/MAKEDEV.tmpl:
> 
> wskbd)
>         mkdev wskbd c %wsmux_chr% 1
>         ;;

Good. As this device is i386-specific, should I put this in some i386-specific
file, or will the build framework take care of this and not include it if
%xencons_chr% doesn't exists ?

-- 
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 26 ans d'experience feront toujours la difference
--