From nobody Thu Jun 4 00:46:02 2026 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gW5V02Hfnz4yvm5 for ; Thu, 04 Jun 2026 00:46:16 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-qk1-f172.google.com (mail-qk1-f172.google.com [209.85.222.172]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gW5Ty6sJtz3tPM for ; Thu, 04 Jun 2026 00:46:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=freebsd.org (policy=none); spf=pass (mx1.freebsd.org: domain of adrian.chadd@gmail.com designates 209.85.222.172 as permitted sender) smtp.mailfrom=adrian.chadd@gmail.com; arc=pass ("google.com:s=arc-20240605:i=1") Received: by mail-qk1-f172.google.com with SMTP id af79cd13be357-91563382bcfso25338685a.0 for ; Wed, 03 Jun 2026 17:46:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1780533973; cv=none; d=google.com; s=arc-20240605; b=RD6nfpoUsDj7eykuWUmANd0xgcK3fvepY/v+dbzxpogl+6uzei42smrxNJduF+no6V fqAladq4oZ5tYeHprGVc4R3j2853FhLcVn0bOsWGxB5guYcqmv57pmNruyNk8QTCpMhB 5Ea0fIDKUkbze+4LC435Yd+eWbPDd9McA8LD7Vi9anp7BxelJNe6x1e7908Yn5CR2ghL YUU+d/MC6oUQhDvLD+zWpVFM9/LxbSx9jECmP57goIRXj3JqnNdhgziDEDlVOqdxPrgt DaqIYEtlYmigKPzF5GLpJHiBAAUSchgO9tPypXAjIpb5hip395a0cEOrvkwpC+8dhARx FUwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:mime-version; bh=C8+9y5EjnoYppyy796WnwohAyy3xSKRtFOmhUqcyhM4=; fh=LY/0QVmH8waXG4EOzND8U6kfTUk+4/pTnd2vni0gjJs=; b=TOWHh85ckGvoWTRgnq4esv/xPVU5huLUTNxBV9bwfIcRIKM0Dojfa/OAYhT6DaUhWb SP6WdHw2r1AsZf822ujD7aEtkAIMNu/rIOS3x8yFKNX4bXez7VOaY0Xz1zqr8TSCO24h 8J0GNZe11AiLDBvWfYbRJge3ciVK4Pcz8EAPQsLNuOuJjjQtEnGPb8MIEMQXWMdTEgwu CuMqr0xswfTSCNAbhv09twRpX5oLalRJE046cMSFJERHRIsm6X+Qfp42tPDv87tUk2Qz mdkt/0XGuO+WHlG9y5pcnzEZuoFnu0zAhMY3kTrBTsoZX4R/f8cqWmeBUszscLS+6wKc vARw==; darn=freebsd.org ARC-Authentication-Results: i=1; mx.google.com; arc=none X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780533973; x=1781138773; h=to:subject:message-id:date:from:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C8+9y5EjnoYppyy796WnwohAyy3xSKRtFOmhUqcyhM4=; b=W9gbJHS8WxboMN/oY4gNnIh22b2Yer3CYG3SCaiQutfrzQKpTVTtLN/9UVOyOTT4Lv 5L8eaB4CRQUsOnb0C3MdF/roRtvP0/tcgJv9CZmSFxk9l8pYolPXa4RZGwBkbE4o3oN6 DbhE2A9ss4EdQv5+RO82hLl07ibtCmb4tAXQJB7+NnoaeAtMbOmLrzCSfmTDwsJGYW1F yIkan8kdRXcSn5C9y4rXSjMD6BspsnO8w/a0WY1TXuoaSjhgA8FeGfxjwBSIA60fDZrO h/P0thOEekeybfRjQSul/2iwIXU69h3d8HSWlzT2jQTwIRrT71ZHOVNwr4WdsOR4AkO/ 3xiA== X-Gm-Message-State: AOJu0YxSR7J5xvkbWQxqWm++5llp9BFAJfP6h9cbNk6gB2ht25JUxUWT RDVc+882FuzeiAzxGPpCpUVd+u6VVPFFS0ew+8U7fQbY7NC6ZtpeFLlic1VCKnf9z8znflyd5qD QOwAvf/itNtnCnQlBvhQzr6FNLZ3MQ7g1YQNh X-Gm-Gg: Acq92OHRXVXn5AexJIPlAV0jnlluHT2uibxxu92s6Uc3bt0M3n+yEUw8wzwSNfuZcT4 6lch/IAdNNh3e32PQs4g57JcsKoAytf4EhQrUzEUrQUnOtJ8/3fPhVHYOffKl+IWlpqfiSnoOD7 7qGAbDSkZm4/NJsQ26kUu4btD1EAgu0U65PQ4OCqUBocyexeB4eYIsfaEFk9DP84Vc3jA1M+veq OO2rkOj7+BWziNdmcdeIUFBpFRskOhiC8zTB7nP5UUPC5HncWfqfhDZCh1dl/xWSrg9gxRz/eSE Q6IDXEs6gpIWLVCWrSLXK6hrxcNdp7KLvbtKLD27tdNpw9Fu4FkNX93Nmuw9iU9pTB6LEw9H/xz GHHaaI0WhrObdV03zKGjTTSUS0+Iz3y6DS/h2xGgVUp4jWlFABkwtEd2O6JiKPP8mXdtm X-Received: by 2002:a05:620a:4613:b0:915:4ca3:61bd with SMTP id af79cd13be357-9158a83f992mr1024461885a.59.1780533973407; Wed, 03 Jun 2026 17:46:13 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 From: Adrian Chadd Date: Wed, 3 Jun 2026 17:46:02 -0700 X-Gm-Features: AVHnY4LQIZ6T_YZeAq8-V3iDuMjvrCWEB4bwUg2RzcoJO40TfvJZrOg7103PdBA Message-ID: Subject: intel MDIO busses, marvell ethernet switches, ATT-V150 / M270 CPE boxes To: freebsd-current , FreeBSD Net Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-1.97 / 15.00]; ARC_ALLOW(-1.00)[google.com:s=arc-20240605:i=1]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.90)[-0.897]; NEURAL_SPAM_MEDIUM(0.82)[0.822]; FORGED_SENDER(0.30)[adrian@freebsd.org,adrianchadd@gmail.com]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17]; DMARC_POLICY_SOFTFAIL(0.10)[freebsd.org : SPF not aligned (relaxed), No valid DKIM,none]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; MISSING_XM_UA(0.00)[]; RCVD_COUNT_ONE(0.00)[1]; FREEMAIL_ENVFROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.222.172:from]; RCVD_TLS_LAST(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; TAGGED_FROM(0.00)[]; FROM_NEQ_ENVFROM(0.00)[adrian@freebsd.org,adrianchadd@gmail.com]; TO_DN_ALL(0.00)[]; R_DKIM_NA(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[209.85.222.172:from]; RCPT_COUNT_TWO(0.00)[2] X-Spamd-Bar: - X-Rspamd-Queue-Id: 4gW5Ty6sJtz3tPM hi! A couple years ago I stumbled across threads where people wanted to bring up FreeBSD on the AT&T ATT-V150 CPE and the Watchguard M270 firewall boxes but couldn't figure out why the ethernet switch wasn't visible. Well it wasn't visible because the intel driver didn't expose an MDIO bus by default. Linux does, but a bunch of weird stuff is needed to get it all to work together right. Last year I put together a diff stack to fix the Marvell E6xxx switch driver a bit and add MDIO support to the ix driver. It's all in -HEAD now (as of like May 2026? or so), so if you want to play with the etherswitch framework on an x86 box you can now (mostly) just get one of the above boxes and whack -HEAD on it. There's hints to boot in /boot/loader.conf but by and large it will just work after that. I've written wiki pages about the devices which cover the weird configs required to get serial consoles to work, configuring boot devices and other bits and pieces needed (as well as the switch configuration hints!) : * https://wiki.freebsd.org/NetworkFirewalls/AttV150 * https://wiki.freebsd.org/NetworkFirewalls/WatchguardFireboxM270 Now before you ask, I don't yet have any plans to backport it to -15 as I'd like the MDIO changes to bake in -HEAD first and to find out any weird side effects from having it available. But if you DID want to play with it, please do consider grabbing -HEAD and messing around with it a bunch. I have one of each in my little lab network here and they're neat devices to explore the little switching framework we have in FreeBSD. Thanks! -adrian