summaryrefslogtreecommitdiffstats
path: root/sys/mips/cavium/octe/ethernet-common.h
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2011-03-16 22:51:34 +0000
committerjmallett <jmallett@FreeBSD.org>2011-03-16 22:51:34 +0000
commit3929b790ffa5d9dc6f772c0b8aa93519bfd2d61a (patch)
tree2265742959d9b5fce206372d69b59f42b58143b6 /sys/mips/cavium/octe/ethernet-common.h
parentf98b43bbe5e48585724551290991349b7097e273 (diff)
downloadFreeBSD-src-3929b790ffa5d9dc6f772c0b8aa93519bfd2d61a.zip
FreeBSD-src-3929b790ffa5d9dc6f772c0b8aa93519bfd2d61a.tar.gz
o) Set MAC addresses starting at the MAC base for all management ports, not
just the MR-730. o) Start MAC addresses for the non-management ports after the management ports. Submitted by: Bhanu Prakash (with modifications)
Diffstat (limited to 'sys/mips/cavium/octe/ethernet-common.h')
-rw-r--r--sys/mips/cavium/octe/ethernet-common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/mips/cavium/octe/ethernet-common.h b/sys/mips/cavium/octe/ethernet-common.h
index f9d4dc3..cf23f5b 100644
--- a/sys/mips/cavium/octe/ethernet-common.h
+++ b/sys/mips/cavium/octe/ethernet-common.h
@@ -51,3 +51,5 @@ int cvm_oct_sgmii_init(struct ifnet *ifp);
int cvm_oct_spi_init(struct ifnet *ifp);
void cvm_oct_spi_uninit(struct ifnet *ifp);
int cvm_oct_xaui_init(struct ifnet *ifp);
+
+extern unsigned int cvm_oct_mac_addr_offset;
OpenPOWER on IntegriCloud