Subject: Re: U5, SCSI HA, trouble booting
To: None <port-sparc64@netbsd.org>
From: Eric Benoit <eric@oddity.ca>
List: port-sparc64
Date: 08/11/2005 21:43:24
This is a multi-part message in MIME format.
--------------000404050702020405010209
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

matthew green wrote:

>    I must thank you for your insight into this problem. Based on your 
>    suggestions, I've modified one line and added another, and the damn 
>    thing boots properly.
> 
> could you contribute this patch?

Sure thing.

Do heed the warning about any isp device on an sbus machine. I'm not 
entirely sure how it might handle such.

Later

--------------000404050702020405010209
Content-Type: text/plain;
 name="autoconf_isptwo.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="autoconf_isptwo.patch"

--- autoconf.c	2004-05-09 04:46:21.000000000 -0400
+++ /usr/src/sys/arch/sparc64/sparc64/autoconf.c	2005-08-11 20:31:53.000000000 -0400
@@ -854,6 +854,7 @@
 	{ "ledma",	BUSCLASS_SBUS },
 	{ "simba",	BUSCLASS_PCI },
 	{ "ppb",	BUSCLASS_PCI },
+	{ "isp",	BUSCLASS_PCI },
 	{ "pciide",	BUSCLASS_PCI },
 	{ "cmdide",	BUSCLASS_PCI },
 	{ "aceride",	BUSCLASS_PCI },
@@ -871,7 +872,7 @@
 	char	*compat[6];
 } dev_compat_tab[] = {
 	{ "dma",	{ "espdma", NULL }},
-	{ "isp",	{ "QLGC,isp", "PTI,isp", "ptiisp", "scsi", NULL }},
+	{ "isp",	{ "SUNW,isptwo", "QLGC,isp", "PTI,isp", "ptiisp", "scsi", NULL }},
 	{ "fdc",	{ "SUNW,fdtwo",	NULL }},
 	{ "psycho",	{ "pci", NULL }},
 	{ "wd",		{ "disk", "ide-disk", NULL }},

--------------000404050702020405010209--