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-Tag: v2.6.12-rc4~20^2 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1690f37a526d46aa4eb55e832346a531ba850dd;p=linux-2.6 [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 f8d90d0ecf..de54bdc539 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 */