ida.c (124540) | ida.c (126080) |
---|---|
1/*- 2 * Copyright (c) 1999,2000 Jonathan Lemon 3 * All rights reserved. 4 * 5 # Derived from the original IDA Compaq RAID driver, which is 6 * Copyright (c) 1996, 1997, 1998, 1999 7 * Mark Dawson and David James. All rights reserved. 8 * --- 15 unchanged lines hidden (view full) --- 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 */ 30 31#include <sys/cdefs.h> | 1/*- 2 * Copyright (c) 1999,2000 Jonathan Lemon 3 * All rights reserved. 4 * 5 # Derived from the original IDA Compaq RAID driver, which is 6 * Copyright (c) 1996, 1997, 1998, 1999 7 * Mark Dawson and David James. All rights reserved. 8 * --- 15 unchanged lines hidden (view full) --- 24 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 25 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 26 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 27 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28 * SUCH DAMAGE. 29 */ 30 31#include <sys/cdefs.h> |
32__FBSDID("$FreeBSD: head/sys/dev/ida/ida.c 124540 2004-01-15 06:37:52Z mdodd $"); | 32__FBSDID("$FreeBSD: head/sys/dev/ida/ida.c 126080 2004-02-21 21:10:55Z phk $"); |
33 34/* 35 * Generic driver for Compaq SMART RAID adapters. 36 */ 37 38#include <sys/param.h> 39#include <sys/kernel.h> 40#include <sys/systm.h> --- 20 unchanged lines hidden (view full) --- 61static void ida_alloc_qcb(struct ida_softc *ida); 62static void ida_construct_qcb(struct ida_softc *ida); 63static void ida_start(struct ida_softc *ida); 64static void ida_done(struct ida_softc *ida, struct ida_qcb *qcb); 65static int ida_wait(struct ida_softc *ida, struct ida_qcb *qcb); 66 67static d_ioctl_t ida_ioctl; 68static struct cdevsw ida_cdevsw = { | 33 34/* 35 * Generic driver for Compaq SMART RAID adapters. 36 */ 37 38#include <sys/param.h> 39#include <sys/kernel.h> 40#include <sys/systm.h> --- 20 unchanged lines hidden (view full) --- 61static void ida_alloc_qcb(struct ida_softc *ida); 62static void ida_construct_qcb(struct ida_softc *ida); 63static void ida_start(struct ida_softc *ida); 64static void ida_done(struct ida_softc *ida, struct ida_qcb *qcb); 65static int ida_wait(struct ida_softc *ida, struct ida_qcb *qcb); 66 67static d_ioctl_t ida_ioctl; 68static struct cdevsw ida_cdevsw = { |
69 .d_version = D_VERSION, 70 .d_flags = D_NEEDGIANT, |
|
69 .d_ioctl = ida_ioctl, 70 .d_name = "ida", 71}; 72 73void 74ida_free(struct ida_softc *ida) 75{ 76 int i; --- 591 unchanged lines hidden --- | 71 .d_ioctl = ida_ioctl, 72 .d_name = "ida", 73}; 74 75void 76ida_free(struct ida_softc *ida) 77{ 78 int i; --- 591 unchanged lines hidden --- |