## Automatically generated incremental diff
## From:   linux-2.2.13-pre12
## To:     linux-2.2.13-pre13
## Robot:  $Id: make-incremental-diff,v 1.11 2002/02/20 02:59:33 hpa Exp $

diff -urN linux-2.2.13-pre12/drivers/net/dmfe.c linux-2.2.13-pre13/drivers/net/dmfe.c
--- linux-2.2.13-pre12/drivers/net/dmfe.c	2003-08-15 15:08:09.000000000 -0700
+++ linux-2.2.13-pre13/drivers/net/dmfe.c	2003-08-15 15:08:10.000000000 -0700
@@ -409,8 +409,10 @@
 		dev = 0;	/* NULL device */
 	}
 
+#ifdef MODULE
 	if (!dm9102_count)
 		printk(KERN_WARNING "dmfe: Can't find DM910X board\n");
+#endif		
 	return dm9102_count ? 0 : -ENODEV;
 }
 
@@ -1221,7 +1223,7 @@
 	}
 
 	if (i >= count) {
-		printk("Can't found Control Block\n");
+		printk("Can't find Control Block\n");
 		db->phy_addr = 1;
 	}
 }
diff -urN linux-2.2.13-pre12/drivers/net/sktr.h linux-2.2.13-pre13/drivers/net/sktr.h
--- linux-2.2.13-pre12/drivers/net/sktr.h	2003-08-15 15:08:09.000000000 -0700
+++ linux-2.2.13-pre13/drivers/net/sktr.h	2003-08-15 15:08:10.000000000 -0700
@@ -645,7 +645,7 @@
  * but possibly multiple TPLs for one frame) the length of the TPLs has to be
  * initialized in the OPL. (OPEN parameter list)
  */
-#define TPL_NUM		3	/* Number of Transmit Parameter Lists.
+#define TPL_NUM		9	/* Number of Transmit Parameter Lists.
 				 * !! MUST BE >= 3 !!
 				 */
 
diff -urN linux-2.2.13-pre12/fs/nfs/dir.c linux-2.2.13-pre13/fs/nfs/dir.c
--- linux-2.2.13-pre12/fs/nfs/dir.c	1999-08-09 12:04:57.000000000 -0700
+++ linux-2.2.13-pre13/fs/nfs/dir.c	2003-08-15 15:08:10.000000000 -0700
@@ -1080,7 +1080,7 @@
 	struct inode *old_inode = old_dentry->d_inode;
 	struct inode *new_inode = new_dentry->d_inode;
 	struct dentry *dentry = NULL;
-	int error, rehash = 0, update = 1;
+	int error, rehash = 0;
 
 	dfprintk(VFS, "NFS: rename(%s/%s -> %s/%s, ct=%d)\n",
 		old_dentry->d_parent->d_name.name, old_dentry->d_name.name,
@@ -1126,13 +1126,6 @@
 	}
 
 	/*
-	 * Check for within-directory rename ... no complications.
-	 */
-	if (new_dir == old_dir)
-		goto do_rename;
-	/*
-	 * Cross-directory move ...
-	 *
 	 * ... prune child dentries and writebacks if needed.
 	 */
 	if (old_dentry->d_count > 1) {
@@ -1140,17 +1133,6 @@
 		shrink_dcache_parent(old_dentry);
 	}
 
-	/*
-	 * Now check the use counts ... we can't safely do the
-	 * rename unless we can drop the dentries first.
-	 */
-	if (old_dentry->d_count > 1) {
-#ifdef NFS_PARANOIA
-printk("nfs_rename: old dentry %s/%s busy, d_count=%d\n",
-old_dentry->d_parent->d_name.name,old_dentry->d_name.name,old_dentry->d_count);
-#endif
-		goto out;
-	}
 	if (new_dentry->d_count > 1 && new_inode) {
 #ifdef NFS_PARANOIA
 printk("nfs_rename: new dentry %s/%s busy, d_count=%d\n",
@@ -1159,41 +1141,28 @@
 		goto out;
 	}
 
-	d_drop(old_dentry);
-	update = 0;
-
-do_rename:
 	/*
 	 * To prevent any new references to the target during the rename,
 	 * we unhash the dentry and free the inode in advance.
 	 */
-#ifdef NFS_PARANOIA
-if (new_inode && 
-    new_inode->i_count > (S_ISDIR(new_inode->i_mode) ? 1 : new_inode->i_nlink))
-printk("nfs_rename: %s/%s inode busy?? i_count=%d, i_nlink=%d\n",
-new_dentry->d_parent->d_name.name, new_dentry->d_name.name,
-new_inode->i_count, new_inode->i_nlink);
-#endif
 	if (!list_empty(&new_dentry->d_hash)) {
 		d_drop(new_dentry);
-		rehash = update;
+		rehash = 1;
 	}
-	if (new_inode) {
+	if (new_inode)
 		d_delete(new_dentry);
-	}
 
 	nfs_invalidate_dircache(new_dir);
 	nfs_invalidate_dircache(old_dir);
 	error = nfs_proc_rename(NFS_DSERVER(old_dentry),
 			NFS_FH(old_dentry->d_parent), old_dentry->d_name.name,
 			NFS_FH(new_dentry->d_parent), new_dentry->d_name.name);
-	if (!error && !S_ISDIR(old_inode->i_mode)) {
-		/* Update the dcache if needed */
-		if (rehash)
-			d_add(new_dentry, NULL);
-		if (update)
-			d_move(old_dentry, new_dentry);
-	}
+
+	/* Update the dcache if needed */
+	if (rehash)
+		d_add(new_dentry, NULL);
+	if (!error && !S_ISDIR(old_inode->i_mode))
+		d_move(old_dentry, new_dentry);
 
 out:
 	/* new dentry created? */
diff -urN linux-2.2.13-pre12/kernel/time.c linux-2.2.13-pre13/kernel/time.c
--- linux-2.2.13-pre12/kernel/time.c	2003-08-15 15:08:09.000000000 -0700
+++ linux-2.2.13-pre13/kernel/time.c	2003-08-15 15:08:10.000000000 -0700
@@ -247,7 +247,7 @@
 		if (txc->tick < 900000/HZ || txc->tick > 1100000/HZ)
 			return -EINVAL;
 
-	write_lock(&xtime_lock);
+	write_lock_irq(&xtime_lock);
 	result = time_state;	/* mostly `TIME_OK' */
 
 	/* Save for later - semantics of adjtime is to return old value */
diff -urN linux-2.2.13-pre12/Makefile linux-2.2.13-pre13/Makefile
--- linux-2.2.13-pre12/Makefile	2003-08-15 15:08:09.000000000 -0700
+++ linux-2.2.13-pre13/Makefile	2003-08-15 15:08:09.000000000 -0700
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 2
 SUBLEVEL = 13
-EXTRAVERSION = pre12
+EXTRAVERSION = pre13
 
 ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
 
diff -urN linux-2.2.13-pre12/net/ipv4/tcp_ipv4.c linux-2.2.13-pre13/net/ipv4/tcp_ipv4.c
--- linux-2.2.13-pre12/net/ipv4/tcp_ipv4.c	1999-08-25 17:29:53.000000000 -0700
+++ linux-2.2.13-pre13/net/ipv4/tcp_ipv4.c	2003-08-15 15:08:10.000000000 -0700
@@ -525,7 +525,8 @@
 
 static inline __u32 tcp_v4_init_sequence(struct sock *sk, struct sk_buff *skb)
 {
-	return secure_tcp_sequence_number(sk->saddr, sk->daddr,
+	return secure_tcp_sequence_number(skb->nh.iph->daddr,
+					  skb->nh.iph->saddr,
 					  skb->h.th->dest,
 					  skb->h.th->source);
 }
