summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
authorjake <jake@FreeBSD.org>2000-05-26 02:09:24 +0000
committerjake <jake@FreeBSD.org>2000-05-26 02:09:24 +0000
commit961b97d43458f3c57241940cabebb3bedf7e4c00 (patch)
tree6014972d9b90b4e3a8b20dbea641a88cf6355c13 /sys/alpha
parent06b64672180d9b04ae6d35db819c854df3c3c684 (diff)
downloadFreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.zip
FreeBSD-src-961b97d43458f3c57241940cabebb3bedf7e4c00.tar.gz
Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen. Requested by: msmith and others
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/alpha/busdma_machdep.c10
-rw-r--r--sys/alpha/alpha/interrupt.c4
-rw-r--r--sys/alpha/include/pmap.h8
-rw-r--r--sys/alpha/tc/espvar.h4
4 files changed, 13 insertions, 13 deletions
diff --git a/sys/alpha/alpha/busdma_machdep.c b/sys/alpha/alpha/busdma_machdep.c
index f480322..d01433b 100644
--- a/sys/alpha/alpha/busdma_machdep.c
+++ b/sys/alpha/alpha/busdma_machdep.c
@@ -62,12 +62,12 @@ struct bounce_page {
bus_addr_t busaddr; /* Physical address */
vm_offset_t datavaddr; /* kva of client data */
bus_size_t datacount; /* client data count */
- STAILQ_ENTRY(struct bounce_page) links;
+ STAILQ_ENTRY(bounce_page) links;
};
int busdma_swi_pending;
-static STAILQ_HEAD(bp_list, struct bounce_page) bounce_page_list;
+static STAILQ_HEAD(bp_list, bounce_page) bounce_page_list;
static int free_bpages;
static int reserved_bpages;
static int active_bpages;
@@ -85,11 +85,11 @@ struct bus_dmamap {
bus_dmamap_callback_t *callback;
void *callback_arg;
void *sgmaphandle; /* handle into sgmap */
- STAILQ_ENTRY(struct bus_dmamap) links;
+ STAILQ_ENTRY(bus_dmamap) links;
};
-static STAILQ_HEAD(, struct bus_dmamap) bounce_map_waitinglist;
-static STAILQ_HEAD(, struct bus_dmamap) bounce_map_callbacklist;
+static STAILQ_HEAD(, bus_dmamap) bounce_map_waitinglist;
+static STAILQ_HEAD(, bus_dmamap) bounce_map_callbacklist;
static struct bus_dmamap nobounce_dmamap;
static int alloc_bounce_pages(bus_dma_tag_t dmat, u_int numpages);
diff --git a/sys/alpha/alpha/interrupt.c b/sys/alpha/alpha/interrupt.c
index 120d3be..db6f542 100644
--- a/sys/alpha/alpha/interrupt.c
+++ b/sys/alpha/alpha/interrupt.c
@@ -293,10 +293,10 @@ badaddr_read(addr, size, rptr)
#define HASHVEC(vector) ((vector) % 31)
-LIST_HEAD(alpha_intr_list, struct alpha_intr);
+LIST_HEAD(alpha_intr_list, alpha_intr);
struct alpha_intr {
- LIST_ENTRY(struct alpha_intr) list; /* chain handlers in this hash bucket */
+ LIST_ENTRY(alpha_intr) list; /* chain handlers in this hash bucket */
int vector; /* vector to match */
driver_intr_t *intr; /* handler function */
void *arg; /* argument to handler */
diff --git a/sys/alpha/include/pmap.h b/sys/alpha/include/pmap.h
index 4b65301..134c9a2 100644
--- a/sys/alpha/include/pmap.h
+++ b/sys/alpha/include/pmap.h
@@ -162,7 +162,7 @@ struct pv_entry;
struct md_page {
int pv_list_count;
int pv_flags;
- TAILQ_HEAD(, struct pv_entry) pv_list;
+ TAILQ_HEAD(,pv_entry) pv_list;
};
#define PV_TABLE_MOD 0x01 /* modified */
@@ -171,7 +171,7 @@ struct md_page {
struct pmap {
pt_entry_t *pm_lev1; /* KVA of lev0map */
vm_object_t pm_pteobj; /* Container for pte's */
- TAILQ_HEAD(, struct pv_entry) pm_pvlist;/* list of mappings in pmap */
+ TAILQ_HEAD(,pv_entry) pm_pvlist; /* list of mappings in pmap */
int pm_count; /* reference count */
int pm_flags; /* pmap flags */
int pm_active; /* active flag */
@@ -199,8 +199,8 @@ extern pmap_t kernel_pmap;
typedef struct pv_entry {
pmap_t pv_pmap; /* pmap where mapping lies */
vm_offset_t pv_va; /* virtual address for mapping */
- TAILQ_ENTRY(struct pv_entry) pv_list;
- TAILQ_ENTRY(struct pv_entry) pv_plist;
+ TAILQ_ENTRY(pv_entry) pv_list;
+ TAILQ_ENTRY(pv_entry) pv_plist;
vm_page_t pv_ptem; /* VM page for pte */
} *pv_entry_t;
diff --git a/sys/alpha/tc/espvar.h b/sys/alpha/tc/espvar.h
index edca635..1efbbc0 100644
--- a/sys/alpha/tc/espvar.h
+++ b/sys/alpha/tc/espvar.h
@@ -49,7 +49,7 @@
* occasionally xs->retries.
*/
struct ecb {
- TAILQ_ENTRY(struct ecb) chain;
+ TAILQ_ENTRY(ecb) chain;
struct scsi_xfer *xs; /* SCSI xfer ctrl block from above */
int flags; /* Status */
#define ECB_QNONE 0
@@ -173,7 +173,7 @@ struct esp_softc {
u_char sc_espfflags;
/* Lists of command blocks */
- TAILQ_HEAD(ecb_list, struct ecb) free_list,
+ TAILQ_HEAD(ecb_list, ecb) free_list,
ready_list,
nexus_list;
OpenPOWER on IntegriCloud