1/* $FreeBSD: head/sys/dev/isp/isp_freebsd.h 219098 2011-02-28 15:58:30Z mjacob $ */ |
2/*- 3 * Qlogic ISP SCSI Host Adapter FreeBSD Wrapper Definitions 4 * 5 * Copyright (c) 1997-2008 by Matthew Jacob 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 --- 310 unchanged lines hidden (view full) --- 320#define ISP_FC_SCRLEN 0x1000 321 322#define ISP_MEMZERO(a, b) memset(a, 0, b) 323#define ISP_MEMCPY memcpy 324#define ISP_SNPRINTF snprintf 325#define ISP_DELAY DELAY 326#define ISP_SLEEP(isp, x) DELAY(x) 327 |
328#define ISP_MIN imin 329 |
330#ifndef DIAGNOSTIC 331#define ISP_INLINE __inline 332#else 333#define ISP_INLINE 334#endif 335 336#define NANOTIME_T struct timespec 337#define GET_NANOTIME nanotime --- 317 unchanged lines hidden --- |