From nobody@FreeBSD.org  Fri Dec 30 08:20:30 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id EDC4A1065672
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 30 Dec 2011 08:20:30 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id BE6258FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 30 Dec 2011 08:20:30 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pBU8KUiQ033645
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 30 Dec 2011 08:20:30 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pBU8KUTL033644;
	Fri, 30 Dec 2011 08:20:30 GMT
	(envelope-from nobody)
Message-Id: <201112300820.pBU8KUTL033644@red.freebsd.org>
Date: Fri, 30 Dec 2011 08:20:30 GMT
From: Henning Petersen <henning.petersen@t-online.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Add Adaptec29329LPE to aic79xx_pci.c
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         163713
>Category:       kern
>Synopsis:       [aic7xxx] [patch] Add Adaptec29320LPE to aic79xx_pci.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-scsi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 30 08:30:12 UTC 2011
>Closed-Date:    Fri Apr 12 22:21:24 UTC 2013
>Last-Modified:  Fri Apr 12 22:21:24 UTC 2013
>Originator:     Henning Petersen
>Release:        FreeBSD-current
>Organization:
>Environment:
>Description:
Add Adaptc29320LPE card to aic79xx_pci.c .
Only tested with 4Gb memory.
>How-To-Repeat:

>Fix:
diff -u -p -r1.29 aic79xx_pci.c
--- sys/dev/aic7xxx/aic79xx_pci.c	23 Mar 2011 13:10:15 -0000	1.29
+++ sys/dev/aic7xxx/aic79xx_pci.c	29 Dec 2011 10:59:45 -0000
@@ -73,6 +73,7 @@ ahd_compose_id(u_int device, u_int vendo
 #define ID_AIC7901			0x800F9005FFFF9005ull
 #define ID_AHA_29320A			0x8000900500609005ull
 #define ID_AHA_29320ALP			0x8017900500449005ull
+#define ID_AHA_29320LPE			0x8017900500459005ull
 
 #define ID_AIC7901A			0x801E9005FFFF9005ull
 #define ID_AHA_29320LP			0x8014900500449005ull
@@ -134,7 +134,13 @@ struct ahd_pci_identity ahd_pci_ident_ta
 	{
 		ID_AHA_29320ALP,
 		ID_ALL_MASK,
-		"Adaptec 29320ALP Ultra320 SCSI adapter",
+		"Adaptec 29320ALP PCI-x Ultra320 SCSI adapter",
+		ahd_aic7901_setup
+	},
+	{
+		ID_AHA_29320LPE,
+		ID_ALL_MASK,
+		"Adaptec 29320LPE PCIe Ultra320 SCSI adapter",
 		ahd_aic7901_setup
 	},
 	/* aic7901A based controllers */


Patch attached with submission follows:

diff -u -p -r1.29 aic79xx_pci.c
--- sys/dev/aic7xxx/aic79xx_pci.c	23 Mar 2011 13:10:15 -0000	1.29
+++ sys/dev/aic7xxx/aic79xx_pci.c	29 Dec 2011 10:59:45 -0000
@@ -73,6 +73,7 @@ ahd_compose_id(u_int device, u_int vendo
 #define ID_AIC7901			0x800F9005FFFF9005ull
 #define ID_AHA_29320A			0x8000900500609005ull
 #define ID_AHA_29320ALP			0x8017900500449005ull
+#define ID_AHA_29320LPE			0x8017900500459005ull
 
 #define ID_AIC7901A			0x801E9005FFFF9005ull
 #define ID_AHA_29320LP			0x8014900500449005ull
@@ -134,7 +134,13 @@ struct ahd_pci_identity ahd_pci_ident_ta
 	{
 		ID_AHA_29320ALP,
 		ID_ALL_MASK,
-		"Adaptec 29320ALP Ultra320 SCSI adapter",
+		"Adaptec 29320ALP PCI-x Ultra320 SCSI adapter",
+		ahd_aic7901_setup
+	},
+	{
+		ID_AHA_29320LPE,
+		ID_ALL_MASK,
+		"Adaptec 29320LPE PCIe Ultra320 SCSI adapter",
 		ahd_aic7901_setup
 	},
 	/* aic7901A based controllers */


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-scsi 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Dec 30 18:59:38 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163713 
State-Changed-From-To: open->closed 
State-Changed-By: sbruno 
State-Changed-When: Fri Apr 12 22:19:16 UTC 2013 
State-Changed-Why:  
This card was supported by commit svn r198684: 

Add support for Adaptec 39320LPE adapters. 

PR:		124202 
Submitted by:	Andre Albsmeier <Andre.Albsmeier@siemens.com> 
Reviewed by:	gibbs 
MFC after:	1 week 


thank you for your submission. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163713 
>Unformatted:
 Last-Modified:  
