Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2001 20:06:02 -0600
From:      Warner Losh <imp@village.org>
To:        Alexander Langer <alex@big.endian.de>
Cc:        SJ <sandejain@rocketmail.com>, freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Device driver questions 
Message-ID:  <200105250206.f4P262l39959@billy-club.village.org>
In-Reply-To: Your message of "Wed, 23 May 2001 08:58:57 %2B0200." <20010523085857.B1103@zerogravity.kawo2.rwth-aachen.d> 
References:  <20010523085857.B1103@zerogravity.kawo2.rwth-aachen.d>  <20010523003414.51600.qmail@web13405.mail.yahoo.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010523085857.B1103@zerogravity.kawo2.rwth-aachen.d> Alexander Langer writes:
: Thus spake SJ (sandejain@rocketmail.com):
: 
: Hi!
: 
: > 1. "ioconf.c" contains struct config_resource and
: >     config_device definitions for declarations in 
: >     "config" file. But I noticed that for some devices
: >      e.g. device          atadisk
: >           device          atapicd
: >           ...
: >      the corresponding lines in ioconf.c are missing??
: 
: I think it's because ata is a self-identifying bus.
: Not sure, though.  Are any PCI-only devices listed?

That's because that is handled in two ways.  One is by the hints
mechanism.  The other is by the DRIVER_MODULE at the end of the
driver.

: > 3. File naming question:
: >    whats the reasoning behind having "bus.h" and 
: >    "bus_private.h"....whats the significance of 
: >    "private" here.
: 
: drivers include bus.h, kernel does also include bus_private.h

bus_private.h contains stuff that you should consider to be 100% hands
off.

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?200105250206.f4P262l39959>