patch-2.2.7 linux/include/asm-sparc64/ide.h
Next file: linux/include/asm-sparc64/keyboard.h
Previous file: linux/include/asm-sparc/vaddrs.h
Back to the patch index
Back to the overall index
- Lines: 24
- Date:
Thu Apr 22 19:24:52 1999
- Orig file:
v2.2.6/linux/include/asm-sparc64/ide.h
- Orig date:
Mon Oct 5 13:13:44 1998
diff -u --recursive --new-file v2.2.6/linux/include/asm-sparc64/ide.h linux/include/asm-sparc64/ide.h
@@ -1,4 +1,4 @@
-/* $Id: ide.h,v 1.11 1998/08/12 22:19:37 ecd Exp $
+/* $Id: ide.h,v 1.12 1999/04/17 14:25:29 davem Exp $
* ide.h: Ultra/PCI specific IDE glue.
*
* Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu)
@@ -123,7 +123,7 @@
unsigned long count)
{
volatile unsigned short *data_port;
- unsigned long end = (unsigned long)dst + count;
+ unsigned long end = (unsigned long)dst + (count << 1);
u16 *ps = dst;
u32 *pi;
@@ -154,7 +154,7 @@
unsigned long count)
{
volatile unsigned short *data_port;
- unsigned long end = (unsigned long)src + count;
+ unsigned long end = (unsigned long)src + (count << 1);
const u16 *ps = src;
const u32 *pi;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)