PERFORCE change 96219 for review

Marcel Moolenaar marcel at FreeBSD.org
Thu Apr 27 16:34:34 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=96219

Change 96219 by marcel at marcel_nfs on 2006/04/27 16:34:24

	Fix the configuration for Timedia cards: we need to return the
	port type too.

Affected files ...

.. //depot/projects/uart/dev/puc/pucdata.c#39 edit

Differences ...

==== //depot/projects/uart/dev/puc/pucdata.c#39 (text+ko) ====

@@ -43,6 +43,7 @@
 #include <dev/pci/pcivar.h>
 
 #include <dev/puc/puc_bfe.h>
+#include <dev/puc/puc_bus.h>
 #include <dev/puc/puc_cfg.h>
 
 static puc_config_f puc_config_cronyx;
@@ -1033,6 +1034,9 @@
 	case PUC_CFG_GET_RID:
 		*res = (port > 3) ? port - 2 : port >> 1;
 		return (0);
+	case PUC_CFG_GET_TYPE:
+		*res = PUC_TYPE_SERIAL;
+		return (0);
 	default:
 		break;
 	}


More information about the p4-projects mailing list