1// Copyright 2017 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#include <ddk/device.h>
6#include <ddk/driver.h>
7#include <ddk/binding.h>
8
9#include <zircon/types.h>
10
11extern zx_status_t tapctl_bind(void* ctx, zx_device_t* device);
12
13static zx_driver_ops_t tapctl_driver_ops = {
14    .version = DRIVER_OPS_VERSION,
15    .bind = tapctl_bind,
16};
17
18ZIRCON_DRIVER_BEGIN(tapctl, tapctl_driver_ops, "zircon", "0.1", 1)
19    BI_MATCH_IF(EQ, BIND_PROTOCOL, ZX_PROTOCOL_MISC_PARENT),
20ZIRCON_DRIVER_END(tapctl)
21