📄 ohci_c_flow.txt
字号:
以下这些文件对我们编译的1394驱动是无用的:amdtp.h amdtp.c dv1394.h dv1394.c dv1394-private.h eth1394.h eth1394.c pcilynx.h pcilynx.c sbp2.h sbp2.c ---------------------------------step1,加载ieee1394.ostep2,加载ohci1394.o显示的驱动信息:(没有连接Basler相机)ohci1394: $Rev$ Ben Collins <bcollins@debian.org>PCI: Found IRQ 9 for device 02:0b.0PCI: Sharing IRQ 9 with 00:1f.4ohci1394_0: Remapped memory spaces reg 0xd2225800 =>ohci1394_pci_probe()ohci1394_0: Soft reset finished => ohci_soft_reset()ohci1394_0: Iso contexts reg: 000000a8 implemented: 000000ffohci1394_0: 8 iso receive contexts availableohci1394_0: Iso contexts reg: 00000098 implemented: 000000ffohci1394_0: 8 iso transmit contexts availableohci1394_0: GUID: 00110600:0000397fohci1394_0: Receive DMA ctx=0 initializedohci1394_0: Receive DMA ctx=0 initializedohci1394_0: Transmit DMA ctx=0 initializedohci1394_0: Transmit DMA ctx=1 initializedohci1394_0: OHCI-1394 1.0 (PCI): IRQ=[9] MMIO=[feafb800-feafbfff] Max Packet=[2048] =>ohci1394_pci_probe()ohci1394_0: request csr_rom address: ce779000 =>ohci_get_rom()ohci1394_0: IntEvent: 00030010 =>ohci_irq_handler()ohci1394_0: irq_handler: Bus reset requested =>ohci_irq_handler()ohci1394_0: Cancel request received =>ohci_devctl()ohci1394_0: Got RQPkt interrupt status=0x00008409 =>ohci_irq_handler()ohci1394_0: SelfID interrupt received (phyid 0, root) =>ohci_irq_handler()ohci1394_0: SelfID packet 0x807f8956 received =>handle_selfid()ohci1394_0: SelfID for this node is 0x807f8956 =>handle_selfid()ohci1394_0: SelfID complete =>handle_selfid()ohci1394_0: PhyReqFilter=ffffffffffffffff =>ohci_irq_handler()ohci1394_0: Single packet rcv'd =>dma_rcv_tasklet()ohci1394_0: Got phy packet ctx=0 ... discarded =>dma_rcv_tasklet()ieee1394: Host added: ID:BUS[0-00:1023] GUID[001106000000397f]ohci1394_0: Inserting packet for node 0-63:1023, tlabel=0, tcode=0x0, speed=0 =>insert_packet()ohci1394_0: Starting transmit DMA ctx=0 =>dma_trm_flush()ohci1394_0: IntEvent: 00000001 =>ohci_irq_handler()ohci1394_0: Got reqTxComplete interrupt status=0x00008011 =>ohci_irq_handler()ohci1394_0: Packet sent to node 63 tcode=0x0 tLabel=0x00 ack=0x11 spd=0 data=0x1F0000C0 ctx=0 =>dma_trm_tasklet()step3,连接Basler相机,驱动打印下列信息:ohci1394_0: IntEvent: 00020010 =>ohci_irq_handler()ohci1394_0: irq_handler: Bus reset requested =>ohci_irq_handler()ohci1394_0: Cancel request receivedohci1394_0: Got RQPkt interrupt status=0x00008409ohci1394_0: Single packet rcv'd =>dma_rcv_tasklet()ohci1394_0: Got phy packet ctx=0 ... discardedohci1394_0: IntEvent: 00010000ohci1394_0: SelfID interrupt received (phyid 0, root)ohci1394_0: SelfID packet 0x807f8956 receivedohci1394_0: SelfID for this node is 0x807f8956ohci1394_0: SelfID completeohci1394_0: PhyReqFilter=ffffffffffffffffohci1394_0: Inserting packet for node 0-63:1023, tlabel=1, tcode=0x0, speed=0 =>insert_packet()ohci1394_0: Starting transmit DMA ctx=0 =>dma_trm_flush()ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008011 =>ohci_irq_handler()ohci1394_0: Packet sent to node 63 tcode=0x0 tLabel=0x01 ack=0x11 spd=0 data=0x1F0000C0 ctx=0 =>dma_trm_tasklet()ohci1394_0: IntEvent: 00020010ohci1394_0: irq_handler: Bus reset requestedohci1394_0: Cancel request receivedohci1394_0: Got RQPkt interrupt status=0x00008409ohci1394_0: Single packet rcv'dohci1394_0: Got phy packet ctx=0 ... discardedohci1394_0: IntEvent: 00010000ohci1394_0: SelfID interrupt received (phyid 1, root)ohci1394_0: SelfID packet 0x807f815a receivedohci1394_0: SelfID packet 0x817f89d4 receivedohci1394_0: SelfID for this node is 0x817f89d4ohci1394_0: SelfID completeohci1394_0: PhyReqFilter=ffffffffffffffffohci1394_0: Cycle master enabled =>ohci_devctl()ohci1394_0: Inserting packet for node 0-00:1023, tlabel=28, tcode=0x4, speed=2 =>insert_packet()ohci1394_0: Starting transmit DMA ctx=0 =>dma_trm_flush()ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x1C ack=0x12 spd=0 data=0x00000000 ctx=0 =>dma_trm_tasklet()ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'dohci1394_0: Packet received from node 0 ack=0x11 spd=2 tcode=0x6 length=20 ctx=0 tlabel=6 =>dma_rcv_tasklet()ohci1394_0: Inserting packet for node 0-00:1023, tlabel=29, tcode=0x4, speed=2 =>insert_packet()ohci1394_0: Waking transmit DMA ctx=0 =>dma_trm_flush()ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x1D ack=0x12 spd=0 data=0x00000000 ctx=0ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'dohci1394_0: Packet received from node 0 ack=0x11 spd=2 tcode=0x6 length=20 ctx=0 tlabel=6ohci1394_0: Inserting packet for node 0-00:1023, tlabel=30, tcode=0x4, speed=2ohci1394_0: Waking transmit DMA ctx=0ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x1E ack=0x12 spd=0 data=0x00000000 ctx=0ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'dohci1394_0: Packet received from node 0 ack=0x11 spd=2 tcode=0x6 length=20 ctx=0 tlabel=6ohci1394_0: Inserting packet for node 0-00:1023, tlabel=31, tcode=0x4, speed=2ohci1394_0: Waking transmit DMA ctx=0ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x1F ack=0x12 spd=0 data=0x00000000 ctx=0ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'dohci1394_0: Packet received from node 0 ack=0x11 spd=2 tcode=0x6 length=20 ctx=0 tlabel=6ohci1394_0: Inserting packet for node 0-00:1023, tlabel=32, tcode=0x4, speed=2ohci1394_0: Waking transmit DMA ctx=0ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x20 ack=0x12 spd=0 data=0x00000000 ctx=0ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'dohci1394_0: Packet received from node 0 ack=0x11 spd=2 tcode=0x6 length=20 ctx=0 tlabel=6ohci1394_0: Inserting packet for node 0-00:1023, tlabel=33, tcode=0x4, speed=2ohci1394_0: Waking transmit DMA ctx=0ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x21 ack=0x12 spd=0 data=0x00000000 ctx=0ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'dohci1394_0: Packet received from node 0 ack=0x11 spd=2 tcode=0x6 length=20 ctx=0 tlabel=6ohci1394_0: Inserting packet for node 0-00:1023, tlabel=34, tcode=0x4, speed=2ohci1394_0: Waking transmit DMA ctx=0ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x22 ack=0x12 spd=0 data=0x00000000 ctx=0ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'dohci1394_0: Packet received from node 0 ack=0x11 spd=2 tcode=0x6 length=20 ctx=0 tlabel=6ohci1394_0: Inserting packet for node 0-00:1023, tlabel=35, tcode=0x4, speed=2ohci1394_0: Waking transmit DMA ctx=0ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x23 ack=0x12 spd=0 data=0x00000000 ctx=0ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'dohci1394_0: Packet received from node 0 ack=0x11 spd=2 tcode=0x6 length=20 ctx=0 tlabel=6ohci1394_0: Inserting packet for node 0-00:1023, tlabel=36, tcode=0x4, speed=2ohci1394_0: Waking transmit DMA ctx=0ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x24 ack=0x12 spd=0 data=0x00000000 ctx=0ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'dohci1394_0: Packet received from node 0 ack=0x11 spd=2 tcode=0x6 length=20 ctx=0 tlabel=6ohci1394_0: Inserting packet for node 0-00:1023, tlabel=37, tcode=0x4, speed=2ohci1394_0: Waking transmit DMA ctx=0ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x25 ack=0x12 spd=0 data=0x00000000 ctx=0ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'dohci1394_0: Packet received from node 0 ack=0x11 spd=2 tcode=0x6 length=20 ctx=0 tlabel=6ohci1394_0: Inserting packet for node 0-00:1023, tlabel=38, tcode=0x4, speed=2ohci1394_0: Waking transmit DMA ctx=0ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x26 ack=0x12 spd=0 data=0x00000000 ctx=0ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'dohci1394_0: Packet received from node 0 ack=0x11 spd=2 tcode=0x6 length=20 ctx=0 tlabel=6ohci1394_0: Inserting packet for node 0-00:1023, tlabel=39, tcode=0x4, speed=2ohci1394_0: Waking transmit DMA ctx=0ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x27 ack=0x12 spd=0 data=0x00000000 ctx=0ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'dohci1394_0: Packet received from node 0 ack=0x11 spd=2 tcode=0x6 length=20 ctx=0 tlabel=6ohci1394_0: Inserting packet for node 0-00:1023, tlabel=40, tcode=0x4, speed=2ohci1394_0: Waking transmit DMA ctx=0ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x28 ack=0x12 spd=0 data=0x00000000 ctx=0ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'dohci1394_0: Packet received from node 0 ack=0x11 spd=2 tcode=0x6 length=20 ctx=0 tlabel=7ohci1394_0: Inserting packet for node 0-00:1023, tlabel=41, tcode=0x4, speed=2ohci1394_0: Waking transmit DMA ctx=0ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x29 ack=0x12 spd=0 data=0x00000000 ctx=0ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'dohci1394_0: Packet received from node 0 ack=0x11 spd=2 tcode=0x6 length=20 ctx=0 tlabel=7ohci1394_0: Inserting packet for node 0-00:1023, tlabel=42, tcode=0x4, speed=2ohci1394_0: Waking transmit DMA ctx=0ohci1394_0: IntEvent: 00000001ohci1394_0: Got reqTxComplete interrupt status=0x00008012ohci1394_0: Packet sent to node 0 tcode=0x4 tLabel=0x2A ack=0x12 spd=0 data=0x00000000 ctx=0ohci1394_0: IntEvent: 00000020ohci1394_0: Got RSPkt interrupt status=0x00008451ohci1394_0: Single packet rcv'd
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -