diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-09-25 15:40:55 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-09-25 15:40:55 +0000 |
commit | 619288226b2712f74765e6d3386ba50457128048 (patch) | |
tree | 232bc30d78cdbb2f6a37112ea977d1384cf73093 /sys/dev/pci/hifn7751.c | |
parent | 51fd738f3e2cbd72d4d53d7f7d620b3ac805ea1a (diff) |
hifn 7956 support
Diffstat (limited to 'sys/dev/pci/hifn7751.c')
-rw-r--r-- | sys/dev/pci/hifn7751.c | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/sys/dev/pci/hifn7751.c b/sys/dev/pci/hifn7751.c index 450fca4d330..9fc43d4bd8a 100644 --- a/sys/dev/pci/hifn7751.c +++ b/sys/dev/pci/hifn7751.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hifn7751.c,v 1.142 2003/09/24 05:23:29 jason Exp $ */ +/* $OpenBSD: hifn7751.c,v 1.143 2003/09/25 15:40:54 jason Exp $ */ /* * Invertex AEON / Hifn 7751 driver @@ -128,6 +128,7 @@ const struct pci_matchid hifn_devices[] = { { PCI_VENDOR_HIFN, PCI_PRODUCT_HIFN_7811 }, { PCI_VENDOR_HIFN, PCI_PRODUCT_HIFN_7951 }, { PCI_VENDOR_HIFN, PCI_PRODUCT_HIFN_7955 }, + { PCI_VENDOR_HIFN, PCI_PRODUCT_HIFN_7956 }, { PCI_VENDOR_NETSEC, PCI_PRODUCT_NETSEC_7751 }, }; @@ -158,7 +159,9 @@ hifn_attach(struct device *parent, struct device *self, void *aux) sc->sc_pci_tag = pa->pa_tag; if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_HIFN && - PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_HIFN_7951) + (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_HIFN_7951 || + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_HIFN_7955 || + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_HIFN_7956)) sc->sc_flags = HIFN_HAS_RNG | HIFN_HAS_PUBLIC; if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_HIFN && @@ -275,7 +278,8 @@ hifn_attach(struct device *parent, struct device *self, void *aux) } if (PCI_VENDOR(pa->pa_id) == PCI_VENDOR_HIFN && - PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_HIFN_7955) { + (PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_HIFN_7955 || + PCI_PRODUCT(pa->pa_id) == PCI_PRODUCT_HIFN_7956)) { sc->sc_maxses = 125; sc->sc_ramsize = 32 * 1024; } else @@ -578,6 +582,11 @@ struct pci2id { { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 } }, { + PCI_VENDOR_HIFN, + PCI_PRODUCT_HIFN_7956, + { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, 0x00 } + }, { PCI_VENDOR_NETSEC, PCI_PRODUCT_NETSEC_7751, { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, |