BCM Drive Analysis

Source: Internet
Author: User

The DHD driver layer dhd_xxx.c calls the bus Sdio drive layer bcmsdh_sdio_xxx.c and then calls the Fifo,buf,reg of the controller layer and other TX RX operations. In this series of calls, memory, IO,DMA, interrupts and other operations will use some of the OS interface and structure.

Like a generic network driver, the process of the BCM driver, TX data, is to write the Skb_buff data on the hardware header to the TX FIFO or Reg, write to the data Len, and then wait for the hardware TX, which interrupts the CPU after the hardware TX, and then the CPU continues to fill the packet.

The RX data process is when the hardware receives data that interrupts the CPU, initiates an interrupt Isr,isr or skbuff the structure in the Tasklet or work_struct and removes the hardware header, handing it over to the Netif_rx interface, which commits the upper-layer protocol to strip the packet.


BCM Drive Analysis

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.