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