Skip to contentSkip to conversation

remove old ifdef'd code from

patch-kj maximilian attems 2 participants 5 messages Jun 21, 2004 – Jun 22, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

From: Domen Puncer <[email protected]>
Patches to remove some old ifdefs.

---

 linux-2.6.7-max/drivers/scsi/dc390.h |    7 +------
 1 files changed, 1 insertion(+), 6 deletions(-)
drivers/scsi/dc390.h renamed from drivers/scsi/dc390.h~remove-old-ifdefs-dc390 +1 -6
diff -puN drivers/scsi/dc390.h~remove-old-ifdefs-dc390 drivers/scsi/dc390.h
@@ -13,11 +13,6 @@
 #ifndef DC390_H
 #define DC390_H
 
-#include <linux/version.h>
-#ifndef KERNEL_VERSION
-# define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
-#endif
-
 #define DC390_BANNER "Tekram DC390/AM53C974"
 #define DC390_VERSION "2.1b 2004-04-13"
 
@@ -26,7 +21,7 @@
  * So long: Use old exception handling :-( */
 #define OLD_EH
 
-#if LINUX_VERSION_CODE < KERNEL_VERSION (2,1,70) || defined (OLD_EH)
+#ifdef OLD_EH
 # define NEW_EH
 #else
 # define NEW_EH use_new_eh_code: 1,

_

#2 lore raw

hello Christoph,

thanks for the feedback.

Quoted 9 lines · Christoph Hellwig
Quoted 4 lines · maximilian attems

From: Domen Puncer <[email protected]>
Patches to remove some old ifdefs.

While the changes are okay, this driver is beeing changed rapidly and I have a patch pending that's a supertset of yours. So please don't apply James.

are you referring to the dc390 driver patches? what about the aic7xxx and the aic79xx?
please precise so that i can drop from next kj patch set the ones you are working on.

a++ max

#3 lore raw
Quoted 5 lines · maximilian attems
Quoted 3 lines

While the changes are okay, this driver is beeing changed rapidly and I have a patch pending that's a supertset of yours. So please don't apply James.

are you referring to the dc390 driver patches?

Yes.

Quoted 1 line

what about the aic7xxx and the aic79xx?

There have been rumors on linux-scsi that adaptec is starting to maintain them again. OTOH they'll need to redo their patches in small steps anyway so your patches look fine to me.

#4 lore raw
Quoted 8 lines · Christoph Hellwig
Quoted 5 lines · maximilian attems
Quoted 3 lines

While the changes are okay, this driver is beeing changed rapidly and I have a patch pending that's a supertset of yours. So please don't apply James.

are you referring to the dc390 driver patches?

Yes.

ok i'll drop that.

Quoted 5 lines
Quoted 1 line

what about the aic7xxx and the aic79xx?

There have been rumors on linux-scsi that adaptec is starting to maintain them again. OTOH they'll need to redo their patches in small steps anyway so your patches look fine to me.

thanks for the review,
so i'll sent them to andrew.

a++ maks