Oops. Two small patches (-u)

Ranaur the Elven Warlock (ranaur@elbereth.ranaur.org.rdc.puc-rio.br)
Mon, 9 Mar 1998 20:45:25 -0300 (EST)


Sorry people.

I forgot to sent the patches unified format. Here are them in a
human-readable format ;-). I hope I hadn't abused the patience of anyone.
;-)

--- drivers/scsi/pci2000.c Sun Mar 8 17:08:35 1998
+++ drivers/scsi/pci2000.c.old Mon Mar 9 20:21:25 1998
@@ -653,7 +653,7 @@

#ifdef MODULE
/* Eventually this will go into an include file, but this will be later */
-Scsi_Host_Template driver_template = PCI2000;
+Scsi_Host_Template driver_template = PCI2200I;

#include "scsi_module.c"
#endif
--- drivers/scsi/gdth_proc.c Sun Mar 8 17:35:29 1998
+++ drivers/scsi/gdth_proc.c.old Sun Mar 8 17:25:42 1998
@@ -2,7 +2,6 @@
* $Id: gdth_proc.c,v 1.6 1997/10/31 10:36:24 achim Exp $
*/

-#define GDTH_TIMER 31
#include "gdth_ioctl.h"

int gdth_proc_info(char *buffer,char **start,off_t offset,int length,
@@ -621,12 +620,12 @@
oldto = scp->timeout;
scp->timeout = timeout;
if (timeout > 0) {
- if (timer_table[GDTH_TIMER].expires == 0) {
- timer_table[GDTH_TIMER].expires = jiffies + timeout;
- timer_active |= 1 << GDTH_TIMER;
+ if (timer_table[SCSI_TIMER].expires == 0) {
+ timer_table[SCSI_TIMER].expires = jiffies + timeout;
+ timer_active |= 1 << SCSI_TIMER;
} else {
- if (jiffies + timeout < timer_table[GDTH_TIMER].expires)
- timer_table[GDTH_TIMER].expires = jiffies + timeout;
+ if (jiffies + timeout < timer_table[SCSI_TIMER].expires)
+ timer_table[SCSI_TIMER].expires = jiffies + timeout;
}
}

Enjoy.
Ranaur

33038552481031545520731429923086509455615829995658643
7079992 I'm not a number 2787 I'm a free man! 9935426
028130695 ranaur@usa.net 65124293 The prisoner 39778
5787031 http://www.ecp.inf.puc-rio.br/~ranaur 4136269
2389150304350237206077511740119360277419165100020750

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu