Re: serial pci driver

From: Russell King
Date: Tue Jul 26 2005 - 11:38:46 EST

On Tue, Jul 26, 2005 at 11:01:30AM -0500, V. ANANDA KRISHNAN wrote:
> 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.

Russell King
Linux kernel 2.6 ARM Linux -
maintainer of: 2.6 Serial core
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at