From 6bb1cbf9a631e3b9083693cd884762850825a25d Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Mon, 30 Oct 2000 18:20:19 +0000 Subject: Match the Macronix 98727/98732 chips. --- sys/dev/pci/if_dc_pci.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'sys/dev/pci') diff --git a/sys/dev/pci/if_dc_pci.c b/sys/dev/pci/if_dc_pci.c index 2c03a8ff590..a26414a6654 100644 --- a/sys/dev/pci/if_dc_pci.c +++ b/sys/dev/pci/if_dc_pci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_dc_pci.c,v 1.9 2000/10/27 18:20:02 aaron Exp $ */ +/* $OpenBSD: if_dc_pci.c,v 1.10 2000/10/30 18:20:18 aaron Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -91,6 +91,7 @@ struct dc_type dc_devs[] = { { PCI_VENDOR_ASIX, PCI_PRODUCT_ASIX_AX88140A }, { PCI_VENDOR_MACRONIX, PCI_PRODUCT_MACRONIX_MX98713 }, { PCI_VENDOR_MACRONIX, PCI_PRODUCT_MACRONIX_MX98715 }, + { PCI_VENDOR_MACRONIX, PCI_PRODUCT_MACRONIX_MX98727 }, { PCI_VENDOR_COMPEX, PCI_PRODUCT_COMPEX_98713 }, { PCI_VENDOR_LITEON, PCI_PRODUCT_LITEON_PNIC }, { PCI_VENDOR_LITEON, PCI_PRODUCT_LITEON_PNICII }, @@ -319,6 +320,12 @@ void dc_pci_attach(parent, self, aux) sc->dc_flags |= DC_TX_POLL|DC_TX_USE_TX_INTR; sc->dc_flags |= DC_REDUCED_MII_POLL|DC_21143_NWAY; } + if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_MACRONIX_MX98727) { + found = 1; + sc->dc_type = DC_TYPE_987x5; + sc->dc_flags |= DC_TX_POLL|DC_TX_USE_TX_INTR; + sc->dc_flags |= DC_REDUCED_MII_POLL|DC_21143_NWAY; + } break; case PCI_VENDOR_COMPEX: if (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_COMPEX_98713) { -- cgit v1.2.3