2010年1月4日 星期一

pci read

pciread32(uint bus, uint device, uint function, uint reg)


DESCRIPTION These functions provide access to PCI configuration space. All of the functions take
parameters for the bus, device, function, and register to be accessed. The pciwrite functions
also take a parameter val, which is the value to be written to the specified register. For the
pcimod functions, mask identifies which bits in the specified register are to be modified (i.e.
which bits in val are significant).
Although physical PCI configuration space accesses must be 32-bits wide, these functions
allow safe accesses of smaller widths as well as accesses that cross register boundaries. For
example,



pciread32(0, 0, 0, 2)






would return a 32-bit value constructed from bytes 2 and 3 of the register at offset 0 and
bytes 0 and 1 of the register at offset 4







returns : 

 The pciread functions return the value read from the specified register.

2010年1月3日 星期日

Linux那些事兒之我是Hub 系列

http://blog.csdn.net/fudan_abc/category/325189.aspx?PageNumber=2

Linux下USB suspend/resume源碼分析

http://blog.csdn.net/dxf029044367/archive/2009/12/19/5031710.aspx

Linux設備驅動之USB hub驅動

http://blog.chinaunix.net/u1/51562/showart_1226612.html

USB設備驅動整體結構

http://book.51cto.com/art/200811/96174.htm

2009年12月31日 星期四

linux usb 詳解

http://book.51cto.com/art/200811/96183.htm

USB 講座

http://chamberplus.myweb.hinet.net/usb_diy1.htm