Skip to contentSkip to conversation

serial port registration messages

DISCUSSION Meelis Roos 2 participants 3 messages Oct 31, 2006 – Nov 1, 2006

lore
Share & tools
lore
#0 lore raw

In current 2.6.19-rc on sparc64 dmesg tells

/pci@1f,0/pci@1,1/ebus@1/su@14,3083f8: Keyboard port at 1fff13083f8, irq 6 /pci@1f,0/pci@1,1/ebus@1/su@14,3062f8: Mouse port at 1fff13062f8, irq 7
f0061c64: ttyS0 at MMIO 0x1fff1400000 (irq = 5) is a SAB82532 V3.2
f0061c64: ttyS1 at MMIO 0x1fff1400040 (irq = 5) is a SAB82532 V3.2

And in Jurij's 2.6.18 Debian kernel package on sparc32 (the fixed one) tells

/iommu@0,10000000/sbus@0,10001000/cgsix@2,0: CGsix [TGX+ sparc] at 0:40000000 /iommu@0,10000000/sbus@0,10001000/cgsix@3,0: CGsix [TGX+ sparc] at 0:50000000
ffd31c10: ttyS0 at MMIO 0x71100000 (irq = 44) is a zs
ffd31c10: ttyS1 at MMIO 0x71100004 (irq = 44) is a zs
ffd31cf0: Keyboard at MMIO 71000000 (irq = 44) is a zs
ffd31cf0: Mouse at MMIO 71000004 (irq = 44) is a zs

I understand this is a fallout of the recent fixes of openprom names (the same bus_id patch?), but this is somewhat confusing (like, WTF).

Maybe we should just increase the buffer size (too)?

Signature · 1 line
Meelis Roos ([email protected])
#1 lore raw

From: Meelis Roos <[email protected]>
Date: Tue, 31 Oct 2006 17:40:35 +0200 (EET)

Quoted 1 line

Maybe we should just increase the buffer size (too)?

It's not just about buffer sizes, it's about uniqueness and the only unique thing amongst all PROM devices is the PROM node number, so that's what we must use as the ID.

#2 lore raw
In reply to Meelis Roos
Quoted 4 lines

It's not just about buffer sizes, it's about uniqueness and the only unique thing amongst all PROM devices is the PROM node number, so that's what we must use as the ID.

Hmm, I still do not undestand. The numbers dmesg shows are still equal to each other so they are about the same prom node. Is somewhere another prom node with the same name that is not printed and used for serial?

Or, do we check the prom names and it they match for several nodes then use the node number instead of the name?

Signature · 1 line
Meelis Roos ([email protected])