From owner-cvs-all Thu Nov 7 13:15:14 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50C8D37B401; Thu, 7 Nov 2002 13:15:13 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 028DF43E3B; Thu, 7 Nov 2002 13:15:13 -0800 (PST) (envelope-from jhb@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 gA7LDFmV051316; Thu, 7 Nov 2002 13:13:15 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id gA7LDFRP051315; Thu, 7 Nov 2002 13:13:15 -0800 (PST) Message-Id: <200211072113.gA7LDFRP051315@repoman.freebsd.org> From: John Baldwin Date: Thu, 7 Nov 2002 13:13:15 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sr if_sr.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jhb 2002/11/07 13:13:15 PST Modified files: sys/dev/sr if_sr.c Log: Fix lots of places that assume sizeof(int) == sizeof(void *). Most of these were cosmetic. However, at least two of these changes fix bugs where a (fake) pointer to a RX descriptor was added to the physical memory start address with the cast in the wrong place resulting in rxdesc[pmem_start] instead of (uintptr_t)rxdesc + pmem_start. Revision Changes Path 1.51 +18 -18 src/sys/dev/sr/if_sr.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message