On Sun, Feb 06, 2005 at 03:26:15PM +0100, Jean Delvare wrote: > Hi Enrico, > > Sorry for the delay. > > > I have a board with the ALI M7101 chip, but I can't activate it in > > BIOS. I tried to compile the prog/hotplug/m7101.c but I seen that > > this is only for 2.4 Kernels. Is there a module for 2.6? > > The prog/hotplug/m7101.c (from the lm_sensors project) was a quick hack > and only works with 2.4 kernels, as you noticed. For 2.6 kernels, the > prefered solution is known as PCI quirks (drivers/pci/quirks.c). I can > see that you already found that and proposed a patch for the 2.6 kernel > here: > http://marc.theaimsgroup.com/?l=linux-kernel&m=110606482902883 > > Maarten Deprez then converted it to the proper kernel coding-style: > http://marc.theaimsgroup.com/?l=linux-kernel&m=110726276414532 > > I invite you to test the new patch and confirm that it works for you. > > Any chance we could get the PCI folks to review the code and push it > upwards if it is OK? I need it resent with the fixes, and a "Signed-off-by:" line to do that :) Also, a pci_get_* is called without a matching put. thanks, greg k-h