11.4Sjdolecek/*	$NetBSD: umass_scsipi.h,v 1.4 2019/02/10 19:23:55 jdolecek Exp $	*/
21.1Saugustss
31.1Saugustss/*
41.1Saugustss * Copyright (c) 2001 The NetBSD Foundation, Inc.
51.1Saugustss * All rights reserved.
61.1Saugustss *
71.1Saugustss * This code is derived from software contributed to The NetBSD Foundation
81.1Saugustss * by Lennart Augustsson (lennart@augustsson.net) at
91.1Saugustss * Carlstedt Research & Technology.
101.1Saugustss *
111.1Saugustss * Redistribution and use in source and binary forms, with or without
121.1Saugustss * modification, are permitted provided that the following conditions
131.1Saugustss * are met:
141.1Saugustss * 1. Redistributions of source code must retain the above copyright
151.1Saugustss *    notice, this list of conditions and the following disclaimer.
161.1Saugustss * 2. Redistributions in binary form must reproduce the above copyright
171.1Saugustss *    notice, this list of conditions and the following disclaimer in the
181.1Saugustss *    documentation and/or other materials provided with the distribution.
191.1Saugustss *
201.1Saugustss * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
211.1Saugustss * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
221.1Saugustss * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
231.1Saugustss * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
241.1Saugustss * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
251.1Saugustss * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
261.1Saugustss * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
271.1Saugustss * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
281.1Saugustss * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
291.1Saugustss * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
301.1Saugustss * POSSIBILITY OF SUCH DAMAGE.
311.1Saugustss */
321.1Saugustss
331.3Sskrllint umass_scsi_attach(struct umass_softc *);
341.4Sjdolecekvoid umass_scsi_detach(struct umass_softc *);
351.4Sjdolecek
361.3Sskrllint umass_atapi_attach(struct umass_softc *);
371.4Sjdolecekvoid umass_atapi_detach(struct umass_softc *);
38