Skip to contentSkip to conversation

serial pci driver

DISCUSSION V. ANANDA KRISHNAN 2 participants 2 messages Jul 26, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

Can some one help me to understand the function of reg_shift in the
pci_board structure and how it is used? Thanks for your help.

Ananda Krishnan.

#1 lore raw
Quoted 2 lines · V. ANANDA KRISHNAN

Can some one help me to understand the function of reg_shift in the
pci_board structure 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