From fukui@fanet.net  Tue Sep 23 01:45:37 2008
Return-Path: <fukui@fanet.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 13F84106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Sep 2008 01:45:37 +0000 (UTC)
	(envelope-from fukui@fanet.net)
Received: from mail.fanet.net (home.fanet.net [202.229.191.26])
	by mx1.freebsd.org (Postfix) with ESMTP id AE10E8FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Sep 2008 01:45:36 +0000 (UTC)
	(envelope-from fukui@fanet.net)
Received: from home.fanet.net
	by mail.fanet.net (8.14.3+3.5Wbeta/8.14.3) with ESMTP id m8N1jVjq011627
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 23 Sep 2008 10:45:31 +0900 (JST)
	(envelope-from fukui@fanet.net)
Received: (from fukui@localhost)
	by home.fanet.net (8.14.3+3.5Wbeta/8.14.3/Submit) id m8N1jVJn011626;
	Tue, 23 Sep 2008 10:45:31 +0900 (JST)
	(envelope-from fukui)
Message-Id: <200809230145.m8N1jVJn011626@home.fanet.net>
Date: Tue, 23 Sep 2008 10:45:31 +0900 (JST)
From: Masayuki FUKUI <fukui.FreeBSD@fanet.net>
Reply-To: Masayuki FUKUI <fukui.FreeBSD@fanet.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Kernel with RAID driver hptiop (HighPoint RocketRAID 3xxxx/4xxx driver) cannot be built.
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         127551
>Category:       kern
>Synopsis:       [build] [patch] Kernel with RAID driver hptiop (HighPoint RocketRAID 3xxxx/4xxx driver) cannot be built.
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    antoine
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 23 01:50:01 UTC 2008
>Closed-Date:    Sat Jan 10 18:22:55 UTC 2009
>Last-Modified:  Sat Jan 10 18:22:55 UTC 2009
>Originator:     Masayuki FUKUI
>Release:        FreeBSD 7.1-PRERELEASE amd64
>Organization:
>Environment:
System: FreeBSD 7.1-PRERELEASE amd64
>Description:
	RAID driver `hptiop' (HighPoint RocketRAID 3xxx/4xxx controller driver) is defined in GENERIC.
        However, driver's code is not included in kernel though it compiles.
>How-To-Repeat:
	Compiling GENERIC kernel.
>Fix:
	In src/sys/conf/files, it is still defined that `hptiop' depends on deprecated option `cam'. 
	Remove it.

--- src/sys/conf/files.orig	2008-08-31 19:15:43.000000000 +0900
+++ src/sys/conf/files	2008-09-23 04:14:09.000000000 +0900
@@ -682,7 +682,7 @@
 dev/hme/if_hme.c		optional hme
 dev/hme/if_hme_pci.c		optional hme pci
 dev/hme/if_hme_sbus.c		optional hme sbus
-dev/hptiop/hptiop.c		optional hptiop cam
+dev/hptiop/hptiop.c		optional hptiop
 dev/hwpmc/hwpmc_logging.c	optional hwpmc
 dev/hwpmc/hwpmc_mod.c		optional hwpmc
 dev/ichsmb/ichsmb.c		optional ichsmb
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->antoine 
Responsible-Changed-By: antoine 
Responsible-Changed-When: Sun Sep 28 15:10:46 UTC 2008 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127551 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/127551: commit references a PR
Date: Sat,  4 Oct 2008 10:41:28 +0000 (UTC)

 antoine     2008-10-04 10:39:31 UTC
 
   FreeBSD src repository
 
   Modified files:
     sys/conf             files 
     sys/dev/hptiop       hptiop.h 
   Log:
   SVN rev 183590 on 2008-10-04 10:39:31Z by antoine
   
   - Spell cam correctly (scbus), this makes it possible to compile hptiop
   in GENERIC and LINT. [1]
   - Rename hpt_dbg_level to hpt_iop_dbg_level to avoid multiple definition
   of hpt_dbg_level (hptmv also has hpt_dbg_level).
   
   PR:             127551 [1]
   Reviewed by:    scottl@
   MFC after:      1 month
   
   Revision  Changes    Path
   1.1336    +1 -1      src/sys/conf/files
   1.3       +2 -2      src/sys/dev/hptiop/hptiop.h
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->patched 
State-Changed-By: antoine 
State-Changed-When: Sat Oct 4 10:58:16 UTC 2008 
State-Changed-Why:  
Fix committed in head. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127551 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: kern/127551: commit references a PR
Date: Sat, 10 Jan 2009 17:57:15 +0000 (UTC)

 Author: antoine
 Date: Sat Jan 10 17:56:50 2009
 New Revision: 187029
 URL: http://svn.freebsd.org/changeset/base/187029
 
 Log:
   MFC r183590 to stable/7:
     - Spell cam correctly (scbus), this makes it possible to compile hptiop
     in GENERIC and LINT. [1]
     - Rename hpt_dbg_level to hpt_iop_dbg_level to avoid multiple definition
     of hpt_dbg_level (hptmv also has hpt_dbg_level).
   
     PR:		127551 [1]
     Reviewed by:	scottl@
     MFC after:	1 month
 
 Modified:
   stable/7/sys/   (props changed)
   stable/7/sys/conf/files
   stable/7/sys/contrib/pf/   (props changed)
   stable/7/sys/dev/ath/ath_hal/   (props changed)
   stable/7/sys/dev/cxgb/   (props changed)
   stable/7/sys/dev/hptiop/hptiop.h
 
 Modified: stable/7/sys/conf/files
 ==============================================================================
 --- stable/7/sys/conf/files	Sat Jan 10 17:22:49 2009	(r187028)
 +++ stable/7/sys/conf/files	Sat Jan 10 17:56:50 2009	(r187029)
 @@ -685,7 +685,7 @@ dev/hifn/hifn7751.c		optional hifn
  dev/hme/if_hme.c		optional hme
  dev/hme/if_hme_pci.c		optional hme pci
  dev/hme/if_hme_sbus.c		optional hme sbus
 -dev/hptiop/hptiop.c		optional hptiop cam
 +dev/hptiop/hptiop.c		optional hptiop scbus
  dev/hwpmc/hwpmc_logging.c	optional hwpmc
  dev/hwpmc/hwpmc_mod.c		optional hwpmc
  dev/ichsmb/ichsmb.c		optional ichsmb
 
 Modified: stable/7/sys/dev/hptiop/hptiop.h
 ==============================================================================
 --- stable/7/sys/dev/hptiop/hptiop.h	Sat Jan 10 17:22:49 2009	(r187028)
 +++ stable/7/sys/dev/hptiop/hptiop.h	Sat Jan 10 17:56:50 2009	(r187029)
 @@ -32,8 +32,8 @@ __FBSDID("$FreeBSD$");
  #define DBG 0
  
  #ifdef DBG
 -int hpt_dbg_level = 0;
 -#define KdPrint(x)  do { if (hpt_dbg_level) printf x; } while (0)
 +int hpt_iop_dbg_level = 0;
 +#define KdPrint(x)  do { if (hpt_iop_dbg_level) printf x; } while (0)
  #define HPT_ASSERT(x) assert(x)
  #else
  #define KdPrint(x)
 _______________________________________________
 svn-src-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: patched->closed 
State-Changed-By: antoine 
State-Changed-When: Sat Jan 10 18:22:28 UTC 2009 
State-Changed-Why:  
Fixed in head and stable/7. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127551 
>Unformatted:
