From aed994fea9b2ad635c85d29b2fe182f326cf04f1 Mon Sep 17 00:00:00 2001 From: sthen Date: Sat, 23 Mar 2024 10:38:02 +0000 Subject: [PATCH] Recognise Meinberg PCI510, from Maurice Janssen --- share/man/man4/mbg.4 | 6 ++++-- sys/dev/pci/mbg.c | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/share/man/man4/mbg.4 b/share/man/man4/mbg.4 index d0d61e277b8..af73669dad6 100644 --- a/share/man/man4/mbg.4 +++ b/share/man/man4/mbg.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mbg.4,v 1.15 2023/09/25 15:39:12 deraadt Exp $ +.\" $OpenBSD: mbg.4,v 1.16 2024/03/23 10:38:02 sthen Exp $ .\" .\" Copyright (c) 2006 Marc Balmer .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: September 25 2023 $ +.Dd $Mdocdate: March 23 2024 $ .Dt MBG 4 .Os .Sh NAME @@ -44,6 +44,8 @@ Currently, the following cards are supported by 5V DCF77 time signal station receiver card .It PCI509 5V DCF77 time signal station receiver card +.It PCI510 +3.3V/5V DCF77 time signal station receiver card .It PCI511 3.3V/5V DCF77 time signal station receiver card .It PEX511 diff --git a/sys/dev/pci/mbg.c b/sys/dev/pci/mbg.c index bb26f8ee81e..b525cc9eff4 100644 --- a/sys/dev/pci/mbg.c +++ b/sys/dev/pci/mbg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mbg.c,v 1.35 2023/09/25 15:38:46 deraadt Exp $ */ +/* $OpenBSD: mbg.c,v 1.36 2024/03/23 10:38:02 sthen Exp $ */ /* * Copyright (c) 2006, 2007 Marc Balmer @@ -159,6 +159,7 @@ const struct pci_matchid mbg_devices[] = { { PCI_VENDOR_MEINBERG, PCI_PRODUCT_MEINBERG_GPS170PCI }, { PCI_VENDOR_MEINBERG, PCI_PRODUCT_MEINBERG_PCI32 }, { PCI_VENDOR_MEINBERG, PCI_PRODUCT_MEINBERG_PCI509 }, + { PCI_VENDOR_MEINBERG, PCI_PRODUCT_MEINBERG_PCI510 }, { PCI_VENDOR_MEINBERG, PCI_PRODUCT_MEINBERG_PCI511 }, { PCI_VENDOR_MEINBERG, PCI_PRODUCT_MEINBERG_PEX511 }, { PCI_VENDOR_MEINBERG, PCI_PRODUCT_MEINBERG_PZF180PEX } @@ -241,6 +242,7 @@ mbg_attach(struct device *parent, struct device *self, void *aux) sc->sc_read = mbg_read_amcc_s5920; sensor_task_register(sc, mbg_task, 10); break; + case PCI_PRODUCT_MEINBERG_PCI510: case PCI_PRODUCT_MEINBERG_PCI511: case PCI_PRODUCT_MEINBERG_PEX511: sc->sc_read = mbg_read_asic; -- 2.20.1