Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x68k Make it compilable with 64bit daddr_t.



details:   https://anonhg.NetBSD.org/src/rev/c5ffdf0dc9a2
branches:  trunk
changeset: 542279:c5ffdf0dc9a2
user:      isaki <isaki%NetBSD.org@localhost>
date:      Sat Jan 25 14:13:46 2003 +0000

description:
Make it compilable with 64bit daddr_t.

diffstat:

 sys/arch/x68k/dev/fd.c             |  6 +++---
 sys/arch/x68k/stand/libsa/Makefile |  5 +++--
 2 files changed, 6 insertions(+), 5 deletions(-)

diffs (46 lines):

diff -r a7672aa69c4a -r c5ffdf0dc9a2 sys/arch/x68k/dev/fd.c
--- a/sys/arch/x68k/dev/fd.c    Sat Jan 25 12:50:38 2003 +0000
+++ b/sys/arch/x68k/dev/fd.c    Sat Jan 25 14:13:46 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fd.c,v 1.51 2003/01/01 02:31:13 thorpej Exp $  */
+/*     $NetBSD: fd.c,v 1.52 2003/01/25 14:13:46 isaki Exp $    */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -1385,7 +1385,7 @@
 #endif
                        fdcstatus(&fd->sc_dev, 7, bp->b_flags & B_READ ?
                                  "read failed" : "write failed");
-                       printf("blkno %d nblks %d\n",
+                       printf("blkno %lld nblks %d\n",
                            fd->sc_blkno, fd->sc_nblks);
                        fdcretry(fdc);
                        goto loop;
@@ -1424,7 +1424,7 @@
 #endif
                        fdcstatus(&fd->sc_dev, 7, bp->b_flags & B_READ ?
                                  "read failed" : "write failed");
-                       printf("blkno %d nblks %d\n",
+                       printf("blkno %lld nblks %d\n",
                            fd->sc_blkno, fd->sc_nblks);
                        fdcretry(fdc);
                        goto loop;
diff -r a7672aa69c4a -r c5ffdf0dc9a2 sys/arch/x68k/stand/libsa/Makefile
--- a/sys/arch/x68k/stand/libsa/Makefile        Sat Jan 25 12:50:38 2003 +0000
+++ b/sys/arch/x68k/stand/libsa/Makefile        Sat Jan 25 14:13:46 2003 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.11 2002/05/05 11:46:30 isaki Exp $
+#      $NetBSD: Makefile,v 1.12 2003/01/25 14:13:46 isaki Exp $
 
 S=             ${.CURDIR}/../../../..
 LIBSADIR=      $S/lib/libsa
@@ -18,7 +18,8 @@
 #SRCS+=                arp.c ether.c in_cksum.c net.c netif.c rpc.c udp.c
 #SRCS+=                bootp.c
 
-SRCS+=         ashldi3.c ashrdi3.c strcat.c strchr.c strcmp.c strncmp.c strcpy.c strerror.c strlen.c
+SRCS+=         ashldi3.c ashrdi3.c divdi3.c moddi3.c qdivrem.c
+SRCS+=         strcat.c strchr.c strcmp.c strncmp.c strcpy.c strerror.c strlen.c
 
 SRCS+=         adler32.c crc32.c infblock.c infcodes.c inffast.c
 SRCS+=         inflate.c inftrees.c infutil.c uncompr.c



Home | Main Index | Thread Index | Old Index