125 const char * name;
126 struct bus_type * bus;
![]()
127
128 struct kobject kobj;
129 struct klist klist_devices;
130 struct klist_node knode_bus;
131
132 struct module * owner;
133 const char * mod_name; /* used for built-in modules */
134 struct module_kobject * mkobj;
135
136 int (*probe) (struct device * dev);
137 int (*remove) (struct device * dev);
138 void (*shutdown) (struct device * dev);
139 int (*suspend) (struct device * dev, pm_message_t state);
140 int (*resume) (struct device * dev);
141 };
407 struct device {
408 struct klistklist_children;
409 struct klist_nodeknode_parent;/* node in sibling list */
410 struct klist_nodeknode_driver;
411 struct klist_nodeknode_bus;
412 struct device*parent;
413
414 struct kobject kobj;
415 charbus_id[BUS_ID_SIZE];/* position on parent bus */
416 struct device_type*type;
417 unsignedis_registered:1;
418 unsigneduevent_suppress:1;
419
420 struct semaphoresem;/* semaphore to synchronize calls to
421 * its driver.
422 */
423
424 struct bus_type* bus;/* type of bus device is on */
425 struct device_driver *driver;/* which driver has allocated this
426 device */
427 void*driver_data;/* data private to the driver */
428 void*platform_data;/* Platform specific data, device
429 core doesn't touch it */

430 struct dev_pm_infopower;
431
432 #ifdef CONFIG_NUMA
433 intnuma_node;/* NUMA node this device is close to */
434 #endif
435 u64*dma_mask;/* dma mask (if dma'able device) */
436 u64coherent_dma_mask;/* Like dma_mask, but for
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/jisuanjixue/article-77924-2.html
可以去日本本土附近12海里巡航下
不开雷达不装炮弹电磁辐射对于军舰来说已经最低了还被直接找到