pci和scsi总线

本文介绍了PCI和SCSI总线的关系,PCI设备的特点,特别是配置地址空间。详细阐述了PCI设备初始化的过程,包括内存映射访问、I/O端口访问和配置寄存器访问。通过示例展示了驱动程序如何获取并使用PCI设备的内存映射地址,以及PCI设备的DMA设置和启用。
摘要由CSDN通过智能技术生成
pci总线
16位        8位     5位         3位
domain    bus    device    function


[root@localhost iol_interactv1.10_Ubuntu11nhigher]# cat /proc/bus/pci/devices | cut -f1
0000
0008
0010
00a0
00b0
00d0
00d8
00e0
00e4
00e5
00e7
00e8
00f8
00fa
00fb
00fd
0300
0400
0600
[root@localhost iol_interactv1.10_Ubuntu11nhigher]# lspci | cut -d: -f1-2
00:00.0 Host bridge
00:01.0 PCI bridge
00:02.0 VGA compatible controller
00:14.0 USB controller
00:16.0 Communication controller
00:1a.0 USB controller
00:1b.0 Audio device
00:1c.0 PCI bridge
00:1c.4 PCI bridge
00:1c.5 PCI bridge
00:1c.7 PCI bridge
00:1d.0 USB controller
00:1f.0 ISA bridge
00:1f.2 IDE interface
00:1f.3 SMBus
00:1f.5 IDE interface
03:00.0 Ethernet controller
04:00.0 PCI

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值