| plan 9 kernel history: overview | file list | diff list |
1995/0222/pc/ns16552.h (diff list | history)
| 1994/1118/sys/src/9/pc/ns16552.h:115,121 – 1995/0222/sys/src/9/pc/ns16552.h:115,121 (short | long | prev | next) | ||
|
Use cistrcmp. Remove iprint.
rsc Fri Mar 4 12:44:25 2005 | ||
| 1994/1118 | continue; | |
| 1994/0902 | } | |
| 1995/0222 | if(cistrcmp(sc->type, "MP008") == 0){ | |
| 1994/0902 | /* * port gives base port address for uarts * irq is interrupt | |
| 1994/1118/sys/src/9/pc/ns16552.h:135,141 – 1995/0222/sys/src/9/pc/ns16552.h:135,141 | ||
| 1994/1108 | ns16552setup(port, sc->freq, name); | |
| 1994/0902 | port += 8; } | |
| 1994/1106 |
| |
| 1995/0222 | } else if(cistrcmp(sc->type, "com") == 0){ | |
| 1994/0902 | /* * port gives base port address for the uart * irq is interrupt | |
| 1994/1118/sys/src/9/pc/ns16552.h:147,165 – 1995/0222/sys/src/9/pc/ns16552.h:147,152 | ||
| 1994/1108 | ns16552setup(sc->port, sc->freq, name); | |
| 1994/0902 | setvec(Int0vec+sc->irq, ns16552intrx, (void*)(nuart-1)); } | |
| 1994/1118 |
| |
| 1994/0902 | } | |