Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

zstty number for ttya/ttyb serial



I notice zstty(4) for serial ports on SS1+ are now
attached as zstty4 and zstty5:

---
NetBSD 5.99.8 (GENERIC) #17: Sat Mar 21 00:06:42 JST 2009
        tsutsui@mirage:/usr/src/sys/arch/sparc/compile/GENERIC
total memory = 65484 KB
avail memory = 59708 KB
timecounter: Timecounters tick every 10.000 msec
bootpath: /sbus0/esp0/sd@0,0
mainbus0 (root): Sun 4/65: hostid 53009494
cpu0 at mainbus0: MB86900/1A or L64801 @ 25 MHz, WTL3170/2 FPU
cpu0: 64K byte write-through, 16 bytes/line, sw flush: cache enabled
memreg0 at mainbus0 ioaddr 0xf4000000
clock0 at mainbus0 ioaddr 0xf2000000: mk48t02
timer0 at mainbus0 ioaddr 0xf3000000 ipl 10: delay constant 10, frequency = 
1000000 Hz
timecounter: Timecounter "timer-counter" frequency 1000000 Hz quality 100
auxreg0 at mainbus0 ioaddr 0xf7400000
zs0 at mainbus0 ioaddr 0xf1000000 ipl 12 softpri 6
zstty4 at zs0 channel 0
zstty5 at zs0 channel 1
zs1 at mainbus0 ioaddr 0xf0000000 ipl 12 softpri 6
zstty6 at zs1 channel 0
kbd0 at zstty6 (console input)
zstty7 at zs1 channel 1
ms0 at zstty7
wsmouse0 at ms0 mux 0

---

GENERIC has zstty2 and zstty3 for zs1 but no zstty0 and zstty1 for zs0.
I'm not sure if this is expected behavior, but should we restore
explicit zstty0 and zstty1 lines as pre-wscons kernel?

---
## Zilog 8530 serial chips.  Each has two-channels.
## zs0 is ttya and ttyb.  zs1 is the keyboard and mouse.
zs0     at mainbus0                                     # sun4c
zs0     at obio0                                        # sun4m
zs0     at obio0 addr 0xf1000000 level 12               # sun4/200 and sun4/300
zs0     at obio0 addr 0x01000000 level 12               # sun4/100
zs0     at bootbus0                                     # sun4d

zs1     at mainbus0                                     # sun4c
zs1     at obio0                                        # sun4m
zs1     at obio0 addr 0xf0000000 level 12               # sun4/200 and sun4/300
zs1     at obio0 addr 0x00000000 level 12               # sun4/100
zs1     at bootbus0                                     # sun4d

# old kbd and mouse attachments
#kbd0   at zs1 channel 0                                # keyboard
#ms0    at zs1 channel 1                                # mouse
zstty*  at zs?

# these are for wscons
kbd0    at zstty?
ms0     at zstty?
wskbd*  at wskbddev?
wsmouse*        at wsmousedev?

zs2     at obio0 addr 0xe0000000 level 12               # sun4/300
zstty2  at zs2 channel 0                                # ttyc
zstty3  at zs2 channel 1                                # ttyd

zs*     at bootbus?                                     # sun4d
zstty*  at zs?

---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index