Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Mar 2001 02:54:39 -0500 (EST)
From:      "Matthew N. Dodd" <winter@jurai.net>
To:        Willem van Engen <wvengen@stack.nl>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: driver: probe not called when smbus child
Message-ID:  <Pine.BSF.4.21.0103210250150.54019-100000@sasami.jurai.net>
In-Reply-To: <3AB77C31.8213C158@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 20 Mar 2001, Willem van Engen wrote:

> I'm trying to write a module which should be a child of the smbus.
> When I make the driver a child of the isa bus, identify, probe, 
> and attach functions are properly called. I use the following
> code to do that:
>   DRIVER_MODULE(my, isa, my_driver, my_devclass, 0, 0);
> But when I put it on the smbus using
>   DRIVER_MODULE(my, smbus, my_driver, my_devclass, 0, 0);

Shouldn't this be:

DRIVER_MODULE(smbus, my, smbus_driver, smbus_devclass, 0, 0);

-- 
| Matthew N. Dodd  | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD  |
| winter@jurai.net |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| http://www.jurai.net/~winter |  For Great Justice!  | ISO8802.5 4ever |


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?Pine.BSF.4.21.0103210250150.54019-100000>