Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

bus_register(9) [centos man page]

BUS_REGISTER(9) 					   Device drivers infrastructure					   BUS_REGISTER(9)

NAME
bus_register - register a driver-core subsystem SYNOPSIS
int bus_register(struct bus_type * bus); ARGUMENTS
bus bus to register DESCRIPTION
Once we have that, we register the bus with the kobject infrastructure, then register the children subsystems it has: the devices and drivers that belong to the subsystem. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 BUS_REGISTER(9)

Check Out this Related Man Page

STRUCT 
DEVICE_DRIVER(9) Device drivers infrastructure STRUCT DEVICE_DRIVER(9) NAME
struct_device_driver - The basic device driver structure SYNOPSIS
struct device_driver { const char * name; struct bus_type * bus; struct module * owner; const char * mod_name; bool suppress_bind_attrs; const struct of_device_id * of_match_table; const struct acpi_device_id * acpi_match_table; int (* probe) (struct device *dev); int (* remove) (struct device *dev); void (* shutdown) (struct device *dev); int (* suspend) (struct device *dev, pm_message_t state); int (* resume) (struct device *dev); const struct attribute_group ** groups; const struct dev_pm_ops * pm; struct driver_private * p; }; MEMBERS
name Name of the device driver. bus The bus which the device of this driver belongs to. owner The module owner. mod_name Used for built-in modules. suppress_bind_attrs Disables bind/unbind via sysfs. of_match_table The open firmware table. acpi_match_table The ACPI match table. probe Called to query the existence of a specific device, whether this driver can work with it, and bind the driver to a specific device. remove Called when the device is removed from the system to unbind a device from this driver. shutdown Called at shut-down time to quiesce the device. suspend Called to put the device to sleep mode. Usually to a low power state. resume Called to bring a device from sleep mode. groups Default attributes that get created by the driver core automatically. pm Power management operations of the device which matched this driver. p Driver core's private data, no one other than the driver core can touch this. DESCRIPTION
The device driver-model tracks all of the drivers known to the system. The main reason for this tracking is to enable the driver core to match up drivers with new devices. Once drivers are known objects within the system, however, a number of other things become possible. Device drivers can export information and configuration variables that are independent of any specific device. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT DEVICE_DRIVER(9)
Man Page

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Accessing Multi Hard Disk & theme

Hie, Im having 2 Questions. Please help. - Do Anyone know how to accessanother HDD using Linux? Ive tried many ways before but unable to do so. Im using 2 HDD, The main Hdd/Partition where my unix is are using Seagate HDD 20GB , another HDD is using Maxtor 20GB. From my seagate Hdd where my... (8 Replies)
Discussion started by: killerserv
8 Replies

2. UNIX for Dummies Questions & Answers

Please Help...

Trying to install Redhat 7.3 on my Compaq Presario laptop which already had XP Pro on it. I bought the box set and when I start install it detects everything then when it get to a certain Usb it just stop doing anything. Sorry if I'm vague trying to ween off Windows a little. (3 Replies)
Discussion started by: Heman74
3 Replies

3. Debian

NFS problems (Debian)

I'm trying to share some directories with NFS among Debian machines. In order to do so, I installed nfs-common and nfs-kernel-server on the server machine. It seemed that starting portmap daemon lasted a long time and I get the following messages in /var/log/messages: Jan 30 18:18:03 masternode... (26 Replies)
Discussion started by: bellman
26 Replies

4. Red Hat

Redhat 9 installation problem

All, I am trying to install redhat9 to my system. I have 26 GB of unpartitioned space, and I do have xp-2 already installed on my system in c: . I am using external DVD-RW to install linux. I have booted the CD, chosen Graphical mode and now installation frizzed with below message: ... (5 Replies)
Discussion started by: joshilalit2004
5 Replies

5. Linux

Can not get wireless to register in linux mint?

I just installed linux mint 11 yesterday. I cannot get the wireless to register, it says that firmware is missing but I can not figure out how to make it work. I am still a newbie and would appreciate any help possible. Thank you. (7 Replies)
Discussion started by: breebutner
7 Replies

6. Debian

Debian SPARC

Hello, Anyone already tried to install Debian Sparc in a Sun V880 ?! I'm trying to and after I boot it with the CDROM the system starts to boot up and I don't see any errors message but it freezes after it detects the USB ports (There is nothing attached to it and I don't use it). Here is a... (8 Replies)
Discussion started by: pxb368@motorola
8 Replies

7. Linux

TuxOnIce stalls 3 times before resuming

I am having trouble resuming from hibernation using TuxOnIce method. The thing works, but in a very strange manner. Here's how it looks: 1. Computer boots and finds resume image and starts resume. It reads image from disk (takes ~10 seconds) Reading kernel & process data... Atomic restore.... (8 Replies)
Discussion started by: lockheed
8 Replies

8. Red Hat

Unable To Activate Ethernet Network Device in RHEL 5.5 - e100 device eth0 does not seem to be presen

Hi All, Could anyone please help to resolve the below problem. I installed RHEL5.5 in my desktop.But when i try to activate the ethernet connection then it gives me the error. I spent 2 days for the above and go through with several suggestion found by googling. But no luck. ... (0 Replies)
Discussion started by: Tanmoy
0 Replies

9. Hardware

How disabling GPU?

Hi All I'm find out a way to disable the DGD: AMD Radeon HD 7470M on my Ubutu 16.04.2 LTS because radeon open source module is not capable to support this GPU and consequence the boot is very slow. I have tried serveral way with pci-stub.ids in the grub menu but not work. In general how... (11 Replies)
Discussion started by: _Fabio_79
11 Replies

10. UNIX for Beginners Questions & Answers

No SMS notifications once ppp up

Hi all, I have an Siemens IoT2020 with a Sim7000e cellular board that I connect via USB to the board and connect to Telstra Cat-M1 network. I can send and receive SMS and do so using Node-Red but can also do with Minicom etc. When connected I get : root@iot2000:~# dmesg | grep USB ACPI:... (0 Replies)
Discussion started by: antc
0 Replies