-/* $OpenBSD: cn30xxsmi.c,v 1.9 2021/02/04 16:16:10 visa Exp $ */
+/* $OpenBSD: cn30xxsmi.c,v 1.10 2021/03/09 14:13:33 visa Exp $ */
/*
* Copyright (c) 2007 Internet Initiative Japan, Inc.
static const int cam0100_phys[] = {
0x02, 0x03, 0x22
};
+ /* PHY addresses for Check Point UTM-1 EDGE N */
+ static const int cpn100_phys[] = {
+ 0x0c, 0x11, 0x0d
+ };
/* PHY addresses for Netgear ProSecure UTM25 */
static const int nutm25_phys[] = {
0x00, 0x04, 0x09
return ENOENT;
switch (octeon_board) {
+ case BOARD_CHECKPOINT_N100:
+ if (port >= nitems(cpn100_phys))
+ return ENOENT;
+ reg = cpn100_phys[port];
+ break;
case BOARD_NETGEAR_UTM25:
if (port >= nitems(nutm25_phys))
return ENOENT;
-/* $OpenBSD: octeonvar.h,v 1.51 2021/02/04 16:16:11 visa Exp $ */
+/* $OpenBSD: octeonvar.h,v 1.52 2021/03/09 14:13:33 visa Exp $ */
/* $NetBSD: maltavar.h,v 1.3 2002/03/18 10:10:16 simonb Exp $ */
/*-
*/
enum octeon_board {
BOARD_UNKNOWN,
+ BOARD_CHECKPOINT_N100,
BOARD_CN3010_EVB_HS5,
BOARD_DLINK_DSR_500,
BOARD_NETGEAR_UTM25,
-/* $OpenBSD: machdep.c,v 1.129 2021/02/04 16:16:11 visa Exp $ */
+/* $OpenBSD: machdep.c,v 1.130 2021/03/09 14:13:33 visa Exp $ */
/*
* Copyright (c) 2009, 2010 Miodrag Vallat.
return BOARD_UBIQUITI_E220;
case 20010:
return BOARD_UBIQUITI_E1000;
+ case 20011:
+ return BOARD_CHECKPOINT_N100;
case 20012:
return BOARD_RHINOLABS_UTM8;
case 20015: