From owner-freebsd-current Wed Feb 27 6:44:24 2002 Delivered-To: freebsd-current@freebsd.org Received: from web.de (p50870F21.dip.t-dialin.net [80.135.15.33]) by hub.freebsd.org (Postfix) with SMTP id 6741037B402 for ; Wed, 27 Feb 2002 06:44:18 -0800 (PST) Received: (qmail 18238 invoked by uid 1001); 27 Feb 2002 14:44:03 -0000 Date: Wed, 27 Feb 2002 15:44:03 +0100 From: Christopher Sharp To: current@freebsd.org Subject: Re: Why is xe building while commented out? Message-ID: <20020227154403.A16030@mephisto.cthulhu.net> References: <20020226214312.GC99775@peitho.fxp.org> <20020226155132.O89108-100000@midearth.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020226155132.O89108-100000@midearth.org>; from slpalmer@midearth.org on Tue, Feb 26, 2002 at 03:57:41PM -0600 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Stephen L. Palmer (slpalmer@midearth.org) wrote: > /usr/src/sys/dev/isp/isp.c: In function `isp_reset': > /usr/src/sys/dev/isp/isp.c:633: warning: cast discards qualifiers from > pointer target type > *** Error code 1 A small workaround is to change: - const u_int16_t *dv_ispfw; /* ptr to f/w */ + u_int16_t *dv_ispfw; /* ptr to f/w */ in src/sys/dev/isp/ispvar.h:76 I don't know if this is ok but I does at least make the kernel build and should not hurt as long as you don't use the isp device - Christopher Sharp -- "I do not know myself, and God forbid that I should." -- Johann Wolfgang von Goethe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message