Re: Multiport serial card Exsys EX-44388, where are the devices ?

From: Rodney W. Grimes <freebsd-rwg_at_pdx.rh.CN85.dnsmgr.net>
Date: Sun, 20 Jan 2019 11:20:18 -0800 (PST)
> Hi!
> 
> > > It only detects four (or six?) serials...
> > Are perhaps 2 of them being consumed by sio?
> 
> See my other post, the system found 13 uarts 8-}
>  
> > > So I think I found a 'somehow' working setup and have to add stuff to
> > > sys/dev/puc/pucdata.c to match it. Thanks for the pointer!
> > 
> > Ok, heading in the right direction, try
> > 	pciconf -lB
> > that should show the hierarchy with the simple comms connected
> > behind the pci-pci bridge.  More readable without the -v your
> > using above.
> 
> Here we go:

Well no longer needed as puc0 has found and allocated the
device(s) which would of shown up had you done this before
you fixed puc0 to find them.

Anyway, your fixed, so enjoy your serial bits :-)

> -----------------
> hostb0_at_pci0:0:0:0:	class=0x060000 card=0x87611043 chip=0x14501022 rev=0x00 hdr=0x00
> none0_at_pci0:0:0:2:	class=0x080600 card=0x14511022 chip=0x14511022 rev=0x00 hdr=0x00
> hostb1_at_pci0:0:1:0:	class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
> pcib1_at_pci0:0:1:1:	class=0x060400 card=0x87611043 chip=0x14531022 rev=0x00 hdr=0x01
>     bus range  = 1-9
>     window[1c] = type I/O Port, range 32, addr 0x1000-0x2fff, enabled
>     window[20] = type Memory, range 32, addr 0xba300000-0xba5fffff, enabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> pcib10_at_pci0:0:1:2:	class=0x060400 card=0x87611043 chip=0x14531022 rev=0x00 hdr=0x01
>     bus range  = 10-10
>     window[1c] = type I/O Port, range 32, addr 0xfff000-0xfff, disabled
>     window[20] = type Memory, range 32, addr 0xba700000-0xba7fffff, enabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> hostb2_at_pci0:0:2:0:	class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
> hostb3_at_pci0:0:3:0:	class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
> hostb4_at_pci0:0:4:0:	class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
> hostb5_at_pci0:0:7:0:	class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
> pcib11_at_pci0:0:7:1:	class=0x060400 card=0x14541022 chip=0x14541022 rev=0x00 hdr=0x01
>     bus range  = 11-11
>     window[1c] = type I/O Port, range 32, addr 0xfff000-0xfff, disabled
>     window[20] = type Memory, range 32, addr 0xba000000-0xba2fffff, enabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> hostb6_at_pci0:0:8:0:	class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
> pcib12_at_pci0:0:8:1:	class=0x060400 card=0x14541022 chip=0x14541022 rev=0x00 hdr=0x01
>     bus range  = 12-12
>     window[1c] = type I/O Port, range 32, addr 0xfff000-0xfff, disabled
>     window[20] = type Memory, range 32, addr 0xba600000-0xba6fffff, enabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> intsmb0_at_pci0:0:20:0:	class=0x0c0500 card=0x87611043 chip=0x790b1022 rev=0x59 hdr=0x00
> isab0_at_pci0:0:20:3:	class=0x060100 card=0x87611043 chip=0x790e1022 rev=0x51 hdr=0x00
> hostb7_at_pci0:0:24:0:	class=0x060000 card=0x00000000 chip=0x14601022 rev=0x00 hdr=0x00
> hostb8_at_pci0:0:24:1:	class=0x060000 card=0x00000000 chip=0x14611022 rev=0x00 hdr=0x00
> hostb9_at_pci0:0:24:2:	class=0x060000 card=0x00000000 chip=0x14621022 rev=0x00 hdr=0x00
> hostb10_at_pci0:0:24:3:	class=0x060000 card=0x00000000 chip=0x14631022 rev=0x00 hdr=0x00
> hostb11_at_pci0:0:24:4:	class=0x060000 card=0x00000000 chip=0x14641022 rev=0x00 hdr=0x00
> hostb12_at_pci0:0:24:5:	class=0x060000 card=0x00000000 chip=0x14651022 rev=0x00 hdr=0x00
> hostb13_at_pci0:0:24:6:	class=0x060000 card=0x00000000 chip=0x14661022 rev=0x00 hdr=0x00
> hostb14_at_pci0:0:24:7:	class=0x060000 card=0x00000000 chip=0x14671022 rev=0x00 hdr=0x00
> hostb15_at_pci0:0:25:0:	class=0x060000 card=0x00000000 chip=0x14601022 rev=0x00 hdr=0x00
> hostb16_at_pci0:0:25:1:	class=0x060000 card=0x00000000 chip=0x14611022 rev=0x00 hdr=0x00
> hostb17_at_pci0:0:25:2:	class=0x060000 card=0x00000000 chip=0x14621022 rev=0x00 hdr=0x00
> hostb18_at_pci0:0:25:3:	class=0x060000 card=0x00000000 chip=0x14631022 rev=0x00 hdr=0x00
> hostb19_at_pci0:0:25:4:	class=0x060000 card=0x00000000 chip=0x14641022 rev=0x00 hdr=0x00
> hostb20_at_pci0:0:25:5:	class=0x060000 card=0x00000000 chip=0x14651022 rev=0x00 hdr=0x00
> hostb21_at_pci0:0:25:6:	class=0x060000 card=0x00000000 chip=0x14661022 rev=0x00 hdr=0x00
> hostb22_at_pci0:0:25:7:	class=0x060000 card=0x00000000 chip=0x14671022 rev=0x00 hdr=0x00
> xhci0_at_pci0:1:0:0:	class=0x0c0330 card=0x11421b21 chip=0x43ba1022 rev=0x02 hdr=0x00
> ahci0_at_pci0:1:0:1:	class=0x010601 card=0x10621b21 chip=0x43b61022 rev=0x02 hdr=0x00
> pcib2_at_pci0:1:0:2:	class=0x060400 card=0x02011b21 chip=0x43b11022 rev=0x02 hdr=0x01
>     bus range  = 2-9
>     window[1c] = type I/O Port, range 32, addr 0x1000-0x2fff, enabled
>     window[20] = type Memory, range 32, addr 0xba300000-0xba4fffff, enabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> pcib3_at_pci0:2:0:0:	class=0x060400 card=0x33061b21 chip=0x43b41022 rev=0x02 hdr=0x01
>     bus range  = 3-3
>     window[1c] = type I/O Port, range 32, addr 0xfff000-0xfff, disabled
>     window[20] = type Memory, range 32, addr 0xfff00000-0xfffff, disabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> pcib4_at_pci0:2:1:0:	class=0x060400 card=0x33061b21 chip=0x43b41022 rev=0x02 hdr=0x01
>     bus range  = 4-4
>     window[1c] = type I/O Port, range 32, addr 0xfff000-0xfff, disabled
>     window[20] = type Memory, range 32, addr 0xfff00000-0xfffff, disabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> pcib5_at_pci0:2:2:0:	class=0x060400 card=0x33061b21 chip=0x43b41022 rev=0x02 hdr=0x01
>     bus range  = 5-5
>     window[1c] = type I/O Port, range 32, addr 0x2000-0x2fff, enabled
>     window[20] = type Memory, range 32, addr 0xba400000-0xba4fffff, enabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> pcib6_at_pci0:2:3:0:	class=0x060400 card=0x33061b21 chip=0x43b41022 rev=0x02 hdr=0x01
>     bus range  = 6-7
>     window[1c] = type I/O Port, range 32, addr 0x1000-0x1fff, enabled
>     window[20] = type Memory, range 32, addr 0xfff00000-0xfffff, disabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> pcib8_at_pci0:2:4:0:	class=0x060400 card=0x33061b21 chip=0x43b41022 rev=0x02 hdr=0x01
>     bus range  = 8-8
>     window[1c] = type I/O Port, range 32, addr 0xfff000-0xfff, disabled
>     window[20] = type Memory, range 32, addr 0xfff00000-0xfffff, disabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> pcib9_at_pci0:2:9:0:	class=0x060400 card=0x33061b21 chip=0x43b41022 rev=0x02 hdr=0x01
>     bus range  = 9-9
>     window[1c] = type I/O Port, range 32, addr 0xfff000-0xfff, disabled
>     window[20] = type Memory, range 32, addr 0xba300000-0xba3fffff, enabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> igb0_at_pci0:5:0:0:	class=0x020000 card=0x85f01043 chip=0x15398086 rev=0x03 hdr=0x00
> pcib7_at_pci0:6:0:0:	class=0x060400 card=0x00000000 chip=0x10801b21 rev=0x04 hdr=0x01
>     bus range  = 7-7
Here is the bridge chip...

>     window[1c] = type I/O Port, range 32, addr 0x1000-0x1fff, enabled
>     window[20] = type Memory, range 32, addr 0xfff00000-0xfffff, disabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> puc0_at_pci0:7:4:0:	class=0x070002 card=0x000814a1 chip=0x000814a1 rev=0xb0 hdr=0x00
And here is your puc device

> xhci1_at_pci0:9:0:0:	class=0x0c0330 card=0x87561043 chip=0x21421b21 rev=0x00 hdr=0x00
> nvme0_at_pci0:10:0:0:	class=0x010802 card=0xa801144d chip=0xa808144d rev=0x00 hdr=0x00
> none1_at_pci0:11:0:0:	class=0x130000 card=0x145a1022 chip=0x145a1022 rev=0x00 hdr=0x00
> none2_at_pci0:11:0:2:	class=0x108000 card=0x14561022 chip=0x14561022 rev=0x00 hdr=0x00
> xhci2_at_pci0:11:0:3:	class=0x0c0330 card=0x87611043 chip=0x145f1022 rev=0x00 hdr=0x00
> none3_at_pci0:12:0:0:	class=0x130000 card=0x14551022 chip=0x14551022 rev=0x00 hdr=0x00
> ahci1_at_pci0:12:0:2:	class=0x010601 card=0x87611043 chip=0x79011022 rev=0x51 hdr=0x00
> hdac0_at_pci0:12:0:3:	class=0x040300 card=0x87241043 chip=0x14571022 rev=0x00 hdr=0x00
> hostb23_at_pci0:64:0:0:	class=0x060000 card=0x87611043 chip=0x14501022 rev=0x00 hdr=0x00
> none4_at_pci0:64:0:2:	class=0x080600 card=0x14511022 chip=0x14511022 rev=0x00 hdr=0x00
> hostb24_at_pci0:64:1:0:	class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
> pcib14_at_pci0:64:1:1:	class=0x060400 card=0x87611043 chip=0x14531022 rev=0x00 hdr=0x01
>     bus range  = 65-65
>     window[1c] = type I/O Port, range 32, addr 0xfff000-0xfff, disabled
>     window[20] = type Memory, range 32, addr 0x9f600000-0x9f6fffff, enabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> hostb25_at_pci0:64:2:0:	class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
> hostb26_at_pci0:64:3:0:	class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
> pcib15_at_pci0:64:3:1:	class=0x060400 card=0x87611043 chip=0x14531022 rev=0x00 hdr=0x01
>     bus range  = 66-66
>     window[1c] = type I/O Port, range 32, addr 0x3000-0x3fff, enabled
>     window[20] = type Memory, range 32, addr 0x9e000000-0x9f0fffff, enabled
>     window[24] = type Prefetchable Memory, range 64, addr 0x80000000-0x91ffffff, enabled
>     decode     = VGA
> hostb27_at_pci0:64:4:0:	class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
> hostb28_at_pci0:64:7:0:	class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
> pcib16_at_pci0:64:7:1:	class=0x060400 card=0x14541022 chip=0x14541022 rev=0x00 hdr=0x01
>     bus range  = 67-67
>     window[1c] = type I/O Port, range 32, addr 0xfff000-0xfff, disabled
>     window[20] = type Memory, range 32, addr 0x9f200000-0x9f4fffff, enabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> hostb29_at_pci0:64:8:0:	class=0x060000 card=0x00000000 chip=0x14521022 rev=0x00 hdr=0x00
> pcib17_at_pci0:64:8:1:	class=0x060400 card=0x14541022 chip=0x14541022 rev=0x00 hdr=0x01
>     bus range  = 68-68
>     window[1c] = type I/O Port, range 32, addr 0xfff000-0xfff, disabled
>     window[20] = type Memory, range 32, addr 0x9f500000-0x9f5fffff, enabled
>     window[24] = type Prefetchable Memory, range 64, addr 0xfff00000-0xfffff, disabled
> nvme1_at_pci0:65:0:0:	class=0x010802 card=0xa801144d chip=0xa808144d rev=0x00 hdr=0x00
> vgapci0_at_pci0:66:0:0:	class=0x030000 card=0x375c1458 chip=0x1d0110de rev=0xa1 hdr=0x00
> hdac1_at_pci0:66:0:1:	class=0x040300 card=0x375c1458 chip=0x0fb810de rev=0xa1 hdr=0x00
> none5_at_pci0:67:0:0:	class=0x130000 card=0x145a1022 chip=0x145a1022 rev=0x00 hdr=0x00
> none6_at_pci0:67:0:2:	class=0x108000 card=0x14561022 chip=0x14561022 rev=0x00 hdr=0x00
> xhci3_at_pci0:67:0:3:	class=0x0c0330 card=0x145c1022 chip=0x145f1022 rev=0x00 hdr=0x00
> none7_at_pci0:68:0:0:	class=0x130000 card=0x14551022 chip=0x14551022 rev=0x00 hdr=0x00
> ahci2_at_pci0:68:0:2:	class=0x010601 card=0x87611043 chip=0x79011022 rev=0x51 hdr=0x00
> 
> -----------------
> 
> -- 
> pi_at_opsec.eu            +49 171 3101372                    One year to go !
> 

-- 
Rod Grimes                                                 rgrimes_at_freebsd.org
Received on Sun Jan 20 2019 - 18:20:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:20 UTC