Re: Linux 2.4.19-ac4

Tomas Szepe
2002-08-05T18:40:13Z

> > The IDE debugging continues. -ac4 should fix the breakages in ac2/ac3. It
> > hopefully also fixes the ALi hangs with non ALi north bridges (mostly
> > Transmeta boxes).
>
> It is a nice shrubbery, but there is one small problem!!
>
> # depmod -ae -F /boot/System.map-2.4.19-ac4 2.4.19-ac4
> depmod: *** Unresolved symbols in /lib/modules/2.4.19-ac4/kernel/drivers/ide/ide-mod.o
> depmod: pci_enable_device_bars

Why not ask Roger the Shrubber?

diff -urN linux-2.4.19-ac4/drivers/ide/ide-pci.c linux-2.4.19-ac4.n/drivers/ide/ide-pci.c
--- linux-2.4.19-ac4/drivers/ide/ide-pci.c 2002-08-05 20:41:59.000000000 +0200
+++ linux-2.4.19-ac4.n/drivers/ide/ide-pci.c 2002-08-05 20:28:31.000000000 +0200
@@ -693,7 +693,7 @@
}

if (pci_enable_device(dev)) {
- if(pci_enable_device_bars(dev, 1<<4))
+ if (pci_enable_device_bars(dev, 1 << 4))
{
printk(KERN_WARNING "%s: (ide_setup_pci_device:) "
"Could not enable device.\n", d->name);
diff -urN linux-2.4.19-ac4/drivers/pci/pci.c linux-2.4.19-ac4.n/drivers/pci/pci.c
--- linux-2.4.19-ac4/drivers/pci/pci.c 2002-08-05 20:42:00.000000000 +0200
+++ linux-2.4.19-ac4.n/drivers/pci/pci.c 2002-08-05 20:28:21.000000000 +0200
@@ -2082,6 +2082,7 @@
EXPORT_SYMBOL(pci_write_config_dword);
EXPORT_SYMBOL(pci_devices);
EXPORT_SYMBOL(pci_root_buses);
+EXPORT_SYMBOL(pci_enable_device_bars);
EXPORT_SYMBOL(pci_enable_device);
EXPORT_SYMBOL(pci_disable_device);
EXPORT_SYMBOL(pci_find_capability);