From owner-p4-projects Thu Oct 17 16: 9:42 2002 Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id DC95137B404; Thu, 17 Oct 2002 16:09:39 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7E52137B401 for ; Thu, 17 Oct 2002 16:09:39 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D0EE43E77 for ; Thu, 17 Oct 2002 16:09:39 -0700 (PDT) (envelope-from jmallett@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id g9HN9TmV094772 for ; Thu, 17 Oct 2002 16:09:29 -0700 (PDT) (envelope-from jmallett@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id g9HN9SSk094767 for perforce@freebsd.org; Thu, 17 Oct 2002 16:09:28 -0700 (PDT) Date: Thu, 17 Oct 2002 16:09:28 -0700 (PDT) Message-Id: <200210172309.g9HN9SSk094767@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jmallett@freebsd.org using -f From: Juli Mallett Subject: PERFORCE change 19508 for review To: Perforce Change Reviews Sender: owner-p4-projects@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 , "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