From owner-freebsd-stable@freebsd.org Sat Feb 29 20:57:33 2020 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 6D4CD240993 for ; Sat, 29 Feb 2020 20:57:33 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-qv1-xf2c.google.com (mail-qv1-xf2c.google.com [IPv6:2607:f8b0:4864:20::f2c]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48VJd772kBz49K9 for ; Sat, 29 Feb 2020 20:57:31 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-qv1-xf2c.google.com with SMTP id c19so881822qvv.4 for ; Sat, 29 Feb 2020 12:57:31 -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=dhz+C8FK3G+pfpOnnEaCx2RnMwzlBQgPTFYhCAQ3ftA=; b=HEYPSS30w9h4hNRAC/q98JQfMjmI1fOm89LNlWTTqCGKA7YJEWKZFnqwn6V41HH+vx LcWeaD1+cXo2hKS3bMh0CIBgQq2PiJI+9ccuIngd/cjYmcJtu7VsMWR6/umV8T+4H5KM cGkDUQTik7+0Z1D1NyokjHRiQH5/gFOg6p1gX3tGVRa03OLAyQAmEtAqWF3MEpiZSB/x dz+H9JE/z77gCcecWWt/MnlfFVBZSoyb5OI0l8tlYfMspx9DuVHnY8vtqmtmyQL47Ddj Vcy3/wXZLh3GifalEUPl7Msn3WB4j5imIPaSnYjrJzw3Fl4waRaKqY6ocH+UyPru15zz fqZg== 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=dhz+C8FK3G+pfpOnnEaCx2RnMwzlBQgPTFYhCAQ3ftA=; b=TwBFZ4FD7FDBFi8a66t+ppR//Ct8m1KavzA8SPWq+etLUpy/IWIzIrVtbgo5U13J0e t3vsdZVjqTMYXFfP9hmoQC9KVybJrGwdaTQzlGcpY3sliaaB3W25qZ5PRCQ6m5pZVxJk FuaB1WwEU+On5SpuJdHBChyS/HD5Xnkf6jdgvKk/8ZbYj/oFULK0TUsoWR/8Ov3h+Rfj TZpev7opFBsAJSpV6Nosbq8zthLof9MV49vYFfj6TtfT/m7SUK4YVGUzonmrJpygw/C8 kPp2shLyBwz47PMGIZslTZyb7DztmbGQTqXx5Vo4tVBFcgLJU1OhkXvWPcu+Ti0zSuqH /QqQ== X-Gm-Message-State: APjAAAVIatS9Y1LINErb2QZ0iOIyMuZ25S+x3J4ofFidga/xx7vW2UWW GDt68Ln/Ae2v1PnmSyvXLSYOsCbfvaGJFCngBEmToFuTMGI= X-Google-Smtp-Source: APXvYqxhK9LhGOP8RSqMQzw83pvflRuJXEwAtKcupFBiIB6vTRYzkLowcJvPmqPlAHKqqmhV6Q5HdS5gzJu9DxlkLVg= X-Received: by 2002:a05:6214:2a8:: with SMTP id m8mr7261284qvv.87.1583009850310; Sat, 29 Feb 2020 12:57:30 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Warner Losh Date: Sat, 29 Feb 2020 13:57:19 -0700 Message-ID: Subject: Re: Any sync-serial driver users (ce/cp/ctau/cx)? To: Ed Maste Cc: freebsd-stable stable X-Rspamd-Queue-Id: 48VJd772kBz49K9 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=pass header.d=bsdimp-com.20150623.gappssmtp.com header.s=20150623 header.b=HEYPSS30; dmarc=none; spf=none (mx1.freebsd.org: domain of wlosh@bsdimp.com has no SPF policy when checking 2607:f8b0:4864:20::f2c) smtp.mailfrom=wlosh@bsdimp.com X-Spamd-Result: default: False [-1.23 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; R_DKIM_ALLOW(-0.20)[bsdimp-com.20150623.gappssmtp.com:s=20150623]; FROM_HAS_DN(0.00)[]; IP_SCORE(-1.23)[ip: (-2.54), ipnet: 2607:f8b0::/32(-1.88), asn: 15169(-1.67), country: US(-0.05)]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-stable@freebsd.org]; DMARC_NA(0.00)[bsdimp.com]; URI_COUNT_ODD(1.00)[3]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[bsdimp-com.20150623.gappssmtp.com:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[c.2.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.2.0.0.4.6.8.4.0.b.8.f.7.0.6.2.list.dnswl.org : 127.0.5.0]; R_SPF_NA(0.00)[]; FORGED_SENDER(0.30)[imp@bsdimp.com,wlosh@bsdimp.com]; SUBJECT_ENDS_QUESTION(1.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FROM_NEQ_ENVFROM(0.00)[imp@bsdimp.com,wlosh@bsdimp.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Feb 2020 20:57:33 -0000 On Sat, Feb 29, 2020, 1:18 PM Ed Maste wrote: > Is anyone using sync serial drivers ce, cp, ctau, or cx? NYCBUG's > dmesg didn't turn up any entries. I suspect these are obsolete and > ought to be removed. > These date from the 2000s. They were important for point to point links until maybe 2000 and largely obsolete by 2010 or so as internet connection technologies shifted away from sync T1/E1 lines to other technologies... These drivers replaced earlier ISA versions of the cards, see sys/i386/isa/cronyx.c for driver that also supported MSDOS! through at least stable/3. the cx driver dates from this time. The others date from later imports (2004-2006) by Roman Kurakin and are for the PCI generation of cards. Looking at the drivers themselves, we see that they haven't been updated, except for API changes, since maybe 2005 or 2006. The code was made MPSAFE at the time. However, several transitions in technology have happened in the network and tty layers and it's not clear this code works well with them. All the Giant code for network protocols and such was removed in 2007. And several other major changes since then. The ce driver has FreeBSD_version ifdefs from 3 to 7. None of the other drivers have such support. All of these drivers have mechanically obfuscated C code to implement their core functions (at least I hope it was done mechanically). Roman was the maintainer through 2006 or 2007. I think it was then handed off Murray Stokely around that time, then I think I got some number of cards around 2010 from him. We've been looking for a maintainer for these since then. There have been no takers. I'm unsure where these cards wound up in my collection, to be honest, but if there's serious interest I can look but I'm not hopeful I still have them as I've been purging all the stuff older than 10-15 years from my collection recently... Given the ~15 years of nothing but API changes to these cards, and the lack of testing of those changes, and the large technology transitions in net and tty layers of the system, I'd honestly be surprised if these drivers still work. Warner _______________________________________________ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >