This release contains a updates required for usage against >= v2.6.17
kernels. Usually kernel folks frown on adding CPP macros checking for
LINUX_VERSION_CODE, but unfortuately in order to keep backwards
compatibility w/ pre v2.6.17 kernels this is what we have to deal with.
Thanks!
--nab
CHANGELOG:
v1.6.2.7 -> v1.6.2.8
Added support for eh_timed_out() and eh_strategy_handler() move from
struct scsi_host_template to struct scsi_transport.
http://www.kernel.org/pub/linux/kernel/people/nab/iscsi-initiator-core/core-iscsi-v1.6.2.8.tar.bz2
I haven't looked at the new source yet, but wanted to point out that
I'm having this issue with 2.6.16.13 and it was reported earlier with
2.6.16.5 (see
http://groups.google.com/group/Core-iSCSI/browse_thread/thread/e3f9a7d11893586c/708ab9da7a1b1690?q=suse&rnum=1#708ab9da7a1b1690
). I'm not sure just checking the version is enough; we may have to
figure out whether it lives in scsi_host_template or scsi_transport and
base the makefile on that (yes, this can make for ugly code).
If you don't want to manage it via a kludge, please mention and we'll
patch the code by hand (which is even uglier).
Best wishes,
Maz
The KERNEL_VERSION() macro only checks for 2-point releases. I believe
this change went in somewhere early in v2.6.16.x, so we could always
replace this with checking for the presence of the structure members in
question in include/scsi/scsi_transport.h which will be much cleaner.
--nab
Ok, I replaced the usage of LINUX_VERSION_CODE with a
USE_SCSI_TRANSPORT_H define that Makefile sets when the eh_timed_out
structure member is present in struct scsi_transport.
I just replaced this in v1.6.2.8 and reuploaded. It should be online
shortly.
Thanks!
--nab
Albert