[ltp] lt_hotswap / kernel 2.6.23.1

Pezhman Givy linux-thinkpad@linux-thinkpad.org
Tue, 06 Nov 2007 13:30:19 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

is there any patch for lt_hotswap to build with kernel 2.6.23?

I receive following errors trying to build lt_hotswap-0.3.6 against
kernel 2.6.23:


make -C /lib/modules/`uname -r`/build SUBDIRS=/tmp/lt_hotswap-0.3.6 modules
make[1]: Entering directory `/usr/src/linux-2.6.23.1'
  CC [M]  /tmp/lt_hotswap-0.3.6/lt_hotswap.o
/tmp/lt_hotswap-0.3.6/lt_hotswap.c: In function ‘lths_scan_ide’:
/tmp/lt_hotswap-0.3.6/lt_hotswap.c:477: error: implicit declaration of
function ‘create_proc_ide_interfaces’
/tmp/lt_hotswap-0.3.6/lt_hotswap.c: In function ‘lths_ide_notify’:
/tmp/lt_hotswap-0.3.6/lt_hotswap.c:531: error: implicit declaration of
function ‘acpi_bus_generate_event’
make[2]: *** [/tmp/lt_hotswap-0.3.6/lt_hotswap.o] Error 1
make[1]: *** [_module_/tmp/lt_hotswap-0.3.6] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23.1'
make: *** [default] Error 2


Or is there a replacement for lt_hotswap in recent kernels preserving
DMA after swapping a IDE device? BTW: Using ata_piix is no option.

Thanks


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHMF5byAULZZo47aMRAuOfAJ9Kswg8u8QHuZPqulsVj7BmJEBKuACfVshA
XR3SC4qcYDtVnzUgy6TKLtk=
=Ihr0
-----END PGP SIGNATURE-----