diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2006-04-20 13:02:27 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2006-04-20 13:02:27 +0000 |
commit | eb549b0e1f45f4cafbace882a8f7691ac85e2a05 (patch) | |
tree | 0a977c4f7de2756c2a0b508dd6e5a71265b63d52 /sys/dev/ic/amivar.h | |
parent | 8fd989091275b0c1a35acd86ce5cf14a76cf33c1 (diff) |
get rid of the ccb list typedef. while here switch to TAILQ_HEAD instead
of TAILQ_TAIL when pulling ccbs off the free list since it does less
"interesting" things with pointers. changes prompted by lint bitching.
Diffstat (limited to 'sys/dev/ic/amivar.h')
-rw-r--r-- | sys/dev/ic/amivar.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/amivar.h b/sys/dev/ic/amivar.h index 065d92d9f2b..d48b49efb68 100644 --- a/sys/dev/ic/amivar.h +++ b/sys/dev/ic/amivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: amivar.h,v 1.46 2006/04/20 04:39:11 dlg Exp $ */ +/* $OpenBSD: amivar.h,v 1.47 2006/04/20 13:02:26 dlg Exp $ */ /* * Copyright (c) 2001 Michael Shalayeff @@ -71,7 +71,7 @@ struct ami_ccb { TAILQ_ENTRY(ami_ccb) ccb_link; }; -typedef TAILQ_HEAD(ami_queue_head, ami_ccb) ami_queue_head; +TAILQ_HEAD(ami_ccb_list, ami_ccb); struct ami_rawsoftc { struct scsi_link sc_link; @@ -111,7 +111,7 @@ struct ami_softc { paddr_t sc_mbox_pa; struct ami_ccb sc_ccbs[AMI_MAXCMDS]; - ami_queue_head sc_ccb_freeq, sc_ccb_preq, sc_ccb_runq; + struct ami_ccb_list sc_ccb_freeq, sc_ccb_preq, sc_ccb_runq; struct ami_mem *sc_ccbmem_am; |