Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Oct 2004 12:04:53 -0700
From:      Marcel Moolenaar <marcel@xcllnt.net>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/sys pbioio.h src/sys/i386/isa pbio.c src/sys/conf files.i386 src/sys/i386/conf NOTES
Message-ID:  <20041007190453.GA82804@ns1.xcllnt.net>
In-Reply-To: <20041007.122005.127628260.imp@bsdimp.com>
References:  <200410071621.i97GL3lu029620@repoman.freebsd.org> <20041007175206.GA82275@ns1.xcllnt.net> <20041007.122005.127628260.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 07, 2004 at 12:20:05PM -0600, M. Warner Losh wrote:
> In message: <20041007175206.GA82275@ns1.xcllnt.net>
>             Marcel Moolenaar <marcel@xcllnt.net> writes:
> : On Thu, Oct 07, 2004 at 04:21:03PM +0000, Warner Losh wrote:
> : > imp         2004-10-07 16:21:03 UTC
> : > 
> : >   FreeBSD src repository
> : > 
> : >   Modified files:
> : >     sys/conf             files.i386 
> : >     sys/i386/conf        NOTES 
> : >   Added files:
> : >     sys/sys              pbioio.h 
> : >     sys/i386/isa         pbio.c 
> : >   Log:
> : >   Port pbio to HEAD.
> : 
> : I appreciate your speed, but don't you think that pbioio.h is pretty
> : MD given that the driver only exists on i386. Wouldn't <machine/pbioio.h>
> : be a better place?
> 
> I think that pbioio.h is MI.  What makes you think that it is pretty
> MD?

Because pbio(4) only exists on i386. Hence, all other platforms now
have <sys/pbioio.h> that serves no purpose and can only cause
autoconfiguration (ala autoconf) getting confused. Since pbioio.h
refers to hardware, it nature is MD, even though the definitions
(types and interfaces) may appear MI. So, <machine/bpioio.h> seems 
like a good place.

-- 
 Marcel Moolenaar	  USPA: A-39004		 marcel@xcllnt.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041007190453.GA82804>