diff options
author | philip <philip@FreeBSD.org> | 2009-05-07 18:03:47 +0000 |
---|---|---|
committer | philip <philip@FreeBSD.org> | 2009-05-07 18:03:47 +0000 |
commit | d85fb9ad18707f82e31f135ee3af2705d759f41c (patch) | |
tree | 717391a80c2e29eb59ab45b6c8de67120a685d97 | |
parent | 2f086e8725406aa7ec9199de2e4dead1244672a6 (diff) | |
download | FreeBSD-src-d85fb9ad18707f82e31f135ee3af2705d759f41c.zip FreeBSD-src-d85fb9ad18707f82e31f135ee3af2705d759f41c.tar.gz |
Add PCI IDs for the Broadcom 5825 incarnation.
Submitted by: Brian A. Seklecki <bseklecki -at- collaborativefusion.com>
MFC after: 1 day
-rw-r--r-- | sys/dev/ubsec/ubsec.c | 7 | ||||
-rw-r--r-- | sys/dev/ubsec/ubsecreg.h | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/sys/dev/ubsec/ubsec.c b/sys/dev/ubsec/ubsec.c index f0e5399..3fb9df2 100644 --- a/sys/dev/ubsec/ubsec.c +++ b/sys/dev/ubsec/ubsec.c @@ -220,7 +220,8 @@ ubsec_probe(device_t dev) pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5820 || pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5821 || pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5822 || - pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5823 + pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5823 || + pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5825 )) return (BUS_PROBE_DEFAULT); return (ENXIO); @@ -240,6 +241,7 @@ ubsec_partname(struct ubsec_softc *sc) case PCI_PRODUCT_BROADCOM_5821: return "Broadcom 5821"; case PCI_PRODUCT_BROADCOM_5822: return "Broadcom 5822"; case PCI_PRODUCT_BROADCOM_5823: return "Broadcom 5823"; + case PCI_PRODUCT_BROADCOM_5825: return "Broadcom 5825"; } return "Broadcom unknown-part"; case PCI_VENDOR_BLUESTEEL: @@ -301,7 +303,8 @@ ubsec_attach(device_t dev) if ((pci_get_vendor(dev) == PCI_VENDOR_BROADCOM && (pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5821 || pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5822 || - pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5823)) || + pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5823 || + pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5825)) || (pci_get_vendor(dev) == PCI_VENDOR_SUN && (pci_get_device(dev) == PCI_PRODUCT_SUN_SCA1K || pci_get_device(dev) == PCI_PRODUCT_SUN_5821))) { diff --git a/sys/dev/ubsec/ubsecreg.h b/sys/dev/ubsec/ubsecreg.h index 2ba1f93..f78dc45 100644 --- a/sys/dev/ubsec/ubsecreg.h +++ b/sys/dev/ubsec/ubsecreg.h @@ -62,6 +62,7 @@ #define PCI_PRODUCT_BROADCOM_5821 0x5821 /* 5821 */ #define PCI_PRODUCT_BROADCOM_5822 0x5822 /* 5822 */ #define PCI_PRODUCT_BROADCOM_5823 0x5823 /* 5823 */ +#define PCI_PRODUCT_BROADCOM_5825 0x5825 /* 5825 */ /* Sun Microsystems */ #define PCI_PRODUCT_SUN_5821 0x5454 /* Crypto 5821 */ |