diff options
| author | Adrian Chadd <adrian@FreeBSD.org> | 2013-05-08 20:46:54 +0000 |
|---|---|---|
| committer | Adrian Chadd <adrian@FreeBSD.org> | 2013-05-08 20:46:54 +0000 |
| commit | a48a9355ef875dfdcf5759a4fb401b4d3b83a36c (patch) | |
| tree | f46e6a9e51654bb8eb5453d71ae3f0af8f087b23 /sys/dev/etherswitch/etherswitch_if.m | |
| parent | b96e78e02cf491d1ec1976b239bff22600bb655c (diff) | |
Notes
Diffstat (limited to 'sys/dev/etherswitch/etherswitch_if.m')
| -rw-r--r-- | sys/dev/etherswitch/etherswitch_if.m | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sys/dev/etherswitch/etherswitch_if.m b/sys/dev/etherswitch/etherswitch_if.m index 20970d76c0e7..a2aea02ae376 100644 --- a/sys/dev/etherswitch/etherswitch_if.m +++ b/sys/dev/etherswitch/etherswitch_if.m @@ -23,6 +23,18 @@ CODE { null_etherswitch_unlock(device_t dev) { } + + static int + null_etherswitch_getconf(device_t dev, etherswitch_conf_t *conf) + { + return (0); + } + + static int + null_etherswitch_setconf(device_t dev, etherswitch_conf_t *conf) + { + return (0); + } }; # @@ -113,3 +125,19 @@ METHOD int setvgroup { device_t dev; etherswitch_vlangroup_t *vg; } + +# +# Get the Switch configuration +# +METHOD int getconf { + device_t dev; + etherswitch_conf_t *conf; +} DEFAULT null_etherswitch_getconf; + +# +# Set the Switch configuration +# +METHOD int setconf { + device_t dev; + etherswitch_conf_t *conf; +} DEFAULT null_etherswitch_setconf; |
