Date: Thu, 17 Oct 2002 16:09:28 -0700 (PDT) From: Juli Mallett <jmallett@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 19508 for review Message-ID: <200210172309.g9HN9SSk094767@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=19508 Change 19508 by jmallett@jmallett_luna on 2002/10/17 16:09:24 Remove DEV_BSIZE and DEV_BSHIFT which are defined in MI code in FreeBSD. Clean up definition of MACHINE/MACHINE_ARCH. Affected files ... .. //depot/projects/mips/sys/mips/include/param.h#2 edit .. //depot/projects/mips/sys/mips/sgimips/param.h#2 edit Differences ... ==== //depot/projects/mips/sys/mips/include/param.h#2 (text+ko) ==== @@ -22,6 +22,16 @@ #endif /* + * Define the architecture. If no platform has been defined, fall back + * to the architecture name, but warn. + */ +#define MACHINE_ARCH "mips" +#ifndef MACHINE +#define MACHINE MACHINE_ARCH +#warning Your MIPS platform did not provide MACHINE in <platform/param.h>, "mips" has been used. +#endif + +/* * Round p (pointer or byte index) up to a correctly-aligned value for all * data types (int, long, ...). The result is u_int and must be cast to * any desired pointer type. ==== //depot/projects/mips/sys/mips/sgimips/param.h#2 (text+ko) ==== @@ -38,12 +38,9 @@ * SUCH DAMAGE. */ -#define MACHINE_ARCH "mips" #define MACHINE "sgimips" #define MID_MACHINE MID_MIPS -#define DEV_BSIZE 512 -#define DEV_BSHIFT 9 /* log2(DEV_BSIZE) */ #define BLKDEV_IOSIZE 2048 #define MAXPHYS (64 * 1024) /* Maximum raw I/O transfer size */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe p4-projects" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210172309.g9HN9SSk094767>