From: Russell King Date: Fri, 6 May 2005 09:19:09 +0000 (+0100) Subject: [PATCH] 8250_pci.c: add comment about enum sorting order X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f1690f37a526d46aa4eb55e832346a531ba850dd;p=openwrt%2Fstaging%2Fblogic.git [PATCH] 8250_pci.c: add comment about enum sorting order Signed-off-by: Russell King --- diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c index f8d90d0ecfea..de54bdc5398b 100644 --- a/drivers/serial/8250_pci.c +++ b/drivers/serial/8250_pci.c @@ -1009,6 +1009,8 @@ get_pci_irq(struct pci_dev *dev, struct pci_board *board, int idx) * n = number of serial ports * baud = baud rate * + * This table is sorted by (in order): baud, bt, bn, n. + * * Please note: in theory if n = 1, _bt infix should make no difference. * ie, pbn_b0_1_115200 is the same as pbn_b0_bt_1_115200 */