ips.c (125833) | ips.c (126080) |
---|---|
1/*- 2 * Written by: David Jeffery 3 * Copyright (c) 2002 Adaptec Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> | 1/*- 2 * Written by: David Jeffery 3 * Copyright (c) 2002 Adaptec Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 12 unchanged lines hidden (view full) --- 21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 25 * SUCH DAMAGE. 26 */ 27 28#include <sys/cdefs.h> |
29__FBSDID("$FreeBSD: head/sys/dev/ips/ips.c 125833 2004-02-14 23:11:03Z scottl $"); | 29__FBSDID("$FreeBSD: head/sys/dev/ips/ips.c 126080 2004-02-21 21:10:55Z phk $"); |
30 31#include <dev/ips/ips.h> 32#include <sys/stat.h> 33#include <sys/time.h> 34#include <machine/clock.h> 35 36static d_open_t ips_open; 37static d_close_t ips_close; 38static d_ioctl_t ips_ioctl; 39 40static struct cdevsw ips_cdevsw = { | 30 31#include <dev/ips/ips.h> 32#include <sys/stat.h> 33#include <sys/time.h> 34#include <machine/clock.h> 35 36static d_open_t ips_open; 37static d_close_t ips_close; 38static d_ioctl_t ips_ioctl; 39 40static struct cdevsw ips_cdevsw = { |
41 .d_version = D_VERSION, 42 .d_flags = D_NEEDGIANT, |
|
41 .d_open = ips_open, 42 .d_close = ips_close, 43 .d_ioctl = ips_ioctl, 44 .d_name = "ips", 45}; 46 47static const char* ips_adapter_name[] = { 48 "N/A", --- 721 unchanged lines hidden --- | 43 .d_open = ips_open, 44 .d_close = ips_close, 45 .d_ioctl = ips_ioctl, 46 .d_name = "ips", 47}; 48 49static const char* ips_adapter_name[] = { 50 "N/A", --- 721 unchanged lines hidden --- |