Port-macppc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Serial ports on PCI card?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Aug 18, 2008, at 6:35 PM, John Klos wrote:
For some reason, I can't for the life of me remember how "com"
ports correspond to ttys in /dev/ in NetBSD. I thought the first
serial port was tty00, the second tty01, and so on, but on a
Motorola StarMax with two motherboard serial ports, two 16550-type
serial ports on a PCI card aren't working as tty02 and tty03 (nor
any of the other ttys I've tried).
The ports are properly recognized:
puc0 at pci0 dev 14 function 0: NetMos NM9835 Dual UART (com, com)
com0 at puc0 port 0: interrupting at irq 24
com0: ns16550a, working fifo
com1 at puc0 port 1: interrupting at irq 24
com1: ns16550a, working fifo
Any idea which ttys correspond to these ports? And any suggestions
for remembering whatever the new scheme is?
Use mknod -l to find out which major number corresponds to the com
driver. You'll probably have to create /dev/ entries by hand since
onboard serial ports on Macs are usually zs, not com, and thus use a
different major number.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iQEVAwUBSKpKKMpnzkX8Yg2nAQL23Af/fT8Q0SpwCRTMoMIXCYsShEaFrkRwJRC8
/EYpSo0NMhTg94iWJKlH899UDK33viJIbe8Kg+N1xyPRh4n2o/QPPDB67o/jFNZZ
P9wR81m5341rCjoH3kxT+dIGksYCoIznVDiwk0K+uD4S2YgJvlroCjRm6uhuar+D
XOT5Y7oXiniHdEfgjhYSlqrqwI/sVw8fySB4TLeUh9/85jMYwa8lBmTQMiLPPnOU
sTpUD9HEgP6ePLAAp6C4+xyHvoJpD7y0WsYzpklAhlU0i52+sKSba9Rn3ItVr+An
avojna5q/fMc2KzrNIdFFDHvHdMUSTfrijn/hXk9vj3SaMQQygOq4A==
=yVwD
-----END PGP SIGNATURE-----
Home |
Main Index |
Thread Index |
Old Index