serial pci driver
Hi,
Can some one help me to understand the function of reg_shift in thepci_board structure and how it is used? Thanks for your help.
Ananda Krishnan.
Quoted 2 lines · V. ANANDA KRISHNAN
Can some one help me to understand the function of
reg_shiftin thepci_boardstructure and how it is used? Thanks for your help.
It represents the log2 byte spacing between each register of the serial port. Some serial ports are wired up such that the registers are sparsely mapped into memory space, so reg_shift tells the serial driver about this.
Signature · 3 lines
Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core