From owner-cvs-all@FreeBSD.ORG Sat Mar 8 18:06:49 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06A9C1065671; Sat, 8 Mar 2008 18:06:49 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EA64B8FC19; Sat, 8 Mar 2008 18:06:48 +0000 (UTC) (envelope-from scottl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m28I6mU4033884; Sat, 8 Mar 2008 18:06:48 GMT (envelope-from scottl@repoman.freebsd.org) Received: (from scottl@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m28I6m3K033883; Sat, 8 Mar 2008 18:06:48 GMT (envelope-from scottl) Message-Id: <200803081806.m28I6m3K033883@repoman.freebsd.org> From: Scott Long Date: Sat, 8 Mar 2008 18:06:48 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/hptrr hptrr_os_bsd.c hptrr_osm_bsd.c ldm.h osm.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Mar 2008 18:06:49 -0000 scottl 2008-03-08 18:06:48 UTC FreeBSD src repository Modified files: sys/dev/hptrr hptrr_os_bsd.c hptrr_osm_bsd.c ldm.h osm.h Log: Fix a mistake made during the import of the driver. Previous versions of HPT drivers would sometimes test the value of a preprocessor definition but not always make sure that the definition existed in the first place, leading to warnings on newer compilers. I blindly assumed the same with this driver, and it turned out to be wrong and to enable some code that doesn't work. Revision Changes Path 1.4 +3 -3 src/sys/dev/hptrr/hptrr_os_bsd.c 1.4 +2 -2 src/sys/dev/hptrr/hptrr_osm_bsd.c 1.3 +1 -1 src/sys/dev/hptrr/ldm.h 1.4 +1 -1 src/sys/dev/hptrr/osm.h