Bug 127551

Summary: [build] [patch] Kernel with RAID driver hptiop (HighPoint RocketRAID 3xxxx/4xxx driver) cannot be built.
Product: Base System Reporter: fukui <fukui.FreeBSD>
Component: kernAssignee: Antoine Brodin <antoine>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 7.1-PRERELEASE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description fukui 2008-09-23 02:50:01 UTC
	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.

Fix: In src/sys/conf/files, it is still defined that `hptiop' depends on deprecated option `cam'. 
	Remove it.
How-To-Repeat: 	Compiling GENERIC kernel.
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2008-09-28 16:10:46 UTC
Responsible Changed
From-To: freebsd-bugs->antoine

Take.
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-10-04 11:41:28 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"
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2008-10-04 11:58:16 UTC
State Changed
From-To: open->patched

Fix committed in head.
Comment 4 dfilter service freebsd_committer freebsd_triage 2009-01-10 17:57:15 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"
Comment 5 Antoine Brodin freebsd_committer freebsd_triage 2009-01-10 18:22:28 UTC
State Changed
From-To: patched->closed

Fixed in head and stable/7.