svn commit: r207241 - head/sys/sparc64/isa

Marius Strobl marius at FreeBSD.org
Mon Apr 26 18:49:06 UTC 2010


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 */


More information about the svn-src-head mailing list