From owner-freebsd-current@freebsd.org Fri Jan 18 22:48:56 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 A3B421485B61 for ; Fri, 18 Jan 2019 22:48:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3B9698002E for ; Fri, 18 Jan 2019 22:48:56 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qt1-x82c.google.com with SMTP id i7so17006300qtj.10 for ; Fri, 18 Jan 2019 14:48:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=boiSkoNttK4fU61o6TjRmQKa6eU0vWlpmx4s7NfVP8Y=; b=kgxPZ5RVwikBlDXadARNS33J1D0G4a7oTtLcAi6ILpw/69hGmjwLaTefTlabKwRlxJ PjTJEVl/VtecMZZlsuhD4QeTwIBstzNYBtMnGY0Gk9xaHhjzdzDPy90pwZBFTLgyt1iC S+Oprgit+pmfSp70uepsqvw2U/kL0UJ/kJl/2WewU+8raBxn0UMSPqXCWbQ24PA0m7+Z 7wgczfS9C8nlv+w6OKSU5OeGm328Dki934pGG7R8r5ktunmA/iJaHy2rJT7BIthx6lfs mRZn/MeMJmzy9BzavqBlxRK2d3O+/c40wyPaKrXSDNF6Vi9B7SgInAmPh5MoQAIu5l6K AmFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=boiSkoNttK4fU61o6TjRmQKa6eU0vWlpmx4s7NfVP8Y=; b=sBgWJivajYcQnXymXDYcz4ypXHp5okuIXTJiV1H3Eovk4/SpwwOrfUFUENelmcXU/5 NIU8THDVkMd2kt3k1Iv7LWSMLb/+5OJOMmffxkPLQ7AxsrZ2UhJ5tWBG15/7/vWFwgQT 7CSL0gH8J0gRAErcEIXR/q7RMLy009kF2/6v02SeGAr+IY5jFVFSVooWCUb7Gv94pUvN 92g47UGoPe25xuHEiFUjnko6KhAahu9bZkjuaFkimTPXKTjfP8fhKiUINRWVQYYp/hYd NZIPL0QOYiKQ/mgviGtwrsy8hzg6p6mEU3Fn69dB/WlYmbNDYc/dPBPNuKsw9zIodUg4 s1mw== X-Gm-Message-State: AJcUukeU2WuiW5UzV6JAXHJ2GKgS3TGOn7NhclknreYfibLXg2GaG9F9 LwJlyn+hbyqArm7OiNrXW7gs33h8nzAbGGp5Sr7d/oih X-Google-Smtp-Source: ALg8bN4UR3mCuleNMa0vm5jPch4vkuRnpjd9p+xOpP62Q9GJ89p3P8aH/DSWP5Q9s/b5N0TVWNfTqVWo5nj8LMBqAYk= X-Received: by 2002:ac8:548a:: with SMTP id h10mr18181786qtq.15.1547851735263; Fri, 18 Jan 2019 14:48:55 -0800 (PST) MIME-Version: 1.0 References: <20190118215210.GC54920@home.opsec.eu> In-Reply-To: <20190118215210.GC54920@home.opsec.eu> From: Warner Losh Date: Fri, 18 Jan 2019 15:48:44 -0700 Message-ID: Subject: Re: Multiport serial card Exsys EX-44388, where are the devices ? To: Kurt Jaeger Cc: FreeBSD Current X-Rspamd-Queue-Id: 3B9698002E X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.98 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.98)[-0.979,0]; REPLY(-4.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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: Fri, 18 Jan 2019 22:48:56 -0000 On Fri, Jan 18, 2019 at 2:53 PM Kurt Jaeger wrote: > Hi! > > Trying to get a 8-port serial PCIe card into operation (Exsys EX-44388). > After reboot, dmesg shows: > > uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 on acpi0 > > and /dev/ has cuau2* devices. It's unclear, which of the 8 ports > is cuau2 (I'll test that later, I promise 8-), but where are the > other ports ? > > I've tried to add > > hint.uart.3.at="isa" > hint.uart.3.port="0x3e0" > hint.uart.3.irq="10" > hint.uart.4.at="isa" > hint.uart.4.port="0x3d8" > hint.uart.4.irq="10" > > to /boot/devices.hint and rebooted, but there are no additional ports > found... > > I've read > > https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serial.html > > and the manpage sio(4). It says to build a kernel with > > options COM_MULTIPORT > device sio > > which I tried (r343121) and it fails: > > /usr/src/sys/dev/sio/sio.c:361:6: error: no member named 't_init_in' in > 'struct tty' > tp->t_init_in.c_ispeed = tp->t_init_in.c_ospeed = > ~~ ^ > > So, is sio(4) out of fashion ? What is suggested to get my other 7 serial > ports ? > 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? Warner