*
* Copyright (C) 2008 Christian Franke
*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * You should have received a copy of the GNU General Public License
- * (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
- *
+ * SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef DEV_TUNNELLED_H
#define DEV_TUNNELLED_H
-#define DEV_TUNNELLED_H_CVSID "$Id: dev_tunnelled.h 4431 2017-08-08 19:38:15Z chrfranke $"
+#define DEV_TUNNELLED_H_CVSID "$Id: dev_tunnelled.h 4848 2018-12-05 18:30:46Z chrfranke $"
#include "dev_interface.h"
m_tunnel_dev(tunnel_dev)
{ }
+ // For nvme_device
+ explicit tunnelled_device(tunnel_device_type * tunnel_dev, unsigned nsid)
+ : smart_device(smart_device::never_called),
+ BaseDev(nsid),
+ tunnelled_device_base(tunnel_dev),
+ m_tunnel_dev(tunnel_dev)
+ { }
+
public:
virtual void release(const smart_device * dev)
{