PERFORCE change 96181 for review
Marcel Moolenaar
marcel at FreeBSD.org
Thu Apr 27 01:47:49 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=96181
Change 96181 by marcel at marcel_nfs on 2006/04/27 01:47:00
Handle the port offset on the Cronyx Omega2-PCI. The offset,
though constant and regular doesn't fit in an uint8_t.
Affected files ...
.. //depot/projects/uart/dev/puc/pucdata.c#33 edit
Differences ...
==== //depot/projects/uart/dev/puc/pucdata.c#33 (text+ko) ====
@@ -696,6 +696,10 @@
puc_config_cronyx(struct puc_softc *sc, enum puc_cfg_cmd cmd, int port,
intptr_t *res)
{
+ if (cmd == PUC_CFG_GET_OFS) {
+ *res = port * 0x200;
+ return (0);
+ }
return (ENXIO);
}
More information about the p4-projects
mailing list