ifq: Factor out if_classq from altq_classq and use it for default ifq.
[dragonfly.git] / sys / dev / disk / ncv / ncr53c500hwtab.h
blob7fb7c012ca226f4538d1cfd0fdf8b38411eaabff
1 /* $FreeBSD: src/sys/dev/ncv/ncr53c500hwtab.h,v 1.1.2.2 2001/07/22 00:21:39 non Exp $ */
2 /* $DragonFly: src/sys/dev/disk/ncv/ncr53c500hwtab.h,v 1.2 2003/06/17 04:28:28 dillon Exp $ */
3 /* $NecBSD: ncr53c500hwtab.h,v 1.2 1998/11/26 01:59:13 honda Exp $ */
4 /* $NetBSD$ */
6 /*
7 * [NetBSD for NEC PC-98 series]
8 * Copyright (c) 1996, 1997, 1998
9 * NetBSD/pc98 porting staff. All rights reserved.
10 * Copyright (c) 1996, 1997, 1998
11 * Naofumi HONDA. All rights reserved.
13 * Redistribution and use in source and binary forms, with or without
14 * modification, are permitted provided that the following conditions
15 * are met:
16 * 1. Redistributions of source code must retain the above copyright
17 * notice, this list of conditions and the following disclaimer.
18 * 2. Redistributions in binary form must reproduce the above copyright
19 * notice, this list of conditions and the following disclaimer in the
20 * documentation and/or other materials provided with the distribution.
21 * 3. The name of the author may not be used to endorse or promote products
22 * derived from this software without specific prior written permission.
24 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
25 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
26 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
27 * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
28 * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
29 * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
30 * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
31 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
32 * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
33 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
34 * POSSIBILITY OF SUCH DAMAGE.
37 static struct ncv_hw ncv_template = {
38 0, /* CFG1 img */
39 C2_FE | C2_SCSI2, /* CFG2 img */
40 0, /* CFG3 img */
41 C4_ANE, /* CFG4 img */
42 0x80, /* CFG5 img */
44 CLK_40M_F, /* clock */
45 200 / 4, /* max period */
46 15, /* max offset */
48 0x10, /* CFG3_FSCSI bit */
49 0x08, /* CFG3_FCLK bit */