1/*- 2 * Copyright (c) 1999,2000 Michael Smith 3 * Copyright (c) 2000 BSDi 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: --- 39 unchanged lines hidden (view full) --- 48 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 49 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 50 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 51 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 52 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 53 * SUCH DAMAGE. 54 * 55 * |
56 * $FreeBSD: head/sys/dev/amr/amr.c 111815 2003-03-03 12:15:54Z phk $ |
57 */ 58 59/* 60 * Driver for the AMI MegaRaid family of controllers. 61 */ 62 63#include <sys/param.h> 64#include <sys/systm.h> --- 24 unchanged lines hidden (view full) --- 89 90#define AMR_CDEV_MAJOR 132 91 92static d_open_t amr_open; 93static d_close_t amr_close; 94static d_ioctl_t amr_ioctl; 95 96static struct cdevsw amr_cdevsw = { |
97 .d_open = amr_open, 98 .d_close = amr_close, 99 .d_ioctl = amr_ioctl, 100 .d_name = "amr", 101 .d_maj = AMR_CDEV_MAJOR, |
102}; 103 104/* 105 * Initialisation, bus interface. 106 */ 107static void amr_startup(void *arg); 108 109/* --- 1701 unchanged lines hidden --- |