Deleted Added
full compact
isp_freebsd.c (104806) isp_freebsd.c (111815)
1/* $FreeBSD: head/sys/dev/isp/isp_freebsd.c 104806 2002-10-10 17:29:05Z mjacob $ */
1/* $FreeBSD: head/sys/dev/isp/isp_freebsd.c 111815 2003-03-03 12:15:54Z phk $ */
2/*
3 * Platform (FreeBSD) dependent common attachment code for Qlogic adapters.
4 *
5 * Copyright (c) 1997, 1998, 1999, 2000, 2001 by Matthew Jacob
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

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

45static void isp_poll(struct cam_sim *);
46static timeout_t isp_watchdog;
47static void isp_kthread(void *);
48static void isp_action(struct cam_sim *, union ccb *);
49
50
51#define ISP_CDEV_MAJOR 248
52static struct cdevsw isp_cdevsw = {
2/*
3 * Platform (FreeBSD) dependent common attachment code for Qlogic adapters.
4 *
5 * Copyright (c) 1997, 1998, 1999, 2000, 2001 by Matthew Jacob
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

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

45static void isp_poll(struct cam_sim *);
46static timeout_t isp_watchdog;
47static void isp_kthread(void *);
48static void isp_action(struct cam_sim *, union ccb *);
49
50
51#define ISP_CDEV_MAJOR 248
52static struct cdevsw isp_cdevsw = {
53 /* open */ nullopen,
54 /* close */ nullclose,
55 /* read */ noread,
56 /* write */ nowrite,
57 /* ioctl */ ispioctl,
58 /* poll */ nopoll,
59 /* mmap */ nommap,
60 /* strategy */ nostrategy,
61 /* name */ "isp",
62 /* maj */ ISP_CDEV_MAJOR,
63 /* dump */ nodump,
64 /* psize */ nopsize,
65 /* flags */ D_TAPE,
53 .d_open = nullopen,
54 .d_close = nullclose,
55 .d_ioctl = ispioctl,
56 .d_name = "isp",
57 .d_maj = ISP_CDEV_MAJOR,
58 .d_flags = D_TAPE,
66};
67
68static struct ispsoftc *isplist = NULL;
69
70void
71isp_attach(struct ispsoftc *isp)
72{
73 int primary, secondary;

--- 3059 unchanged lines hidden ---
59};
60
61static struct ispsoftc *isplist = NULL;
62
63void
64isp_attach(struct ispsoftc *isp)
65{
66 int primary, secondary;

--- 3059 unchanged lines hidden ---