Subject: Re: wsdiaplay
To: Mahadeva Swamy T L <>
From: Gilbert Fernandes <>
List: tech-kern
Date: 11/17/2003 20:24:25
On Tue, Nov 11, 2003 at 05:22:15PM +0530, Mahadeva Swamy T L wrote:

> Is wsdispaly and the wsfont in the directory /usr/src/sys/dev/ic/ are
> architecture dependent (i386)?

if something is architecture dependant, it is
usually found in a respective sub-folder.
for example, you can assume that files inside
this folder:


are directly related to i386 and dependant
to it.

so most content inside /usr/src/sys/dev/ic/ is
probably non-i386 directly dependant. but,
some of the components which are found there,
like some network card for example, only exist
for some platforms or a set of platforms.

on netbsd, most code for hardware handling
like this is MI which means "machine independant".
so if a developper does a driver (i don't like
that name but let's use it) for a pcmcia card
for i386, the way netbsd has its code developped
will also mean that if someone plugs that card
on a Zaurus, it will work. neat huh :)

platform specific parts are stored in folders
which have the name used to designate the
platform, or so it should be. i am afraid my
knowledge of the source tree doesn't go far
enough so one of the core developpers or a
developper might give you a more decent and
precise answer though.

Gilbert Fernandes