linux/include/scsi/scsi_transport.h

/* SPDX-License-Identifier: GPL-2.0-only */
/* 
 *  Transport specific attributes.
 *
 *  Copyright (c) 2003 Silicon Graphics, Inc.  All rights reserved.
 */
#ifndef SCSI_TRANSPORT_H
#define SCSI_TRANSPORT_H

#include <linux/transport_class.h>
#include <linux/blkdev.h>
#include <linux/bug.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_device.h>

struct scsi_transport_template {};

#define transport_class_to_shost(tc)


/* Private area maintenance. The driver requested allocations come
 * directly after the transport class allocations (if any).  The idea
 * is that you *must* call these only once.  The code assumes that the
 * initial values are the ones the transport specific code requires */
static inline void
scsi_transport_reserve_target(struct scsi_transport_template * t, int space)
{}
static inline void
scsi_transport_reserve_device(struct scsi_transport_template * t, int space)
{}
static inline void *
scsi_transport_target_data(struct scsi_target *starget)
{}
static inline void *
scsi_transport_device_data(struct scsi_device *sdev)
{}

void scsi_init_limits(struct Scsi_Host *shost, struct queue_limits *lim);

#endif /* SCSI_TRANSPORT_H */