Deleted Added
full compact
ctl_frontend.h (269296) ctl_frontend.h (275493)
1/*-
2 * Copyright (c) 2003 Silicon Graphics International Corp.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 14 unchanged lines hidden (view full) ---

23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
27 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 * POSSIBILITY OF SUCH DAMAGES.
29 *
30 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_frontend.h#2 $
1/*-
2 * Copyright (c) 2003 Silicon Graphics International Corp.
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 14 unchanged lines hidden (view full) ---

23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
26 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
27 * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 * POSSIBILITY OF SUCH DAMAGES.
29 *
30 * $Id: //depot/users/kenm/FreeBSD-test2/sys/cam/ctl/ctl_frontend.h#2 $
31 * $FreeBSD: stable/10/sys/cam/ctl/ctl_frontend.h 269296 2014-07-30 07:18:32Z mav $
31 * $FreeBSD: stable/10/sys/cam/ctl/ctl_frontend.h 275493 2014-12-05 07:23:25Z mav $
32 */
33/*
34 * CAM Target Layer front end registration hooks
35 *
36 * Author: Ken Merry <ken@FreeBSD.org>
37 */
38
39#ifndef _CTL_FRONTEND_H_

--- 233 unchanged lines hidden (view full) ---

273 * Find the frontend by its name. Returns NULL if not found.
274 */
275struct ctl_frontend * ctl_frontend_find(char *frontend_name);
276
277/*
278 * This may block until resources are allocated. Called at FETD module load
279 * time. Returns 0 for success, non-zero for failure.
280 */
32 */
33/*
34 * CAM Target Layer front end registration hooks
35 *
36 * Author: Ken Merry <ken@FreeBSD.org>
37 */
38
39#ifndef _CTL_FRONTEND_H_

--- 233 unchanged lines hidden (view full) ---

273 * Find the frontend by its name. Returns NULL if not found.
274 */
275struct ctl_frontend * ctl_frontend_find(char *frontend_name);
276
277/*
278 * This may block until resources are allocated. Called at FETD module load
279 * time. Returns 0 for success, non-zero for failure.
280 */
281int ctl_port_register(struct ctl_port *port, int master_SC);
281int ctl_port_register(struct ctl_port *port);
282
283/*
284 * Called at FETD module unload time.
285 * Returns 0 for success, non-zero for failure.
286 */
287int ctl_port_deregister(struct ctl_port *port);
288
289/*

--- 49 unchanged lines hidden ---
282
283/*
284 * Called at FETD module unload time.
285 * Returns 0 for success, non-zero for failure.
286 */
287int ctl_port_deregister(struct ctl_port *port);
288
289/*

--- 49 unchanged lines hidden ---