diff options
-rw-r--r-- | usr/src/pkgdefs/SUNWbge/postinstall | 4 | ||||
-rw-r--r-- | usr/src/uts/common/io/bge/bge_chip2.c | 20 | ||||
-rw-r--r-- | usr/src/uts/common/io/bge/bge_hw.h | 3 | ||||
-rw-r--r-- | usr/src/uts/common/io/bge/bge_main2.c | 4 |
4 files changed, 22 insertions, 9 deletions
diff --git a/usr/src/pkgdefs/SUNWbge/postinstall b/usr/src/pkgdefs/SUNWbge/postinstall index 64e27c57e6..da88cb7b2d 100644 --- a/usr/src/pkgdefs/SUNWbge/postinstall +++ b/usr/src/pkgdefs/SUNWbge/postinstall @@ -23,8 +23,6 @@ # Copyright 2008 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # -# ident "%Z%%M% %I% %E% SMI" -# # Function: check_add_drv() # @@ -150,6 +148,7 @@ then "pci14e4,1653" "pci14e4,1654" "pci14e4,1659" + "pciex14e4,165a" "pci14e4,165d" "pci14e4,165e" "pci14e4,1668" @@ -186,6 +185,7 @@ else if [ ${ARCH} = "sparc" ] "pci14e4,16a8" "pci14e4,1649" "pciex14e4,1659" + "pciex14e4,165a" "pci14e4,1668" "pci14e4,1669" "pci14e4,1677" diff --git a/usr/src/uts/common/io/bge/bge_chip2.c b/usr/src/uts/common/io/bge/bge_chip2.c index f111be90fe..f36e0ce50a 100644 --- a/usr/src/uts/common/io/bge/bge_chip2.c +++ b/usr/src/uts/common/io/bge/bge_chip2.c @@ -24,8 +24,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include "bge_impl.h" #define PIO_ADDR(bgep, offset) ((void *)((caddr_t)(bgep)->io_regs+(offset))) @@ -1791,6 +1789,7 @@ bge_nvmem_id(bge_t *bgep) case DEVICE_ID_5755: case DEVICE_ID_5755M: case DEVICE_ID_5721: + case DEVICE_ID_5722: case DEVICE_ID_5714C: case DEVICE_ID_5714S: case DEVICE_ID_5715C: @@ -2130,6 +2129,23 @@ bge_chip_id_init(bge_t *bgep) dev_ok = B_TRUE; break; + case DEVICE_ID_5722: + cidp->chip_label = 5722; + cidp->pci_type = BGE_PCI_E; + cidp->mbuf_lo_water_rdma = RDMA_MBUF_LOWAT_5705; + cidp->mbuf_lo_water_rmac = MAC_RX_MBUF_LOWAT_5705; + cidp->mbuf_hi_water = MBUF_HIWAT_5705; + cidp->mbuf_base = bge_mbuf_pool_base_5705; + cidp->mbuf_length = bge_mbuf_pool_len_5705; + cidp->recv_slots = BGE_RECV_SLOTS_5705; + cidp->bge_mlcr_default |= MLCR_MISC_PINS_OUTPUT_ENABLE_1; + cidp->rx_rings = BGE_RECV_RINGS_MAX_5705; + cidp->tx_rings = BGE_SEND_RINGS_MAX_5705; + cidp->flags |= CHIP_FLAG_NO_JUMBO; + cidp->statistic_type = BGE_STAT_REG; + dev_ok = B_TRUE; + break; + case DEVICE_ID_5751: case DEVICE_ID_5751M: cidp->chip_label = 5751; diff --git a/usr/src/uts/common/io/bge/bge_hw.h b/usr/src/uts/common/io/bge/bge_hw.h index 243e147e1b..31a64ff690 100644 --- a/usr/src/uts/common/io/bge/bge_hw.h +++ b/usr/src/uts/common/io/bge/bge_hw.h @@ -27,8 +27,6 @@ #ifndef _BGE_HW_H #define _BGE_HW_H -#pragma ident "%Z%%M% %I% %E% SMI" - #ifdef __cplusplus extern "C" { #endif @@ -84,6 +82,7 @@ extern "C" { #define DEVICE_ID_5755 0x167b #define DEVICE_ID_5755M 0x1673 #define DEVICE_ID_5721 0x1659 +#define DEVICE_ID_5722 0x165a #define DEVICE_ID_5714C 0x1668 #define DEVICE_ID_5714S 0x1669 #define DEVICE_ID_5715C 0x1678 diff --git a/usr/src/uts/common/io/bge/bge_main2.c b/usr/src/uts/common/io/bge/bge_main2.c index a91cf67807..fd8d4a4012 100644 --- a/usr/src/uts/common/io/bge/bge_main2.c +++ b/usr/src/uts/common/io/bge/bge_main2.c @@ -24,8 +24,6 @@ * Use is subject to license terms. */ -#pragma ident "%Z%%M% %I% %E% SMI" - #include "bge_impl.h" #include <sys/sdt.h> #include <sys/mac.h> @@ -34,7 +32,7 @@ * This is the string displayed by modinfo, etc. * Make sure you keep the version ID up to date! */ -static char bge_ident[] = "Broadcom Gb Ethernet v0.67"; +static char bge_ident[] = "Broadcom Gb Ethernet v0.68"; /* * Property names |