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 = { |
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, |
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 --- |