Re: struct bus_type query!!!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 20, 2006 at 11:08:11AM +0530, pradeep singh wrote:
> 
> can i register my bus with any existing subsystem int the kernel i like ?

What do you mean by "subsystem"?

If you are talking about the kobject subsystem stuff, then no, you can
not, as the subsystem code is used internally by the driver core to
create busses and drivers and devices.

If you mean something else, please expound.

> Finally greg can you plz give me some pointers to Kernel Event layer API
> specifically, couldnt find much on googling.

What specifically about the kobject_uevent() function needs to be
explained?  You call it when you want to emit the event, and the kobject
core also calls it when different things happen to kobjects,
automatically.

It really isn't that complex :)

thanks,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux