现在进入driver_register()函数去看看。在driver_register() 中,调用了driver_find(drv->name, drv->bus)函数,这里是干啥呢?这里是先去驱动打算挂牌的地方先查找一下,这个驱动是否已经挂牌(注册)过了。在哪里查找呢?代码中写得很清楚,去bus...
分类:
其他好文 时间:
2014-07-12 00:51:02
阅读次数:
219
i2c_devinfo全局链表:__i2c_board_list用来挂接 i2c_board_info,这个信息用来生成 i2c_clienti2c_client 链表:i2c_bus_type->p->klist_devicesi2c_driver 链表:i2c_bus_type->p->klis...
分类:
其他好文 时间:
2014-07-09 15:11:22
阅读次数:
271
表格ChannelReward和表格RewardSuppleSettle中都有一下几个字段JSMonth, ChannelNo, RewardSum, RewardItem。要将两个表中RewardSum>0的记录都显示在一个表中,可以使用联合查询select * from(SELECT JSMon...
分类:
其他好文 时间:
2014-07-09 13:57:45
阅读次数:
134
When you use an arithmetic operator, the operands go through two conversions.Integer promotions: If int can represent all values of the type, then the...
分类:
编程语言 时间:
2014-07-09 13:46:00
阅读次数:
278
CREATE TABLE IF NOT EXISTS `alipay_order` ( `id` int(11) unsigned NOT NULL auto_increment, `orderid` char(20) NOT NULL, `title` char(50) NOT NULL, ...
分类:
Web程序 时间:
2014-07-09 13:16:37
阅读次数:
213
2.配置无线
vi /etc/config/wireless
config wifi-device wlan0
option type mac80211
option channel 5
# REMOVE THIS LINE TO ENABLE WIFI:
# 删除或注释掉option disabled...
分类:
其他好文 时间:
2014-07-09 12:37:59
阅读次数:
339
1. Poweshell 对 Site Column的完整操作
2. Powershell 对 Content Type的完整操作
3. Powershell 对 List 的完整操作
4. Powershell 对 Web Part(页面)操作
5. Powershell 对 Security Group操作...
分类:
其他好文 时间:
2014-07-09 12:29:39
阅读次数:
372
MemoryMXBean可以通过ManagementFactory.getMemoryMXBean()获取,也可以通过平台MBeanServer的ObjectName为java.lang:type=Memory获取
MemoryPoolMXBean可以通过ManagementFactory.getMemoryPoolMXBean()获取,也可以通过平台MBeanServer的ObjectName...
分类:
其他好文 时间:
2014-07-09 12:21:17
阅读次数:
146
A:
#include
#include
int main() {
int T;
scanf("%d", &T);
while(T --) {
double x, ans = 0;
for(int i = 0; i < 12;i ++) {
scanf("%lf", &x);
ans += x;
}
ans /= 12;
char b[1000];
...
分类:
其他好文 时间:
2014-07-09 11:05:46
阅读次数:
277
explainplanforselectCFG_ID,COUNT(0)totalfromLOG_FD_VIDEO_SAMPLEawhere1=1andSERVICE_TYPE=35andFOUND_TIME>=to_date(‘2014-07-0800:00:00‘,‘yyyy-MM-ddHH24:mi:ss‘)andFOUND_TIME<=to_date(‘2014-07-0816:00:00‘,‘yyyy-MM-ddHH24:mi:ss‘)AND(cfg_idin(‘30811‘,‘30812..
分类:
数据库 时间:
2014-07-09 08:14:21
阅读次数:
298