Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2000 10:19:45 -0700
From:      Warner Losh <imp@village.org>
To:        Nicolas Souchu <nsouch@alcove.fr>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Partial start on pci + serial/parallel cards 
Message-ID:  <200012141719.KAA48406@harmony.village.org>
In-Reply-To: Your message of "Thu, 14 Dec 2000 12:57:39 %2B0100." <20001214125739.C16207@wiliam.alcove-int> 
References:  <20001214125739.C16207@wiliam.alcove-int>  <20001212100513.B6007@wiliam.alcove-int> <20001211154207.A25074@wiliam.alcove-int> <200012090613.XAA18688@harmony.village.org> <20001211154207.A25074@wiliam.alcove-int> <200012111836.LAA38242@harmony.village.org> <20001212100513.B6007@wiliam.alcove-int> <200012121707.KAA30358@harmony.village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20001214125739.C16207@wiliam.alcove-int> Nicolas Souchu writes:
: I'm sure that this subject has been discussion many times on the lists.
: I'm also sure that there's a good reason for this, otherwise it wouldn't be
: your choice (you is the team). But as it is the opposite of my personal
: feeling, could you give me one reason for this in few words?

The basic reason for having the dev/foo thing was so that you don't
have to hunt over the entire tree to maintian your driver.  All the
files are in one place and you can easily find them.

: Is it for maintainance purpose, so you can remove the whole driver if
: not anymore supported for example? NetBSD is architecture independent
: oriented, so I guess their choice is also good from there point of view...

NetBSD took the view that you have a core driver and then a bunch of
bus attachments.  The affinity is stronger to the bus code than to the 
device code so they built the separation they did that way.

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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