1250386Sadrian/*- 2250386Sadrian * Copyright (c) 2013 Luiz Otavio O Souza. 3250386Sadrian * Copyright (c) 2011-2012 Stefan Bethke. 4250386Sadrian * Copyright (c) 2012 Adrian Chadd. 5250386Sadrian * All rights reserved. 6250386Sadrian * 7250386Sadrian * Redistribution and use in source and binary forms, with or without 8250386Sadrian * modification, are permitted provided that the following conditions 9250386Sadrian * are met: 10250386Sadrian * 1. Redistributions of source code must retain the above copyright 11250386Sadrian * notice, this list of conditions and the following disclaimer. 12250386Sadrian * 2. Redistributions in binary form must reproduce the above copyright 13250386Sadrian * notice, this list of conditions and the following disclaimer in the 14250386Sadrian * documentation and/or other materials provided with the distribution. 15250386Sadrian * 16250386Sadrian * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 17250386Sadrian * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 18250386Sadrian * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 19250386Sadrian * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 20250386Sadrian * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21250386Sadrian * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 22250386Sadrian * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 23250386Sadrian * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 24250386Sadrian * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 25250386Sadrian * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 26250386Sadrian * SUCH DAMAGE. 27250386Sadrian * 28250386Sadrian * $FreeBSD: releng/11.0/sys/dev/etherswitch/ip17x/ip17x_reg.h 250386 2013-05-08 20:58:41Z adrian $ 29250386Sadrian */ 30250386Sadrian 31250386Sadrian#ifndef __IP17X_REG_H__ 32250386Sadrian#define __IP17X_REG_H__ 33250386Sadrian 34250386Sadrian/* IP175X */ 35250386Sadrian#define IP17X_OUI 0x9c3 36250386Sadrian#define IP17X_IP175A 0x05 37250386Sadrian#define IP17X_IP175C 0x18 38250386Sadrian 39250386Sadrian#define IP17X_MAX_VLANS 16 40250386Sadrian 41250386Sadrian#define IP175X_CPU_PORT 5 42250386Sadrian#define IP175X_NUM_PORTS 6 43250386Sadrian 44250386Sadrian#endif /* __IP17X_REG_H__ */ 45