aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/etherswitch
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2013-10-16 03:19:05 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2013-10-16 03:19:05 +0000
commit657b84792c7c9cd76ee03841a975080308217b4e (patch)
tree8c43f982712a35a64f98eda7bf547b46e3884ee2 /sys/dev/etherswitch
parentfc80af8857dc036fd92cbb74d43083a131a52ecf (diff)
Notes
Diffstat (limited to 'sys/dev/etherswitch')
-rw-r--r--sys/dev/etherswitch/arswitch/arswitchvar.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/etherswitch/arswitch/arswitchvar.h b/sys/dev/etherswitch/arswitch/arswitchvar.h
index 2db13ccdbccd..91d755aa4926 100644
--- a/sys/dev/etherswitch/arswitch/arswitchvar.h
+++ b/sys/dev/etherswitch/arswitch/arswitchvar.h
@@ -34,6 +34,7 @@ typedef enum {
AR8X16_SWITCH_AR8216,
AR8X16_SWITCH_AR8226,
AR8X16_SWITCH_AR8316,
+ AR8X16_SWITCH_AR9340,
} ar8x16_switch_type;
/*
@@ -49,7 +50,9 @@ struct arswitch_softc {
int numphys; /* PHYs we manage */
int is_rgmii; /* PHY mode is RGMII (XXX which PHY?) */
int is_gmii; /* PHY mode is GMII (XXX which PHY?) */
+ int is_mii; /* PHY mode is MII (XXX which PHY?) */
int page;
+ int is_internal_switch;
ar8x16_switch_type sc_switchtype;
char *ifname[AR8X16_NUM_PHYS];
device_t miibus[AR8X16_NUM_PHYS];