Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Dec 2011 08:20:30 GMT
From:      Henning Petersen <henning.petersen@t-online.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/163713: Add Adaptec29329LPE to aic79xx_pci.c
Message-ID:  <201112300820.pBU8KUTL033644@red.freebsd.org>
Resent-Message-ID: <201112300830.pBU8UDW8042245@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>Number:         163713
>Category:       kern
>Synopsis:       Add Adaptec29329LPE to aic79xx_pci.c
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 30 08:30:12 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112300820.pBU8KUTL033644>