|
FC4下怎样获得串口的地址和IRQ?
google一下,据说/proc/pci下有其信息
但我的FC4下的没有:(
/proc/pci
- PCI devices found:
- Bus 0, device 0, function 0:
- Class 0600: PCI device 8086:2770 (rev 2).
- Bus 0, device 1, function 0:
- Class 0604: PCI device 8086:2771 (rev 2).
- IRQ 185.
- Master Capable. No bursts. Min Gnt=10.
- Bus 0, device 27, function 0:
- Class 0403: PCI device 8086:27d8 (rev 1).
- IRQ 169.
- Non-prefetchable 64 bit memory at 0xefffc000 [0xefffffff].
- Bus 0, device 28, function 0:
- Class 0604: PCI device 8086:27d0 (rev 1).
- IRQ 193.
- Master Capable. No bursts. Min Gnt=2.
- Bus 0, device 29, function 0:
- Class 0c03: PCI device 8086:27c8 (rev 1).
- IRQ 209.
- I/O at 0xff80 [0xff9f].
- Bus 0, device 29, function 1:
- Class 0c03: PCI device 8086:27c9 (rev 1).
- IRQ 217.
- I/O at 0xff60 [0xff7f].
- Bus 0, device 29, function 2:
- Class 0c03: PCI device 8086:27ca (rev 1).
- IRQ 225.
- I/O at 0xff40 [0xff5f].
- Bus 0, device 29, function 3:
- Class 0c03: PCI device 8086:27cb (rev 1).
- IRQ 233.
- I/O at 0xff20 [0xff3f].
- Bus 0, device 29, function 7:
- Class 0c03: PCI device 8086:27cc (rev 1).
- IRQ 209.
- Non-prefetchable 32 bit memory at 0xffa80800 [0xffa80bff].
- Bus 0, device 30, function 0:
- Class 0604: PCI device 8086:244e (rev 225).
- Master Capable. No bursts. Min Gnt=2.
- 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 169.
- I/O at 0xffa0 [0xffaf].
- Bus 0, device 31, function 2:
- Class 0101: PCI device 8086:27c0 (rev 1).
- IRQ 201.
- I/O at 0xfe00 [0xfe07].
- I/O at 0xfe10 [0xfe13].
- I/O at 0xfe20 [0xfe27].
- I/O at 0xfe30 [0xfe33].
- I/O at 0xfea0 [0xfeaf].
- Non-prefetchable 32 bit memory at 0x40000000 [0x400003ff].
- Bus 0, device 31, function 3:
- Class 0c05: PCI device 8086:27da (rev 1).
- IRQ 9.
- I/O at 0xece0 [0xecff].
- Bus 1, device 0, function 0:
- Class 0300: PCI device 1002:5b62 (rev 0).
- IRQ 169.
- Prefetchable 64 bit memory at 0xe0000000 [0xe7ffffff].
- Non-prefetchable 64 bit memory at 0xefde0000 [0xefdeffff].
- I/O at 0xdc00 [0xdcff].
- Bus 1, device 0, function 1:
- Class 0380: PCI device 1002:5b72 (rev 0).
- Non-prefetchable 64 bit memory at 0xefdf0000 [0xefdfffff].
- Bus 3, device 2, function 0:
- Class 9835: PCI device 9500:9835 (rev 8).
- IRQ 255.
- Master Capable. No bursts. Min Gnt=255.Max Lat=255.
- Bus 3, device 8, function 0:
- Class 0200: PCI device 8086:27dc (rev 1).
- IRQ 201.
- Master Capable. Latency=64. Min Gnt=8.Max Lat=56.
- Non-prefetchable 32 bit memory at 0xefbff000 [0xefbfffff].
- I/O at 0xccc0 [0xccff].
复制代码
/proc/tty/driver/serial
- serinfo:1.0 driver revision:
- 0: uart:unknown port:000003F8 irq:4
- 1: uart:unknown port:000002F8 irq:3
- 2: uart:unknown port:000003E8 irq:4
- 3: uart:unknown port:000002E8 irq:3
- 4: uart:unknown port:000001A0 irq:9
- 5: uart:unknown port:000001A8 irq:9
- 6: uart:unknown port:000001B0 irq:9
- 7: uart:unknown port:000001B8 irq:9
- 8: uart:unknown port:000002A0 irq:5
- 9: uart:unknown port:000002A8 irq:5
- 10: uart:unknown port:000002B0 irq:5
- 11: uart:unknown port:000002B8 irq:5
- 12: uart:unknown port:00000330 irq:4
- 13: uart:unknown port:00000338 irq:4
- 14: uart:unknown port:00000000 irq:0
- 15: uart:unknown port:00000000 irq:0
- 16: uart:unknown port:00000100 irq:12
- 17: uart:unknown port:00000108 irq:12
- 18: uart:unknown port:00000110 irq:12
- 19: uart:unknown port:00000118 irq:12
- 20: uart:unknown port:00000120 irq:12
- 21: uart:unknown port:00000128 irq:12
- 22: uart:unknown port:00000130 irq:12
- 23: uart:unknown port:00000138 irq:12
- 24: uart:unknown port:00000140 irq:12
- 25: uart:unknown port:00000148 irq:12
- 26: uart:unknown port:00000150 irq:12
- 27: uart:unknown port:00000158 irq:12
- 28: uart:unknown port:00000160 irq:12
- 29: uart:unknown port:00000168 irq:12
- 30: uart:unknown port:00000170 irq:12
- 31: uart:unknown port:00000178 irq:12
- 32: uart:unknown port:00000302 irq:3
- 33: uart:unknown port:00000302 irq:3
- 34: uart:unknown port:00000302 irq:3
- 35: uart:unknown port:00000302 irq:3
- 36: uart:unknown port:00000302 irq:3
- 37: uart:unknown port:00000302 irq:3
- 38: uart:unknown port:00000302 irq:3
- 39: uart:unknown port:00000302 irq:3
- 40: uart:unknown port:00000302 irq:3
- 41: uart:unknown port:00000302 irq:3
- 42: uart:unknown port:00000302 irq:3
- 43: uart:unknown port:00000302 irq:3
- 44: uart:unknown port:00000000 irq:0
- 45: uart:unknown port:00000000 irq:0
- 46: uart:unknown port:00000000 irq:0
- 47: uart:unknown port:00000000 irq:0
- 48: uart:unknown port:00000000 irq:0
- 49: uart:unknown port:00000000 irq:0
- 50: uart:unknown port:00000000 irq:0
- 51: uart:unknown port:00000000 irq:0
- 52: uart:unknown port:00000000 irq:0
- 53: uart:unknown port:00000000 irq:0
- 54: uart:unknown port:00000000 irq:0
- 55: uart:unknown port:00000000 irq:0
- 56: uart:unknown port:00000000 irq:0
- 57: uart:unknown port:00000000 irq:0
- 58: uart:unknown port:00000000 irq:0
- 59: uart:unknown port:00000000 irq:0
- 60: uart:unknown port:00000000 irq:0
- 61: uart:unknown port:00000000 irq:0
- 62: uart:unknown port:00000000 irq:0
- 63: uart:unknown port:00000000 irq:0
- 64: uart:unknown port:00000000 irq:0
- 65: uart:unknown port:00000000 irq:0
- 66: uart:unknown port:00000000 irq:0
- 67: uart:unknown port:00000000 irq:0
- 68: uart:unknown port:00000000 irq:0
- 69: uart:unknown port:00000000 irq:0
- 70: uart:unknown port:00000000 irq:0
- 71: uart:unknown port:00000000 irq:0
- 72: uart:unknown port:00000000 irq:0
- 73: uart:unknown port:00000000 irq:0
- 74: uart:unknown port:00000000 irq:0
- 75: uart:unknown port:00000000 irq:0
复制代码 |
|