|
当驱动作为模块时, interrupts
8: 1 XT-PIC rtc
9: 82267 XT-PIC usb-uhci, ymfpci
10: 1963 XT-PIC eth0
12: 55291 XT-PIC PS/2 Mouse
lsdev:
eth0 10
keyboard 1 0060-006f
Macronix, 1000-10ff 网卡驱动
Mouse 12
parport0 0378-037a 037b-037f
PCI 0cf8-0cff
pic1 0020-003f
pic2 00a0-00bf
rtc 8 0070-007f
serial 03f8-03ff
timer 0 0040-005f
tulip 1000-10ff
usb-uhci 1400-141f
vga+ 03c0-03df
ymfpci 9
但当驱动编译进内核时, interrupts
9: 0 XT-PIC ymfpci, usb-uhci
而
rtc, eth0, mouse 都没分配中断,
lsdev:
Macronix, 1000-10ff (网卡驱动
PCI 0cf8-0cff
pic1 0020-003f
pic2 00a0-00bf
serial 03f8-03ff
timer 0 0040-005f
usb-uhci 9 1400-141f |
|