Deleted Added
sdiff udiff text old ( 93818 ) new ( 95350 )
full compact
1/*-
2 * Copyright (c) 2000 Michael Smith
3 * Copyright (c) 2001 Scott Long
4 * Copyright (c) 2000 BSDi
5 * Copyright (c) 2001 Adaptec, Inc.
6 * All rights reserved.
7 *
8 * Redistribution and use in source and binary forms, with or without

--- 12 unchanged lines hidden (view full) ---

21 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
22 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
23 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
24 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * $FreeBSD: head/sys/dev/aac/aacvar.h 93818 2002-04-04 21:03:38Z jhb $
30 */
31
32/*
33 * Driver Parameter Definitions
34 */
35
36/*
37 * The firmware interface allows for a 16-bit s/g list length. We limit

--- 293 unchanged lines hidden (view full) ---

331 struct aac_queue_entry *aac_qentries[AAC_QUEUE_COUNT];
332
333 struct aac_qstat aac_qstat[AACQ_COUNT]; /* queue statistics */
334
335 /* connected containters */
336 struct aac_container_tq aac_container_tqh;
337 aac_lock_t aac_container_lock;
338
339 /* delayed activity infrastructure */
340#if __FreeBSD_version >= 500005
341 struct task aac_task_complete; /* deferred-completion
342 * task */
343#endif
344 struct intr_config_hook aac_ich;
345
346 /* management interface */

--- 21 unchanged lines hidden (view full) ---

368extern int aac_attach(struct aac_softc *sc);
369extern int aac_detach(device_t dev);
370extern int aac_shutdown(device_t dev);
371extern int aac_suspend(device_t dev);
372extern int aac_resume(device_t dev);
373extern void aac_intr(void *arg);
374extern void aac_submit_bio(struct bio *bp);
375extern void aac_biodone(struct bio *bp);
376extern int aac_dump_enqueue(struct aac_disk *ad, u_int32_t lba,
377 void *data, int nblks);
378extern void aac_dump_complete(struct aac_softc *sc);
379
380/*
381 * Debugging levels:
382 * 0 - quiet, only emit warnings
383 * 1 - noisy, emit major function points and things done
384 * 2 - extremely noisy, emit trace items in loops, etc.
385 */
386#ifdef AAC_DEBUG

--- 8 unchanged lines hidden (view full) ---

395
396extern void aac_print_queues(struct aac_softc *sc);
397extern void aac_panic(struct aac_softc *sc, char *reason);
398extern void aac_print_fib(struct aac_softc *sc, struct aac_fib *fib,
399 char *caller);
400extern void aac_print_aif(struct aac_softc *sc,
401 struct aac_aif_command *aif);
402
403# define AAC_PRINT_FIB(sc, fib) aac_print_fib(sc, fib, __func__)
404
405#else
406# define debug(level, fmt, args...)
407# define debug_called(level)
408
409# define aac_print_queues(sc)
410# define aac_panic(sc, reason)
411

--- 162 unchanged lines hidden ---