+ -
当前位置:首页 → 问答吧 → scsi问题!

scsi问题!

时间:2010-09-19

来源:互联网

init_this_scsi_driver 这个函数中:
struct scsi_host_template *sht = &driver_template
这句不是很明白!driver_template 是在哪被初始化的?

作者: zd零   发布时间: 2010-09-19

各个SCSI 设备的驱动程序会初始化driver_template这个结构体的。你用 driver_template 在内核代码中搜一下,就应该可以明白了。

作者: Godbach   发布时间: 2010-09-19

热门下载

更多