|
Linux 开机程序之研讨(8) # ${SETSERIAL} /dev/cua8 ${AUTO_IRQ} autoconfig ${SETSERIAL} /dev/cua9 ${AUTO_IRQ} autoconfig ${SETSERIAL} /dev/cua10 ${AUTO_IRQ} autoconfig ${SETSERIAL} /dev/cua11 ${AUTO_IRQ} autoconfig
## 从这里以下 , 我省略了一大段 , 因为这一大段都是支援特殊的卡
# These are the 3rd and 4th ports on the Accent Async board. # #${SETSERIAL} /dev/cua12 ${AUTO_IRQ} autoconfig #${SETSERIAL} /dev/cua13 ${AUTO_IRQ} autoconfig #
. . . . . . .
## 好了 , 我们跳掉了一大段 , 直到这里 . 各位看到下面的注解了 . ## 假如你想用手动的方法指定 IRQ , I/O port , 及指定 chip 的型别 ## 那你可以拿掉下面对应那行前面的 '#' 并作适当的修改 , 比如说 ## 你用的是比较新的 16550 或 16550A , 而不是 16450 , 那你就可以 ## 在下面用手动的方法指定 . 实际上 , 用 autoconfig 及 autoirq ## 的选项就可以了 , 没有必要用手动的方式 . 除非侦测不到 .
############################################################### # # MANUAL CONFIGURATION # # If you want to do manual configuration of one or more of your # serial ports, uncomment and modify the relevant lines. # ###############################################################
# These are the standard COM1 through COM4 devices # #${SETSERIAL} /dev/cua0 uart 16450 port 0x3F8 irq 4 #${SETSERIAL} /dev/cua1 uart 16450 port 0x2F8 irq 3 #${SETSERIAL} /dev/cua2 uart 16450 port 0x3E8 irq 4 #${SETSERIAL} /dev/cua3 uart 16450 port 0x2E8 irq 3
. . . .
|