iir.h (141077) | iir.h (143063) |
---|---|
1/* $FreeBSD: head/sys/dev/iir/iir.h 141077 2005-01-31 01:26:22Z scottl $ */ | 1/* $FreeBSD: head/sys/dev/iir/iir.h 143063 2005-03-02 21:33:29Z joerg $ */ |
2/*- 3 * Copyright (c) 2000-04 ICP vortex GmbH 4 * Copyright (c) 2002-04 Intel Corporation 5 * Copyright (c) 2003-04 Adaptec Inc. 6 * All Rights Reserved 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 32 unchanged lines hidden (view full) --- 42 * FreeBSD.ORG; Great O/S to work on and for. 43 * 44 * $Id: iir.h 1.6 2004/03/30 10:19:44 achim Exp $" 45 */ 46 47#ifndef _IIR_H 48#define _IIR_H 49 | 2/*- 3 * Copyright (c) 2000-04 ICP vortex GmbH 4 * Copyright (c) 2002-04 Intel Corporation 5 * Copyright (c) 2003-04 Adaptec Inc. 6 * All Rights Reserved 7 * 8 * Redistribution and use in source and binary forms, with or without 9 * modification, are permitted provided that the following conditions --- 32 unchanged lines hidden (view full) --- 42 * FreeBSD.ORG; Great O/S to work on and for. 43 * 44 * $Id: iir.h 1.6 2004/03/30 10:19:44 achim Exp $" 45 */ 46 47#ifndef _IIR_H 48#define _IIR_H 49 |
50#ifndef _SYS_CDEFS_H_ 51#error this file needs sys/cdefs.h as a prerequisite 52#endif 53 |
|
50#define IIR_DRIVER_VERSION 1 51#define IIR_DRIVER_SUBVERSION 5 52 53/* OEM IDs */ 54#define OEM_ID_ICP 0x941c 55#define OEM_ID_INTEL 0x8000 56 57#define GDT_VENDOR_ID 0x1119 --- 636 unchanged lines hidden (view full) --- 694}; 695 696 697int iir_init(struct gdt_softc *); 698void iir_free(struct gdt_softc *); 699void iir_attach(struct gdt_softc *); 700void iir_intr(void *arg); 701 | 54#define IIR_DRIVER_VERSION 1 55#define IIR_DRIVER_SUBVERSION 5 56 57/* OEM IDs */ 58#define OEM_ID_ICP 0x941c 59#define OEM_ID_INTEL 0x8000 60 61#define GDT_VENDOR_ID 0x1119 --- 636 unchanged lines hidden (view full) --- 698}; 699 700 701int iir_init(struct gdt_softc *); 702void iir_free(struct gdt_softc *); 703void iir_attach(struct gdt_softc *); 704void iir_intr(void *arg); 705 |
702#if defined( __GNUC__) || defined(__INTEL_COMPILER) | 706#ifdef __CC_SUPPORTS___INLINE__ |
703/* These all require correctly aligned buffers */ 704static __inline__ void gdt_enc16(u_int8_t *, u_int16_t); 705static __inline__ void gdt_enc32(u_int8_t *, u_int32_t); 706static __inline__ u_int16_t gdt_dec16(u_int8_t *); 707static __inline__ u_int32_t gdt_dec32(u_int8_t *); 708 709static __inline__ void 710gdt_enc16(addr, value) --- 44 unchanged lines hidden --- | 707/* These all require correctly aligned buffers */ 708static __inline__ void gdt_enc16(u_int8_t *, u_int16_t); 709static __inline__ void gdt_enc32(u_int8_t *, u_int32_t); 710static __inline__ u_int16_t gdt_dec16(u_int8_t *); 711static __inline__ u_int32_t gdt_dec32(u_int8_t *); 712 713static __inline__ void 714gdt_enc16(addr, value) --- 44 unchanged lines hidden --- |