Subject: Attaching devices
To: None <jsharp@psychoses.org, netbsd-help@netbsd.org>
From: None <eeh@netbsd.org>
List: netbsd-help
Date: 01/11/2001 18:44:00
The main question I have...is the "com" device (and other serial
interface devices) attachable to? Or is there a better way of doing this?
In order for a device node to allow children to attach
to it, the device must be a bus node. To do that you
need to add `{ }' to he device node in the files file.
Take a look at the sparc64 config in -current. It uses:
com* at ebus? # `com' driver for `su'
kbd0 at com? # keyboard
ms0 at com? # mouse
Eduardo