Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/0919/1

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Use MS-DOS style numbering for COMx.
 [rsc] --rw-rw-r-- M 28433 jmk sys 1777 Sep 19 06:48 sys/src/9/pc/uartisa.c
	/n/sourcesdump/2005/0919/plan9/sys/src/9/pc/uartisa.c:34,40 - 
	/n/sourcesdump/2005/0920/plan9/sys/src/9/pc/uartisa.c:34,40
	  	}
	  
	  	uart->regs = ctlr;
	- 	snprint(buf, sizeof(buf), "COM%d", ctlrno);
	+ 	snprint(buf, sizeof(buf), "COM%d", ctlrno+1);
	  	kstrdup(&uart->name, buf);
	  	uart->freq = isa->freq;
	  	uart->phys = &i8250physuart;


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.