PCI
Bus CLK :25 or 33MHz
Bus Width: 32 bit
Autodetetion of interface board (Jumpless)
Automatically configured at boot time
device driver can access the configuration information in the device
Addressing
peripherial is identified by a bus number, a device number, a function number.
each PCI domain can host up 256 buses.
each bus can hosts up 32 devices.
each device can be a multifunction board with a maximum 8 functions.
each function can be identified at a hardware level by a 16-bit address, or key.
Linux device driver doesn't need to deal with these binary address, it uses a specific
data structure, pci_dev to act on devices.
command "lspci" and the file "devices" in /proc/bus/pci/ shows all pci peripherial datas,
$lspci
00:00.0 Host brigde
00:01.0 ISA bridge
00:07.0 IDE interface
....
The hardware circuits of each peripherial board answers queries pertainning to tree address space: memory location, I/O and configuration registers.
memory locaion and I/O are all the same for every bus. so queries one bus at one time.
then won't collid.
Memory and I/O are accessed in the uaual way via inb. configuration transations are performed by
calling specific kernel function to access configuration register.
Every PCI slot has 4 interrupt pin. each function can use
網誌存檔
-
▼
2005
(620)
-
▼
4月
(60)
- MPEG4LIVE : Media Node
- SDL : Simple Direct Media Layer
- 又要記了..
- MP4Live Internal 翻譯
- memo : available time
- design draft : transfer file throufh tcp
- 偉大的CEO..
- VGA resolution
- 重新開張第一天
- 軟便記
- 今天的工作還是....
- 又....
- 奇怪,主頁進不去...
- Framebuffer : Multi framebuffer device
- frame buffer : DirectFB
- 身分證號碼檢查
- 這篇不錯:Gmail的功能
- 今天的工作是..
- Virtual Frame Buffer : vfb
- Linux ignores input when using the framebuffer driver
- ...
- Module __SETUP : kernel boot argument
- follow 這個 link,奇怪的是怎麼make bzImage後make clean ?然後ma...
- 超清楚- 編譯核心(其實還包括module,initrd和grub)
- Install RH8 again
- 向陽農場
- 向陽農場
- chroot後symbolic link不能用的問題:
- 奇怪的問題:Recvfrom: Resource temporarily unavailable
- framebuffer fb_mmap() in fbmem.c
- struct vm_area_struct
- 又忘記,所以再寫一次:find grep
- mmap : mmap a file
- HTML Tag: PRE
- arm linux bootloader
- To understanding Linux VMM
- About diff
- Qt/Embedded - low level classes
- 用hyperterminal送hex的方法
- vesafb
- Linux Framebufer driver writting howto
- Source Navigator 5.2b2 1不認識中文檔名
- 晴天霹靂...
- PCIBus CLK :25 or 33MHzBus Width: 32 bitAutodeteti...
- About BlueCat 4.1
- 用Linux的原因..
- Ghost 2005 (9.0)
- 百慕達之謎已找到線索
- 新名詞: SOA
- CCD: Color Rolling
- ...
- ...
- ...
- ...
- Some Keywords.
- resize 要用 bicubic 還是 bilinear?
- 不可思議的事..
- 完工
- GCC attrib: naked
- 解夏
-
▼
4月
(60)
沒有留言:
張貼留言