PERFORCE change 96182 for review

Marcel Moolenaar marcel at FreeBSD.org
Thu Apr 27 01:53:57 UTC 2006


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

Change 96182 by marcel at marcel_nfs on 2006/04/27 01:53:13

	Handle the non-regular RIDs of the 1S2P Siig cards.

Affected files ...

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

Differences ...

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

@@ -905,6 +905,13 @@
 puc_config_siig(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
     intptr_t *res)
 {
+	if (cmd == PUC_CFG_GET_RID) {
+		switch (port) {
+		case 0: *res = 0x10; return (0);
+		case 1: *res = 0x14; return (0);
+		case 2: *res = 0x1c; return (0);
+		}
+	}
 	return (ENXIO);
 }
 


More information about the p4-projects mailing list