apic Causing issues with my driver
I wrote a driver for a PCI device a few years ago under the 2.4.x kernel. It had been happily working until my customer went to the 2.6.x kernel, more specifically the 2.6.9-42.0.2 from Red Hat. Apprently apic is now enabled by default and it seems that when enabled the interrupts for the card are no longer delivered to the driver. Simply setting the option to noapic eliminates the problem. Is there something new that I need to be doing in the driver to better handle the conditions present when apic is enabled?
A second question, also related to my driver environment and the kernel upgrade, is the use of udev. Under the 2.4.x kernels my device special files were static and all was good. I would like to take advantage of udev and incorporate a rule for my device driver that will allow udev to locate my device and take actions appropriate for it. I have made attempts which have all failed to fire for unknown reasons. I know the vendor ID code and vendor product ID code but cannot get a match. I can find no examples of pci based rules. Can anyone help. I am including the output from lspci and my feeble attempt at a udev rule for the device in question. (Kinetic Systems controller).
[root@ipactrhel boot]# lscpi
-bash: lscpi: command not found
[root@ipactrhel boot]# lspci
00:00.0 Host bridge: Intel Corporation 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
00:01.0 PCI bridge: Intel Corporation 82845 845 (Brookdale) Chipset AGP Bridge (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 05)
00:1f.0 ISA bridge: Intel Corporation 82801BA ISA Bridge (LPC) (rev 05)
00:1f.1 IDE interface: Intel Corporation 82801BA IDE U100 (rev 05)
00:1f.2 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #1) (rev 05)
00:1f.3 SMBus: Intel Corporation 82801BA/BAM SMBus (rev 05)
00:1f.4 USB Controller: Intel Corporation 82801BA/BAM USB (Hub #2) (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation NV11DDR [GeForce2 MX 100 DDR/200 DDR] (rev b2)
02:08.0 Ethernet controller: Intel Corporation 82801BA/BAM/CA/CAM Ethernet Controller (rev 03)
02:0a.0 Class ff00: Kinetic Systems Corporation: Unknown device 2962 (rev 01)
My rule file is /etc.udev/rules.d/10-local-udev.rules and its contents are:
BUS="pci", SYSFS{idVendor}="11f4", SYSFS{idProduct}="2962",NAME="ksc9a"
Thank you in advance.
|