Messages in this thread | | | Date | Tue, 26 Jul 2005 17:33:39 +0100 | From | Russell King <> | Subject | Re: serial pci driver |
| |
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 - http://www.arm.linux.org.uk/ 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |