Explorar o código

[PATCH] 8250_pci.c: add comment about enum sorting order

Signed-off-by: Russell King <rmk@arm.linux.org.uk>
Russell King %!s(int64=20) %!d(string=hai) anos
pai
achega
f1690f37a5
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      drivers/serial/8250_pci.c

+ 2 - 0
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
  */