Special handling of SiS south bridges in
Hi Jean:
Quoted 20 lines · Jean Delvare
Hi Mark,
Now that support for Linux 2.4 has been dropped from sensors-detect, I am looking at possible clean-ups. One thing I am curious about is the handling of SiS south bridges. I remember that these required special handling for Linux 2.4 because they were all showing up with the same PCI ID. However I am surprised that we still have the following code even for Linux 2.6, where I seem to understand that PCI quirks in the kernel are taking care of revealing the actual device:
sub
adapter_pci_detection_sis_96x{ # Add the appropriate entries to @pci_adapters if (exists $pci_list{'1039:0016'}) { push @pci_adapters, @pci_adapters_sis96x; } elsif (exists $pci_list{'1039:0008'}) { push @pci_adapters, @pci_adapters_sis5595; } }
Quoted 1 line
Can this go away now?
Very early 2.6.x did not yet have the SiS quirks code... so this was at one time still necessary.
But yes, IMO this can go away now.
Regards,
Signature · 8 lines
Mark M. Hoffman [email protected] _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors
Quoted 23 lines · Mark M. Hoffman
Hi Jean:
Quoted 20 lines · Jean Delvare
Hi Mark,
Now that support for Linux 2.4 has been dropped from sensors-detect, I am looking at possible clean-ups. One thing I am curious about is the handling of SiS south bridges. I remember that these required special handling for Linux 2.4 because they were all showing up with the same PCI ID. However I am surprised that we still have the following code even for Linux 2.6, where I seem to understand that PCI quirks in the kernel are taking care of revealing the actual device:
sub
adapter_pci_detection_sis_96x{ # Add the appropriate entries to @pci_adapters if (exists $pci_list{'1039:0016'}) { push @pci_adapters, @pci_adapters_sis96x; } elsif (exists $pci_list{'1039:0008'}) { push @pci_adapters, @pci_adapters_sis5595; } }
Quoted 6 lines
Quoted 1 line
Can this go away now?
Very early 2.6.x did not yet have the SiS quirks code... so this was at one time still necessary.
But yes, IMO this can go away now.
I just check and apparently the quirk went into kernel 2.6.0-test10, and was fixed in 2.6.5. It happens that kernel 2.6.5 is the first one we claim to support in lm-sensors 3.x. So indeed the sensors-detect quirk can go away.
Thanks,
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors