Author: marius
Date: Mon May 10 18:45:20 2010
New Revision: 207860
URL: http://svn.freebsd.org/changeset/base/207860

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

Modified:
  stable/7/sys/sparc64/isa/isa.c
Directory Properties:
  stable/7/sys/   (props changed)
  stable/7/sys/cddl/contrib/opensolaris/   (props changed)
  stable/7/sys/contrib/dev/acpica/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)

Modified: stable/7/sys/sparc64/isa/isa.c
==============================================================================
--- stable/7/sys/sparc64/isa/isa.c      Mon May 10 18:45:18 2010        
(r207859)
+++ stable/7/sys/sparc64/isa/isa.c      Mon May 10 18:45:20 2010        
(r207860)
@@ -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 */
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to