Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2006 16:34:32 GMT
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 96219 for review
Message-ID:  <200604271634.k3RGYW5O033148@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96219

Change 96219 by marcel@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;
 	}



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