iir_ctrl.c (111745) | iir_ctrl.c (111815) |
---|---|
1/* $FreeBSD: head/sys/dev/iir/iir_ctrl.c 111745 2003-03-02 16:44:46Z phk $ */ | 1/* $FreeBSD: head/sys/dev/iir/iir_ctrl.c 111815 2003-03-03 12:15:54Z phk $ */ |
2/* 3 * Copyright (c) 2000-01 Intel Corporation 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: 9 * 1. Redistributions of source code must retain the above copyright --- 54 unchanged lines hidden (view full) --- 64static d_write_t iir_write; 65static d_read_t iir_read; 66static d_ioctl_t iir_ioctl; 67 68#define CDEV_MAJOR IIR_CDEV_MAJOR 69 70/* Normally, this is a static structure. But we need it in pci/iir_pci.c */ 71static struct cdevsw iir_cdevsw = { | 2/* 3 * Copyright (c) 2000-01 Intel Corporation 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: 9 * 1. Redistributions of source code must retain the above copyright --- 54 unchanged lines hidden (view full) --- 64static d_write_t iir_write; 65static d_read_t iir_read; 66static d_ioctl_t iir_ioctl; 67 68#define CDEV_MAJOR IIR_CDEV_MAJOR 69 70/* Normally, this is a static structure. But we need it in pci/iir_pci.c */ 71static struct cdevsw iir_cdevsw = { |
72 /* open */ iir_open, 73 /* close */ iir_close, 74 /* read */ iir_read, 75 /* write */ iir_write, 76 /* ioctl */ iir_ioctl, 77 /* poll */ nopoll, 78 /* mmap */ nommap, 79 /* strategy */ nostrategy, 80 /* name */ "iir", 81 /* maj */ CDEV_MAJOR, 82 /* dump */ nodump, 83 /* psize */ nopsize, 84 /* flags */ 0, 85 /* kqfilter */ nokqfilter | 72 .d_open = iir_open, 73 .d_close = iir_close, 74 .d_read = iir_read, 75 .d_write = iir_write, 76 .d_ioctl = iir_ioctl, 77 .d_name = "iir", 78 .d_maj = CDEV_MAJOR, |
86}; 87 88#ifndef SDEV_PER_HBA 89static int sdev_made = 0; 90#endif 91extern int gdt_cnt; 92extern char ostype[]; 93extern char osrelease[]; --- 264 unchanged lines hidden --- | 79}; 80 81#ifndef SDEV_PER_HBA 82static int sdev_made = 0; 83#endif 84extern int gdt_cnt; 85extern char ostype[]; 86extern char osrelease[]; --- 264 unchanged lines hidden --- |