Re: driver: probe not called when smbus child

2001-03-28 Thread Willem van Engen
Nicolas Souchu wrote: On Tue, Mar 20, 2001 at 04:50:09PM +0100, 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

Re: driver: probe not called when smbus child

2001-03-23 Thread Nicolas Souchu
On Tue, Mar 20, 2001 at 04:50:09PM +0100, 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:

Re: driver: probe not called when smbus child

2001-03-21 Thread Willem van Engen
"Matthew N. Dodd" wrote: 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:

Re: driver: probe not called when smbus child

2001-03-21 Thread Matthew N. Dodd
On Wed, 21 Mar 2001, Willem van Engen wrote: DRIVER_MODULE(smb, smbus, smb_driver, smb_devclass, 0, 0); so I guess not. But thanks anyway :) Yes, but the 'smbus' bus driver doesn't have an attachment to your driver. You're trying to create a device that provides an 'smbus' right? Or did I

Re: driver: probe not called when smbus child

2001-03-21 Thread Willem van Engen
Takanori Watanabe wrote: In message [EMAIL PROTECTED], Willem van Engen さんいわく: 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

Re: driver: probe not called when smbus child

2001-03-21 Thread Takanori Watanabe
In message [EMAIL PROTECTED], Willem van Engen さんいわく: And you will need to know grandparent device name to bind the device collectly.(Or should we need a way to get device attribute such as Mother board, Video Capture BitBang,Video Capture Cooked,VGA Card and etc.) I don't quite

driver: probe not called when smbus child

2001-03-20 Thread Willem van Engen
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

Re: driver: probe not called when smbus child

2001-03-20 Thread Willem van Engen
It's currently working as an isa-child, but I'm still wondering if it's the 'clean' way, since I only use smbus commands. - Willem 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

Re: driver: probe not called when smbus child

2001-03-20 Thread Mike Smith
I'm trying to write a module which should be a child of the smbus. The smbus probe/attach is broken; you're going to have to fix it before this code will work properly. 8( -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not