Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2010 18:49:06 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r207241 - head/sys/sparc64/isa
Message-ID:  <201004261849.o3QIn69l069149@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marius
Date: Mon Apr 26 18:49:06 2010
New Revision: 207241
URL: http://svn.freebsd.org/changeset/base/207241

Log:
  - Add a missing const.
  - Map the NS16550 found in Fujitsu Siemens PRIMEPOWER250 to PNP0501 as well.

Modified:
  head/sys/sparc64/isa/isa.c

Modified: head/sys/sparc64/isa/isa.c
==============================================================================
--- head/sys/sparc64/isa/isa.c	Mon Apr 26 18:44:30 2010	(r207240)
+++ head/sys/sparc64/isa/isa.c	Mon Apr 26 18:49:06 2010	(r207241)
@@ -116,7 +116,7 @@ isa_init(device_t dev)
 }
 
 static const struct {
-	const char	*name;
+	const char	*const name;
 	uint32_t	id;
 } const ofw_isa_pnp_map[] = {
 	{ "SUNW,lomh",	0x0000ae4e }, /* SUN0000 */
@@ -126,6 +126,7 @@ static const struct {
 	{ "flashprom",	0x0100ae4e }, /* SUN0001 */
 	{ "parallel",	0x0104d041 }, /* PNP0401 */
 	{ "serial",	0x0105d041 }, /* PNP0501 */
+	{ "su",		0x0105d041 }, /* PNP0501 */
 	{ "i2c",	0x0200ae4e }, /* SUN0002 */
 	{ "rmc-comm",	0x0300ae4e }, /* SUN0003 */
 	{ "kb_ps2",	0x0303d041 }, /* PNP0303 */



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