From owner-freebsd-current@freebsd.org Sat Jan 19 16:06:31 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 235491485507 for ; Sat, 19 Jan 2019 16:06:31 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A2ACB884F6; Sat, 19 Jan 2019 16:06:30 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id x0JG6QnN061241; Sat, 19 Jan 2019 08:06:26 -0800 (PST) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id x0JG6QCK061240; Sat, 19 Jan 2019 08:06:26 -0800 (PST) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201901191606.x0JG6QCK061240@pdx.rh.CN85.dnsmgr.net> Subject: Re: Multiport serial card Exsys EX-44388, where are the devices ? In-Reply-To: <20190119095242.GA77943@home.opsec.eu> To: Kurt Jaeger Date: Sat, 19 Jan 2019 08:06:26 -0800 (PST) CC: Warner Losh , FreeBSD Current X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: A2ACB884F6 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; NEURAL_HAM_SHORT(-0.96)[-0.965,0] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jan 2019 16:06:31 -0000 > Hi! > > > uart is the new thing. sio info should be ignored. > > > > Chances are good that this device doesn't have the proper entries in the > > puc driver. Do you have any pci devices that show up as unclaimed? > > In a different box, I got this: > > none1@pci0:7:4:0: class=0x070002 card=0x000814a1 chip=0x000814a1 rev=0xb0 hdr=0x00 > vendor = 'Systembase Co Ltd' > class = simple comms > subclass = UART > bar [10] = type I/O Port, range 32, base 0x1040, size 64, enabled > bar [14] = type I/O Port, range 32, base 0x1000, size 64, enabled > > and: > > pcib7@pci0:6:0:0: class=0x060400 card=0x00000000 chip=0x10801b21 rev=0x04 hdr=0x01 > vendor = 'ASMedia Technology Inc.' > device = 'ASM1083/1085 PCIe to PCI Bridge' > class = bridge > subclass = PCI-PCI > > The chips on the card are: > > ASMedia asm1083 b0bk4911b3 1543 (?) > SystemBase SB16C1058PCI 1624 > > It only detects four (or six?) serials... Are perhaps 2 of them being consumed by sio? > > 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. Please do post the complete output of exactly: pciconf -lB -- Rod Grimes rgrimes@freebsd.org