|
机器中插有两块PCI NETMOS串口卡,可是系统只能找到四个串口,自己无法添加,请问要如何正确添加:
DEV 中只能找到ttyS0 ttyS1 ttyS2 ttyS3,所以试加加入4,执行命令:
#mknod ttyS4 c 245 4
后执行
/bin/setserial /dev/ttyS4 port 0x9000 irq 18 uart 16550A
出现:
/dev/ttyS4: No such device or address
附more /proc/pci信息
PCI devices found:
Bus 0, device 0, function 0:
Class 0600: PCI device 8086:2770 (rev 129).
Bus 0, device 1, function 0:
Class 0604: PCI device 8086:2771 (rev 129).
IRQ 16.
Master Capable. No bursts. Min Gnt=10.
Bus 0, device 27, function 0:
Class 0403: PCI device 8086:27d8 (rev 1).
IRQ 17.
Non-prefetchable 64 bit memory at 0xcdcf8000 [0xcdcfbfff].
Bus 0, device 28, function 0:
Class 0604: PCI device 8086:27d0 (rev 1).
IRQ 16.
Master Capable. No bursts. Min Gnt=6.
Bus 0, device 28, function 3:
Class 0604: PCI device 8086:27d6 (rev 1).
IRQ 17.
Master Capable. No bursts. Min Gnt=6.
Bus 0, device 29, function 0:
Class 0c03: PCI device 8086:27c8 (rev 1).
IRQ 19.
I/O at 0x3000 [0x301f].
Bus 0, device 29, function 1:
Class 0c03: PCI device 8086:27c9 (rev 1).
IRQ 22.
I/O at 0x3400 [0x341f].
Bus 0, device 29, function 2:
Class 0c03: PCI device 8086:27ca (rev 1).
IRQ 23.
I/O at 0x3800 [0x381f].
Bus 0, device 29, function 3:
Class 0c03: PCI device 8086:27cb (rev 1).
IRQ 17.
I/O at 0x4000 [0x401f].
Bus 0, device 30, function 0:
Class 0604: PCI device 8086:244e (rev 225).
Master Capable. No bursts. Min Gnt=6.
Bus 0, device 31, function 0:
Class 0601: PCI device 8086:27b8 (rev 1).
Bus 0, device 31, function 1:
Class 0101: PCI device 8086:27df (rev 1).
IRQ 18.
I/O at 0xffa0 [0xffaf].
Bus 0, device 31, function 2:
Class 0101: PCI device 8086:27c0 (rev 1).
IRQ 20.
I/O at 0x5800 [0x5807].
I/O at 0x5400 [0x5403].
I/O at 0x5000 [0x5007].
I/O at 0x4800 [0x4803].
I/O at 0x4400 [0x440f].
Non-prefetchable 32 bit memory at 0xcdcffc00 [0xcdcfffff].
Bus 0, device 31, function 3:
Class 0c05: PCI device 8086:27da (rev 1).
IRQ 3.
I/O at 0x400 [0x41f].
Bus 4, device 0, function 0:
Class 0300: PCI device 10de:0161 (rev 161).
IRQ 11.
Non-prefetchable 32 bit memory at 0xcf000000 [0xcfffffff].
Prefetchable 64 bit memory at 0xd0000000 [0xdfffffff].
Non-prefetchable 64 bit memory at 0xce000000 [0xceffffff].
Bus 2, device 0, function 0:
Class 0200: PCI device 11ab:4362 (rev 25).
IRQ 17.
Non-prefetchable 64 bit memory at 0xcdefc000 [0xcdefffff].
I/O at 0xc800 [0xc8ff].
Bus 1, device 1, function 0:
Class 0780: PCI device 9710:9835 (rev 1).
IRQ 21.
Master Capable. Latency=64.
I/O at 0x8000 [0x8007].
I/O at 0x7800 [0x7807].
I/O at 0x7400 [0x7407].
I/O at 0x7000 [0x7007].
I/O at 0x6800 [0x6807].
I/O at 0x6400 [0x640f].
Bus 1, device 2, function 0:
Class 0700: PCI device 9710:9845 (rev 1).
IRQ 18.
Master Capable. Latency=64.
I/O at 0xa000 [0xa007].
I/O at 0x9800 [0x9807].
I/O at 0x9400 [0x9407].
I/O at 0x9000 [0x9007].
I/O at 0x8800 [0x8807].
I/O at 0x8400 [0x840f].
Bus 1, device 3, function 0:
Class 0180: PCI device 1283:8211 (rev 17).
IRQ 19.
Master Capable. No bursts. Min Gnt=8.Max Lat=8.
I/O at 0xb800 [0xb807].
I/O at 0xb400 [0xb403].
I/O at 0xb000 [0xb007].
I/O at 0xa800 [0xa803].
I/O at 0xa400 [0xa40f]. |
|